forked from ports/contrib
kodi: initial import, version 18.7
This commit is contained in:
parent
346a71dc2c
commit
1a2f93b814
2140
kodi/.footprint
Normal file
2140
kodi/.footprint
Normal file
File diff suppressed because it is too large
Load Diff
28
kodi/Pkgfile
Normal file
28
kodi/Pkgfile
Normal file
@ -0,0 +1,28 @@
|
||||
# Description: A free and open source software media player and entertainment hub
|
||||
# URL: http://kodi.tv/
|
||||
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
||||
# Depends on: cmake ffmpeg fmt ghostscript giflib glu jdk libass libcdio libmicrohttpd mysql samba swig taglib tinyxml
|
||||
|
||||
name=kodi
|
||||
version=18.7
|
||||
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
|
||||
}
|
14
kodi/README
Normal file
14
kodi/README
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
README for kodi
|
||||
|
||||
|
||||
In order to allow Kodi to shutdown/suspend/hibernate the machine,
|
||||
install dbus, polkit, consolekit, and upower and launch kodi like so:
|
||||
|
||||
~/.xinitrc:
|
||||
|
||||
exec ck-launch-session kodi
|
||||
|
||||
If using a window manager or desktop environment that uses polkit and
|
||||
consolekit already, this is usually unnecessary.
|
||||
|
17
kodi/gl-headers.patch
Normal file
17
kodi/gl-headers.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h
|
||||
index b24f1ca77d..11011187c1 100644
|
||||
--- a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h
|
||||
+++ b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h
|
||||
@@ -12,11 +12,10 @@
|
||||
|
||||
#if defined(HAS_GL)
|
||||
#include <GL/gl.h>
|
||||
-#elif defined(HAS_GLES)
|
||||
+#endif
|
||||
#include <GLES2/gl2.h>
|
||||
#include <GLES2/gl2ext.h>
|
||||
#include <GLES3/gl3.h>
|
||||
-#endif
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
Loading…
x
Reference in New Issue
Block a user