Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : kodi | name : kodi | ||||
| version : '19.4' | version : '19.4' | ||||
| release : 78 | release : 79 | ||||
| source : | source : | ||||
| - https://github.com/xbmc/xbmc/archive/refs/tags/19.4-Matrix.tar.gz : cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da | - https://github.com/xbmc/xbmc/archive/refs/tags/19.4-Matrix.tar.gz : cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da | ||||
| license : GPL-2.0-or-later | license : GPL-2.0-or-later | ||||
| component : desktop.multimedia | component : desktop.multimedia | ||||
| summary : Free and open source software media center | summary : Free and open source software media center | ||||
| description: | | description: | | ||||
| Kodi® (formerly known as XBMC™) is an award-winning free and open source (GPL) software media center for playing videos, music, pictures, games, and more. The Solus Kodi build includes essential binary add-ons and select libretro cores. | Kodi® (formerly known as XBMC™) is an award-winning free and open source (GPL) software media center for playing videos, music, pictures, games, and more. The Solus Kodi build includes essential binary add-ons and select libretro cores. | ||||
| networking : yes | networking : yes | ||||
| ▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | builddeps : | ||||
| - pkgconfig(vdpau) | - pkgconfig(vdpau) | ||||
| - pkgconfig(xrandr) | - pkgconfig(xrandr) | ||||
| - flatbuffers-devel | - flatbuffers-devel | ||||
| - giflib-devel | - giflib-devel | ||||
| - git | - git | ||||
| - gperf | - gperf | ||||
| - libunistring-devel | - libunistring-devel | ||||
| - lzo-devel | - lzo-devel | ||||
| - openjdk-11-devel | - openjdk-17-devel | ||||
| - shairplay-devel | - shairplay-devel | ||||
| - sndio-devel | - sndio-devel | ||||
| - swig | - swig | ||||
| rundeps : | rundeps : | ||||
| - libmodplug | - libmodplug | ||||
| - libva-intel-driver | - libva-intel-driver | ||||
| - shairplay | - shairplay | ||||
| environment: | | environment: | | ||||
| ADDONS="-audiodecoder.* -audioencoder.* game.libretro game.libretro.genplus game.libretro.mgba game.libretro.snes9x game.libretro.fceumm game.libretro.gambatte -imagedecoder.* inputstream.adaptive peripheral.joystick -pvr.* -screensaver.* vfs.* -visualization.*" | ADDONS="-audiodecoder.* -audioencoder.* game.libretro game.libretro.genplus game.libretro.mgba game.libretro.snes9x game.libretro.fceumm game.libretro.gambatte -imagedecoder.* inputstream.adaptive peripheral.joystick -pvr.* -screensaver.* vfs.* -visualization.*" | ||||
| PATH="$PATH:/usr/lib64/openjdk-11/bin/" | PATH="$PATH:/usr/lib64/openjdk-17/bin/" | ||||
| setup : | | setup : | | ||||
| cp -f $pkgfiles/binary-addons.txt %workdir%/cmake/addons/bootstrap/repositories/ | # cp -f $pkgfiles/binary-addons.txt %workdir%/cmake/addons/bootstrap/repositories/ | ||||
| # WARN: Do NOT enable binutils-gold, even if kodi says it prefers it | # WARN: Do NOT enable binutils-gold, even if kodi says it prefers it | ||||
| # -- binutils-gold makes the main kodi build fail. | # -- binutils-gold makes the main kodi build fail. | ||||
| # | # | ||||
| # Fix up mariadb mysql.h include path | # Fix up mariadb mysql.h include path | ||||
| %patch -p1 < $pkgfiles/mariadb-fix.patch | %patch -p1 < $pkgfiles/mariadb-fix.patch | ||||
| mkdir kodi-build && cd kodi-build | mkdir kodi-build && cd kodi-build | ||||
| %cmake .. \ | %cmake .. \ | ||||
| -DADDONS_TO_BUILD="$ADDONS" \ | -DADDONS_TO_BUILD="*" \ | ||||
| -DAPP_RENDER_SYSTEM=gl \ | -DAPP_RENDER_SYSTEM=gl \ | ||||
| -DBUILD_SHARED_LIBS=ON \ | -DBUILD_SHARED_LIBS=ON \ | ||||
| -DCORE_PLATFORM_NAME=x11 \ | -DCORE_PLATFORM_NAME=x11 \ | ||||
| -DENABLE_AIRTUNES=ON \ | -DENABLE_AIRTUNES=ON \ | ||||
| -DENABLE_AVAHI=ON \ | -DENABLE_AVAHI=ON \ | ||||
| -DENABLE_BLUETOOTH=ON \ | -DENABLE_BLUETOOTH=ON \ | ||||
| -DENABLE_CEC=ON \ | -DENABLE_CEC=ON \ | ||||
| -DENABLE_EVENTCLIENTS=ON \ | -DENABLE_EVENTCLIENTS=ON \ | ||||
| Show All 40 Lines | install : | | ||||
| # order here and only configure *after* kodi has been installed to | # order here and only configure *after* kodi has been installed to | ||||
| # the CMAKE_INSTALL_PREFIX. | # the CMAKE_INSTALL_PREFIX. | ||||
| # | # | ||||
| # Note that the default binary add-on make target includes all sorts | # Note that the default binary add-on make target includes all sorts | ||||
| # of fancy dependency fetching/building with vendored libs | # of fancy dependency fetching/building with vendored libs | ||||
| # plus an install target. | # plus an install target. | ||||
| # | # | ||||
| # INFO: https://github.com/xbmc/xbmc/blob/master/docs/README.Linux.md#51-in-tree-building-of-binary-add-ons | # INFO: https://github.com/xbmc/xbmc/blob/master/docs/README.Linux.md#51-in-tree-building-of-binary-add-ons | ||||
| %make -C tools/depends/target/binary-addons PREFIX="$installdir/usr" ADDONS="$ADDONS" | %make -C tools/depends/target/binary-addons PREFIX="$installdir/usr" #ADDONS="$ADDONS" | ||||
| check : | | check : | | ||||
| # INFO: Tests last forever. You can run them locally but please make sure | # INFO: Tests last forever. You can run them locally but please make sure | ||||
| # the commands are commented out before publishing | # the commands are commented out before publishing | ||||
| # | # | ||||
| #%make check -C kodi-build | #%make check -C kodi-build | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.