aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-26 17:31:24 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 06:37:18 +0000
commit82cb81d5040069dc42911e35dd66fffb01d1bb85 (patch)
treef4b5028af39378271f6fa962b46826626fae0a7f
parent0eb18dbb4c40f5a53a87065aa959a35b08fb8c9b (diff)
downloadaports-82cb81d5040069dc42911e35dd66fffb01d1bb85.tar.gz
aports-82cb81d5040069dc42911e35dd66fffb01d1bb85.tar.bz2
aports-82cb81d5040069dc42911e35dd66fffb01d1bb85.tar.xz
community/kodi: modernize, fix license, disable check
-rw-r--r--community/kodi/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/community/kodi/APKBUILD b/community/kodi/APKBUILD
index 8fa719151b..28395f680e 100644
--- a/community/kodi/APKBUILD
+++ b/community/kodi/APKBUILD
@@ -3,11 +3,11 @@
pkgname=kodi
pkgver=17.6
_realname=Krypton
-pkgrel=10
+pkgrel=11
pkgdesc="A software media player and entertainment hub for digital media"
-url="http://kodi.tv"
+url="https://kodi.tv"
arch="x86 x86_64"
-license="GPL"
+license="GPL-2.0-only"
depends="python2 hicolor-icon-theme xdpyinfo unrar mesa-demos curl py-pillow
py-bluez py-simplejson"
depends_dev="gettext-dev boost-dev mesa-dev glew-dev glu-dev mariadb-connector-c-dev
@@ -20,15 +20,14 @@ depends_dev="gettext-dev boost-dev mesa-dev glew-dev glu-dev mariadb-connector-c
yasm-dev libmpeg2-dev libmad-dev libsamplerate-dev rtmpdump-dev
libjpeg-turbo-dev eudev-dev libcap-dev udisks2-dev faac-dev gnutls-dev
libxslt-dev libplist-dev libshairport-dev ffmpeg-dev afpfs-ng-dev
- libcec-dev x264-dev bsd-compat-headers curl-dev python2-dev dcadec-dev
+ libcec-dev x264-dev bsd-compat-headers python2-dev dcadec-dev
libdvdcss-dev"
makedepends="$depends_dev automake autoconf m4 libtool swig findutils
openjdk8-jre-base boost-thread zip gperf cmake coreutils nasm tar
git bash"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
-install=""
replaces="xbmc"
-options="ldpath-recursive"
+options="ldpath-recursive !check" # No testsuite
source="https://github.com/xbmc/xbmc/archive/$pkgver-$_realname.tar.gz
fix-musl.patch
fix-fileemu.patch
@@ -44,8 +43,6 @@ source="https://github.com/xbmc/xbmc/archive/$pkgver-$_realname.tar.gz
builddir="$srcdir/xbmc-$pkgver-$_realname"
prepare() {
- local i
- cd "$builddir"
default_prepare
MAKEFLAGS="-j1" ./bootstrap
mkdir -p crossguid
@@ -53,7 +50,6 @@ prepare() {
}
build() {
- cd "$builddir"
LDFLAGS="$LDFLAGS -L$PWD/crossguid/lib" \
CXXFLAGS="$CXXFLAGS -I$PWD/crossguid/include" \
CONFIG_SHELL=/bin/bash \
@@ -75,7 +71,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}