From: marmeladema <marmeladema@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Cross compile (missing) kodi addons
Date: Tue, 16 Mar 2021 21:15:32 +0100 [thread overview]
Message-ID: <20210316201532.s_NWCtik0oAzbUiyjsC6PLahR0VPnW6VrPrVu5jttqA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29516@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --]
There is an updated pull request by marmeladema against master on the void-packages repository
https://github.com/marmeladema/void-packages kodi-platform-cross
https://github.com/void-linux/void-packages/pull/29516
Cross compile (missing) kodi addons
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/29516.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kodi-platform-cross-29516.patch --]
[-- Type: text/x-diff, Size: 2527 bytes --]
From b248f62d1d1bd631a55909cf186a315a0a8dd2a4 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Tue, 16 Mar 2021 20:09:20 +0000
Subject: [PATCH 1/2] kodi-addon-peripheral-joystick: enable cross compilation
---
srcpkgs/kodi-addon-peripheral-joystick/template | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/kodi-addon-peripheral-joystick/template b/srcpkgs/kodi-addon-peripheral-joystick/template
index de72349fcf20..fd0f6ed39e55 100644
--- a/srcpkgs/kodi-addon-peripheral-joystick/template
+++ b/srcpkgs/kodi-addon-peripheral-joystick/template
@@ -1,7 +1,7 @@
# Template file for 'kodi-addon-peripheral-joystick'
pkgname=kodi-addon-peripheral-joystick
version=1.7.1
-revision=1
+revision=2
_kodi_release="Matrix"
wrksrc="peripheral.joystick-${version}-${_kodi_release}"
build_style=cmake
@@ -13,4 +13,8 @@ license="GPL-2.0-or-later"
homepage="https://github.com/xbmc/peripheral.joystick"
distfiles="https://github.com/xbmc/peripheral.joystick/archive/${version}-${_kodi_release}.tar.gz"
checksum=4dc63c6c5bdad25881eeba800765d97c53b2583addf28e71bbcd67775452ecdb
-nocross="depends on kodi-platform"
+
+if [ -n "${CROSS_BUILD}" ]; then
+ configure_args+=" -DCMAKE_MODULE_PATH=${XBPS_CROSS_BASE}/usr/share/kodi/cmake"
+ configure_args+=" -DKODI_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/kodi"
+fi
From 752c1f86acfa6160cefb590b1597a376582ea2a5 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Tue, 16 Mar 2021 20:09:46 +0000
Subject: [PATCH 2/2] kodi-binary-addons: enable cross compilation
---
srcpkgs/kodi-binary-addons/template | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/kodi-binary-addons/template b/srcpkgs/kodi-binary-addons/template
index 9f71df7ac085..a355078dc1b7 100644
--- a/srcpkgs/kodi-binary-addons/template
+++ b/srcpkgs/kodi-binary-addons/template
@@ -1,14 +1,13 @@
# Template file for 'kodi-binary-addons'
pkgname=kodi-binary-addons
-version=18.6
-revision=2
+version=19.0
+revision=1
build_style=meta
depends="kodi-addon-pvr-zattoo kodi-addon-game-libretro
kodi-addon-peripheral-joystick kodi-addon-inputstream-rtmp
kodi-addon-inputstream-adaptive kodi-addon-pvr-hts kodi-addon-pvr-iptvsimple
- kodi-addon-vfs-rar"
+ kodi-addon-vfs-sftp kodi-addon-vfs-rar"
short_desc="Meta-package for binary kodi addons"
maintainer="Orphaned <orphan@voidlinux.org>"
-license="metapackage"
+license="BSD-2-Clause"
homepage="https://kodi.tv"
-nocross="addons can't be cross-compiled yet"
next prev parent reply other threads:[~2021-03-16 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 20:13 [PR PATCH] " marmeladema
2021-03-16 20:15 ` marmeladema [this message]
2021-03-16 20:19 ` [PR PATCH] [Updated] " marmeladema
2021-03-16 21:01 ` [PR PATCH] [Merged]: " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210316201532.s_NWCtik0oAzbUiyjsC6PLahR0VPnW6VrPrVu5jttqA@z \
--to=marmeladema@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).