contrib/kodi/Pkgfile

29 lines
821 B
Plaintext
Raw Normal View History

2020-05-21 06:49:14 +02:00
# Description: A free and open source software media player and entertainment hub
2020-05-29 01:50:35 +02:00
# URL: https://kodi.tv/
2020-05-21 06:49:14 +02:00
# Maintainer: Matt Housh, jaeger at crux dot ninja
2020-05-21 17:13:10 +02:00
# Depends on: cmake ffmpeg fmt ghostscript giflib glu jdk libass libcdio libmicrohttpd mysql samba swig taglib tinyxml python
2020-05-21 06:49:14 +02:00
name=kodi
2020-08-09 17:48:59 +02:00
version=18.8
2020-05-21 06:49:14 +02:00
release=1
source=(https://github.com/xbmc/xbmc/archive/$version-Leia.tar.gz gl-headers.patch)
build() {
patch -d xbmc-$version-Leia -p1 -i $SRC/gl-headers.patch
mkdir build; cd build
cmake \
-DVERBOSE=ON \
-DENABLE_DVDCSS=ON \
-DENABLE_OPTICAL=ON \
-DENABLE_PYTHON=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_INTERNAL_FSTRCMP=ON \
-DENABLE_INTERNAL_RapidJSON=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
../xbmc-$version-Leia
make
make DESTDIR=$PKG install
find $PKG -name "README*" -delete
}