diff --git a/alarm/kodi-rbp-git/PKGBUILD b/alarm/kodi-rbp-git/PKGBUILD index 5d98a62ac..b1ef9ba73 100644 --- a/alarm/kodi-rbp-git/PKGBUILD +++ b/alarm/kodi-rbp-git/PKGBUILD @@ -13,7 +13,7 @@ pkgbase=kodi-rbp-git _suffix=rbp-git pkgname=("kodi-$_suffix" "kodi-eventclients-$_suffix" "kodi-tools-texturepacker-$_suffix" "kodi-dev-$_suffix") pkgver=18.0rc5.2.20190115 -pkgrel=2 +pkgrel=3 _codename=Leia _tag="18.0rc5.2-$_codename" _ffmpeg_version="4.0.3-$_codename-RC5" @@ -42,6 +42,7 @@ source=("https://github.com/popcornmix/xbmc/archive/newclock5_$_tag.tar.gz" 'kodi-framebuffer' '99-kodi.rules' 'polkit.rules' + '00-fix.building.with.mariadb.patch::https://github.com/wsnipex/xbmc/commit/cd20c8eb8a0394db1f028b118c4ca9b91b7e746a.patch' "ffmpeg-$_ffmpeg_version.tar.gz::https://github.com/xbmc/FFmpeg/archive/$_ffmpeg_version.tar.gz" "libdvdcss-$_libdvdcss_version.tar.gz::https://github.com/xbmc/libdvdcss/archive/$_libdvdcss_version.tar.gz" "libdvdnav-$_libdvdnav_version.tar.gz::https://github.com/xbmc/libdvdnav/archive/$_libdvdnav_version.tar.gz" @@ -66,6 +67,7 @@ sha256sums=('af37f2bdb84a97e4fb1eac3a2b0bd699d77355319c00f7bd7c785eb089f852ae' 'fe7a1ab2a6e2bf00f756c76545a338d2763003052764d722d492b06b1bc05f5e' 'b31570f95654434b01fd8531612fbb6be77cbc1c519dd60f92feae26eb160f3d' '9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96' + '849daf1d5b081ef6d0e428bbc7d448799fc43a8ac9e79cd7513de0eb5a91b0bb' '9a971662e44353c120f2ccf87655571998956e699a2dd800ec708b8b928a53c8' '38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d' '071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a' @@ -80,6 +82,8 @@ prepare() { [[ -d kodi-build ]] && rm -rf kodi-build mkdir $srcdir/kodi-build + + patch -Np1 -i ../00-fix.building.with.mariadb.patch } build() { @@ -112,6 +116,8 @@ build() { -DENABLE_INTERNAL_CROSSGUID=ON \ -DENABLE_INTERNAL_FSTRCMP=ON \ -DENABLE_INTERNAL_FLATBUFFERS=ON \ + -DENABLE_MARIADBCLIENT=ON \ + -DENABLE_MYSQLCLIENT=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" \