mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/kodi-rpi-git to 21.x.62112.b5f6566512-1
This commit is contained in:
parent
0f8f46c9d1
commit
220fb7128a
1 changed files with 32 additions and 27 deletions
|
@ -13,8 +13,8 @@ pkgname=(
|
|||
'kodi-rpi-git-eventclients' 'kodi-rpi-git-tools-texturepacker' 'kodi-rpi-git-dev'
|
||||
)
|
||||
|
||||
_commitnumber=62062
|
||||
_commit=f9d0d82f2b139599849d6348d7acce33d0a79f9f
|
||||
_commitnumber=62112
|
||||
_commit=b5f656651241c21c298ecdde3de7010f1d195aa1
|
||||
|
||||
# set this to anything to build with clang
|
||||
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
|
||||
|
@ -27,14 +27,14 @@ url="https://github.com/graysky2/xbmc/tree/gs-gbm_omega"
|
|||
license=('GPL2')
|
||||
makedepends=(
|
||||
'afpfs-ng' 'bluez-libs' 'cmake' 'curl' 'dav1d' 'doxygen' 'git' 'glew'
|
||||
'gperf' 'hicolor-icon-theme' 'java-runtime' 'libaacs' 'libass'
|
||||
'gperf' 'hicolor-icon-theme' 'java-runtime' 'fmt' 'libaacs' 'libass'
|
||||
'libbluray' 'libcdio' 'libcec-rpi' 'libgl' 'mariadb-libs' 'libmicrohttpd'
|
||||
'libmodplug' 'libmpeg2' 'libnfs' 'libplist' 'libpulse'
|
||||
'libxrandr' 'libxslt' 'lirc' 'lzo' 'mesa' 'nasm'
|
||||
'python-pycryptodomex' 'python-pillow' 'python-pybluez'
|
||||
'python-simplejson' 'shairplay' 'smbclient' 'taglib' 'tinyxml' 'swig'
|
||||
'upower' 'giflib' 'ghostscript' 'meson' 'gtest' 'graphviz'
|
||||
'libinput' 'libxkbcommon' 'pcre' 'pipewire'
|
||||
'pipewire' 'python-pycryptodomex' 'python-pillow' 'python-pybluez'
|
||||
'python-simplejson' 'shairplay' 'smbclient' 'sndio' 'spdlog' 'taglib'
|
||||
'tinyxml' 'swig' 'upower' 'giflib' 'rapidjson' 'ghostscript' 'meson' 'gtest'
|
||||
'graphviz' 'libinput' 'libxkbcommon'
|
||||
)
|
||||
[[ -n "$_clangbuild" ]] && makedepends+=('clang' 'lld' 'llvm')
|
||||
|
||||
|
@ -44,8 +44,6 @@ _libdvdcss_version="1.4.3-Next-Nexus-Alpha2-2"
|
|||
_libdvdnav_version="6.1.1-Next-Nexus-Alpha2-2"
|
||||
_libdvdread_version="6.1.3-Next-Nexus-Alpha2-2"
|
||||
_ffmpeg_version="5.1.2-Nexus-Alpha3"
|
||||
_fmt_version="9.1.0"
|
||||
_spdlog_version="1.10.0"
|
||||
_crossguid_version="ca1bf4b810e2d188d04cb6286f957008ee1b7681"
|
||||
_fstrcmp_version="0.7.D001"
|
||||
_flatbuffers_version="2.0.0"
|
||||
|
@ -56,8 +54,6 @@ source=(
|
|||
"libdvdnav-$_libdvdnav_version.tar.gz::https://github.com/xbmc/libdvdnav/archive/$_libdvdnav_version.tar.gz"
|
||||
"libdvdread-$_libdvdread_version.tar.gz::https://github.com/xbmc/libdvdread/archive/$_libdvdread_version.tar.gz"
|
||||
"ffmpeg-$_ffmpeg_version.tar.gz::https://github.com/xbmc/FFmpeg/archive/$_ffmpeg_version.tar.gz"
|
||||
"https://mirrors.kodi.tv/build-deps/sources/fmt-$_fmt_version.tar.gz"
|
||||
"https://mirrors.kodi.tv/build-deps/sources/spdlog-$_spdlog_version.tar.gz"
|
||||
"https://mirrors.kodi.tv/build-deps/sources/crossguid-$_crossguid_version.tar.gz"
|
||||
"https://mirrors.kodi.tv/build-deps/sources/fstrcmp-$_fstrcmp_version.tar.gz"
|
||||
"https://mirrors.kodi.tv/build-deps/sources/flatbuffers-$_flatbuffers_version.tar.gz"
|
||||
|
@ -71,20 +67,16 @@ noextract=(
|
|||
"libdvdnav-$_libdvdnav_version.tar.gz"
|
||||
"libdvdread-$_libdvdread_version.tar.gz"
|
||||
"ffmpeg-$_ffmpeg_version.tar.gz"
|
||||
"fmt-$_fmt_version.tar.gz"
|
||||
"spdlog-$_spdlog_version.tar.gz"
|
||||
"crossguid-$_crossguid_version.tar.gz"
|
||||
"fstrcmp-$_fstrcmp_version.tar.gz"
|
||||
"flatbuffers-$_flatbuffers_version.tar.gz"
|
||||
"libudfread-$_libudfread_version.tar.gz"
|
||||
)
|
||||
sha256sums=('eabe8e0c790a3eeb48097d734ba78cd888a1aa22916e8fdff2bfbc7b74d24238'
|
||||
sha256sums=('d9398b8456a76480ed7350e1aea4356a7eea3b6db50927ed813ace61ca2dc6f7'
|
||||
'f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e'
|
||||
'584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc'
|
||||
'719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62'
|
||||
'ad9a38cf4c7c7576d6fe6a3af6a5254c2b6ca22937ab04c692caa43c7e5dee50'
|
||||
'5dea48d1fcddc3ec571ce2058e13910a0d4a6bab4cc09a809d8b1dd1c88ae6f2'
|
||||
'697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224'
|
||||
'6be27e0b3a4907f0cd3cfadec255ee1b925569e1bd06e67a4d2f4267299b69c4'
|
||||
'e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476'
|
||||
'9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4'
|
||||
|
@ -134,26 +126,38 @@ build() {
|
|||
-DUSE_LTO=OFF
|
||||
-DVERBOSE=ON
|
||||
-DENABLE_LDGOLD=OFF
|
||||
-DENABLE_AIRTUNES=ON
|
||||
-DENABLE_AVAHI=ON
|
||||
-DENABLE_BLURAY=ON
|
||||
-DENABLE_CEC=ON
|
||||
-DENABLE_DBUS=ON
|
||||
-DENABLE_DVDCSS=ON
|
||||
-DENABLE_EGL=ON
|
||||
-DENABLE_EVENTCLIENTS=ON
|
||||
-DENABLE_MICROHTTPD=ON
|
||||
-DENABLE_MYSQLCLIENT=ON
|
||||
-DENABLE_NFS=ON
|
||||
-DENABLE_OPTICAL=ON
|
||||
-DENABLE_SMBCLIENT=ON
|
||||
-DENABLE_UDEV=ON
|
||||
-DENABLE_UPNP=ON
|
||||
-DENABLE_VAAPI=ON
|
||||
-DENABLE_VDPAU=ON
|
||||
-DENABLE_XSLT=ON
|
||||
-DENABLE_LIRCCLIENT=ON
|
||||
-DENABLE_INTERNAL_FFMPEG=ON
|
||||
-DENABLE_INTERNAL_FMT=ON
|
||||
-DENABLE_INTERNAL_SPDLOG=ON
|
||||
-DENABLE_INTERNAL_CROSSGUID=ON
|
||||
-DENABLE_INTERNAL_FSTRCMP=ON
|
||||
-DENABLE_INTERNAL_FLATBUFFERS=ON
|
||||
-DENABLE_INTERNAL_UDFREAD=ON
|
||||
-DENABLE_MYSQLCLIENT=ON
|
||||
-DENABLE_VAAPI=OFF
|
||||
-DENABLE_VDPAU=OFF
|
||||
-Dlibdvdcss_URL="$srcdir/libdvdcss-$_libdvdcss_version.tar.gz"
|
||||
-Dlibdvdnav_URL="$srcdir/libdvdnav-$_libdvdnav_version.tar.gz"
|
||||
-Dlibdvdread_URL="$srcdir/libdvdread-$_libdvdread_version.tar.gz"
|
||||
-DFFMPEG_URL="$srcdir/ffmpeg-$_ffmpeg_version.tar.gz"
|
||||
-DFMT_URL="$srcdir/fmt-$_fmt_version.tar.gz"
|
||||
-DSPDLOG_URL="$srcdir/spdlog-$_spdlog_version.tar.gz"
|
||||
-DCROSSGUID_URL="$srcdir/crossguid-$_crossguid_version.tar.gz"
|
||||
-DFSTRCMP_URL="$srcdir/fstrcmp-$_fstrcmp_version.tar.gz"
|
||||
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz"
|
||||
-DUDFREAD_URL="$srcdir/libudfread-$_libudfread_version.tar.gz"
|
||||
-DAPP_RENDER_SYSTEM=gles
|
||||
-DCORE_PLATFORM_NAME="x11 gbm"
|
||||
|
@ -170,12 +174,13 @@ build() {
|
|||
package_kodi-rpi-git() {
|
||||
pkgdesc="Media player and entertainment hub with hw accel for RPi 3/4/400, gbm_omega fork"
|
||||
depends=(
|
||||
'bluez-libs' 'curl' 'dav1d' 'desktop-file-utils' 'hicolor-icon-theme'
|
||||
'bluez-libs' 'curl' 'dav1d' 'desktop-file-utils' 'hicolor-icon-theme' 'fmt'
|
||||
'lcms2' 'libass' 'libbluray' 'libcdio' 'libcec-rpi' 'libmicrohttpd' 'libnfs'
|
||||
'libplist' 'libpulse' 'libxslt' 'lirc' 'mariadb-libs' 'mesa'
|
||||
'python-pillow' 'python-pycryptodomex' 'python-simplejson'
|
||||
'shairplay' 'smbclient' 'sqlite' 'taglib' 'tinyxml'
|
||||
'libinput' 'libxkbcommon' 'polkit' 'linux>=5.4.35' 'lzo' 'pcre' 'pipewire'
|
||||
'libplist' 'libpulse' 'libxslt' 'lirc' 'mariadb-libs'
|
||||
'mesa' 'pipewire' 'python-pillow' 'python-pycryptodomex'
|
||||
'python-simplejson' 'shairplay' 'smbclient' 'sndio' 'spdlog' 'sqlite'
|
||||
'taglib' 'tinyxml' 'libinput' 'libxkbcommon' 'polkit' 'linux>=5.4.35' 'lzo'
|
||||
'pcre'
|
||||
)
|
||||
[[ -n "$_clangbuild" ]] && depends+=('glu')
|
||||
|
||||
|
|
Loading…
Reference in a new issue