summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2019-09-10 12:25:58 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2019-09-11 13:26:24 -0400
commitafc60fa3536c4255683946cde2c9982f06d380ff (patch)
treea6c3f315c32638fffc104d419f62accf03ee0972 /libre
parent2601041457aa287ca790e02815b45324cf82cdbd (diff)
downloadabslibre-afc60fa3536c4255683946cde2c9982f06d380ff.tar.gz
abslibre-afc60fa3536c4255683946cde2c9982f06d380ff.tar.bz2
abslibre-afc60fa3536c4255683946cde2c9982f06d380ff.zip
[kodi]: rebuild against new libfmt-v6.0.0
Diffstat (limited to 'libre')
-rw-r--r--libre/kodi/PKGBUILD96
1 files changed, 92 insertions, 4 deletions
diff --git a/libre/kodi/PKGBUILD b/libre/kodi/PKGBUILD
index 933cd2232..ce7d13fd4 100644
--- a/libre/kodi/PKGBUILD
+++ b/libre/kodi/PKGBUILD
@@ -24,10 +24,11 @@ _pkgbase=kodi-libre
pkgbase=kodi
pkgname=(
'kodi' 'kodi-bin' 'kodi-wayland' 'kodi-gbm'
+ 'kodi-eventclients' 'kodi-tools-texturepacker' 'kodi-dev'
)
pkgver=18.3
pkgrel=1
-pkgrel+=.par1
+pkgrel+=.par2
arch=('x86_64')
arch+=('i686' 'armv7h')
url="https://kodi.tv"
@@ -145,7 +146,7 @@ build() {
../"xbmc-$pkgver-$_codename"
make
make preinstall
-
+
msg2 "building kodi-wayland"
cd "$srcdir/kodi-build-wayland"
cmake "${configure_options[@]}" \
@@ -167,7 +168,7 @@ build() {
# components: kodi
package_kodi() {
- pkgdesc="A software media player and entertainment hub for digital media, without nonfree decompression engine for RAR archives and support for nonfree addons"
+ pkgdesc="A software media player and entertainment hub for digital media, without support for nonfree RAR decompression or nonfree addons"
depends=(
'desktop-file-utils' 'hicolor-icon-theme' 'mesa' 'python2-pycryptodome'
'python2-pillow' 'python2-simplejson' 'xorg-xdpyinfo'
@@ -205,7 +206,7 @@ package_kodi() {
cd "$pkgdir"
grep -lR '#!.*python' * | \
while read file; do sed -s 's/\(#!.*python\)/\12/g' -i "$file"; done
-
+
# remove x11 binaries
rm "$pkgdir/usr/lib/kodi/"{kodi-x11,kodi-xrandr}
}
@@ -260,3 +261,90 @@ package_kodi-gbm() {
cd kodi-build-gbm
install -Dm755 kodi-gbm "$pkgdir/usr/lib/kodi/kodi-gbm"
}
+
+# kodi-eventclients
+# components: kodi-eventclients-common kodi-eventclients-ps3 kodi-eventclients-wiiremote kodi-eventclients-kodi-send
+
+package_kodi-eventclients() {
+ pkgdesc="Kodi Event Clients"
+ conflicts=('kodi-eventclients')
+ optdepends=('python2: most eventclients are implemented in python2')
+
+ _components=(
+ 'kodi-eventclients-common'
+ 'kodi-eventclients-ps3'
+ 'kodi-eventclients-kodi-send'
+ )
+
+ export PATH="$srcdir/path:$PATH"
+
+ cd kodi-build-x11
+ # install eventclients
+ for _cmp in ${_components[@]}; do
+ DESTDIR="$pkgdir" /usr/bin/cmake \
+ -DCMAKE_INSTALL_COMPONENT="$_cmp" \
+ -P cmake_install.cmake
+ done
+
+ # python2 is being used
+ cd "$pkgdir"
+ grep -lR '#!.*python' * | \
+ while read file; do sed -s 's/\(#!.*python\)/\12/g' -i "$file"; done
+}
+
+# kodi-tools-texturepacker
+# components: kodi-tools-texturepacker
+
+package_kodi-tools-texturepacker() {
+ pkgdesc="Kodi Texturepacker tool"
+ depends=('libpng' 'giflib' 'libjpeg-turbo' 'lzo')
+
+ _components=(
+ 'kodi-tools-texturepacker'
+ )
+
+ cd kodi-build-x11
+ # install eventclients
+ for _cmp in ${_components[@]}; do
+ DESTDIR="$pkgdir" /usr/bin/cmake \
+ -DCMAKE_INSTALL_COMPONENT="$_cmp" \
+ -P cmake_install.cmake
+ done
+}
+
+# kodi-dev
+# components: kodi-addon-dev kodi-audio-dev kodi-eventclients-dev kodi-game-dev
+# kodi-inputstream-dev kodi-peripheral-dev kodi-pvr-dev
+# kodi-screensaver-dev kodi-visualization-dev
+
+package_kodi-dev() {
+ pkgdesc="Kodi dev files"
+ depends=('kodi')
+
+ _components=(
+ 'kodi-addon-dev'
+ 'kodi-audio-dev'
+ 'kodi-eventclients-dev'
+ 'kodi-game-dev'
+ 'kodi-inputstream-dev'
+ 'kodi-peripheral-dev'
+ 'kodi-pvr-dev'
+ 'kodi-screensaver-dev'
+ 'kodi-visualization-dev'
+ )
+
+ export PATH="$srcdir/path:$PATH"
+
+ cd kodi-build-x11
+ # install eventclients
+ for _cmp in ${_components[@]}; do
+ DESTDIR="$pkgdir" /usr/bin/cmake \
+ -DCMAKE_INSTALL_COMPONENT="$_cmp" \
+ -P cmake_install.cmake
+ done
+
+ # python2 is being used
+ cd "$pkgdir"
+ grep -lR '#!.*python' * | \
+ while read file; do sed -s 's/\(#!.*python\)/\12/g' -i "$file"; done
+}