summaryrefslogtreecommitdiff
path: root/libre/kodi/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-05-29 01:05:30 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-05-29 01:05:38 -0300
commite66d8984a714671458a03ad26a2e16120120cc97 (patch)
tree53beed469d1034f4a87d8b1d4c5dd8291285edad /libre/kodi/PKGBUILD
parent6f65a472f62ab92367b48d3871c0b47db0e43f9d (diff)
downloadabslibre-e66d8984a714671458a03ad26a2e16120120cc97.tar.gz
abslibre-e66d8984a714671458a03ad26a2e16120120cc97.tar.bz2
abslibre-e66d8984a714671458a03ad26a2e16120120cc97.zip
kodi-14.2-4.parabola1: triggered by (FS#45054 -> https://bugs.archlinux.org/task/45054) rebuild on gcc5 + use external ffmpeg again
Diffstat (limited to 'libre/kodi/PKGBUILD')
-rw-r--r--libre/kodi/PKGBUILD38
1 files changed, 22 insertions, 16 deletions
diff --git a/libre/kodi/PKGBUILD b/libre/kodi/PKGBUILD
index 3ce917c5e..4a680d5ea 100644
--- a/libre/kodi/PKGBUILD
+++ b/libre/kodi/PKGBUILD
@@ -1,5 +1,5 @@
# vim:set ts=2 sw=2 et:
-# $Id: PKGBUILD 131315 2015-04-13 22:40:45Z foutrelis $
+# $Id: PKGBUILD 134198 2015-05-26 20:45:06Z idevolder $
# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer (Arch): BlackIkeEagle < ike DOT devolder AT gmail DOT com >
# Contributor (Arch): Brad Fanella <bradfanella@archlinux.us>
@@ -17,30 +17,34 @@ pkgbase=kodi
pkgname=kodi
pkgver=14.2
_codename=Helix
-pkgrel=3.parabola1
+pkgrel=4.parabola1
arch=('i686' 'x86_64')
url="http://kodi.tv"
license=('GPL2')
makedepends=(
- 'afpfs-ng' 'bluez-libs' 'boost' 'cmake' 'curl' 'cwiid' 'doxygen' 'git' 'glew'
- 'gperf' 'hicolor-icon-theme' 'jasper' 'java-runtime' 'libaacs' 'libass'
- 'libbluray' 'libcdio' 'libcec' 'libgl' 'libmariadbclient' 'libmicrohttpd'
- 'libmodplug' 'libmpeg2' 'libnfs' 'libplist' 'libpulse' 'libssh' 'libva'
- 'libvdpau' 'libxrandr' 'libxslt' 'lzo' 'nasm' 'nss-mdns' 'python2-pillow'
- 'python2-pybluez' 'python2-simplejson' 'rtmpdump' 'sdl2' 'sdl_image'
- 'shairplay' 'smbclient' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower' 'yajl' 'zip'
+ 'afpfs-ng' 'bluez-libs' 'boost' 'cmake' 'curl' 'cwiid' 'doxygen' 'ffmpeg'
+ 'git' 'glew' 'gperf' 'hicolor-icon-theme' 'jasper' 'java-runtime' 'libaacs'
+ 'libcdio' 'libcec' 'libgl' 'libmariadbclient' 'libmicrohttpd' 'libmpeg2'
+ 'libnfs' 'libplist' 'libxrandr' 'libxslt' 'lzo' 'nasm' 'nss-mdns'
+ 'python2-pillow' 'python2-pybluez' 'python2-simplejson' 'rtmpdump' 'sdl2'
+ 'sdl_image' 'shairplay' 'smbclient' 'swig' 'taglib' 'tinyxml' 'unzip'
+ 'upower' 'yajl' 'zip'
)
mksource=(
"$pkgname-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
)
source=(
"https://repo.parabola.nu/other/$_pkgbase/$_pkgbase-$pkgver-$_codename.tar.gz"
+ "kodi-14.0-dvddemux-ffmpeg.patch"
+ "kodi-14.0-gcc5.patch"
)
mksha256sums=(
'd9cb8590430a925fb789a5beb4da2695cdcd2d2500dd31126f3b77b31aa267f4'
)
sha256sums=(
'8d024625fd7c963785cad07f77049c2a89560f6474ca4db83153c7df7b9759f2'
+ '01453e18987b01ad40c9ae423a7e47422e537b648e74f5c942f132c37e6370f8'
+ '598f36cea0f63440e5755d88752552240fc5cd2b98e4f80a9feeb9605c917777'
)
mksource() {
@@ -65,6 +69,10 @@ install:' -i tools/EventClients/Makefile.in
sed -i -e 's|mirrors[.]kodi[.]tv/addons/gotham/addons.xml|repo.parabola.nu/other/kodi-libre/addons/gotham/addons.xml|' addons/repository.xbmc.org/addon.xml
sed -i -e 's|mirrors[.]kodi[.]tv/addons/helix/addons.xml|repo.parabola.nu/other/kodi-libre/addons/helix/addons.xml|' addons/repository.xbmc.org/addon.xml
sed -i -e 's|mirrors[.]kodi[.]tv/addons/frodo/addons.xml|repo.parabola.nu/other/kodi-libre/addons/frodo/addons.xml|' addons/repository.xbmc.org/addon.xml
+
+ patch -p0 -i "$srcdir/kodi-14.0-dvddemux-ffmpeg.patch"
+ patch -p1 -i "$srcdir/kodi-14.0-gcc5.patch"
+
}
build() {
@@ -82,7 +90,7 @@ build() {
--disable-debug \
--enable-optimizations \
--enable-libbluray \
- --enable-external-libraries \
+ --with-ffmpeg=shared \
--with-lirc-device=/run/lirc/lircd \
--disable-non-free \
ac_cv_lib_bluetooth_hci_devid=no
@@ -99,12 +107,10 @@ package_kodi() {
# depends expeced in FEH.py
# 'mesa-demos' 'xorg-xdpyinfo'
depends=(
- 'python2-pillow' 'python2-pybluez' 'python2-simplejson'
- 'mesa-demos' 'xorg-xdpyinfo'
- 'bluez-libs' 'fribidi' 'glew' 'hicolor-icon-theme' 'libcdio'
- 'libjpeg-turbo' 'libmariadbclient' 'libmicrohttpd' 'libpulse' 'libssh'
- 'libva' 'libxrandr' 'libxslt' 'lzo' 'sdl2' 'smbclient' 'taglib' 'tinyxml'
- 'yajl'
+ 'python2-pillow' 'python2-pybluez' 'python2-simplejson' 'mesa-demos'
+ 'xorg-xdpyinfo' 'bluez-libs' 'ffmpeg' 'glew' 'hicolor-icon-theme' 'libcdio'
+ 'libjpeg-turbo' 'libmariadbclient' 'libmicrohttpd' 'libxrandr' 'libxslt'
+ 'lzo' 'sdl2' 'smbclient' 'taglib' 'tinyxml' 'yajl'
)
optdepends=(
'afpfs-ng: Apple shares support'