From 6284bb62a4554d52ecfdfaea8b0a3029fdd2da73 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 16 Nov 2024 09:29:10 -0500 Subject: [PATCH] kodi: update to 21.1. --- srcpkgs/kodi/patches/no-werror.patch | 19 +++++++++++++++++++ srcpkgs/kodi/template | 9 +++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/kodi/patches/no-werror.patch diff --git a/srcpkgs/kodi/patches/no-werror.patch b/srcpkgs/kodi/patches/no-werror.patch new file mode 100644 index 00000000000..2ebc40ede53 --- /dev/null +++ b/srcpkgs/kodi/patches/no-werror.patch @@ -0,0 +1,19 @@ +diff -ur a/cmake/scripts/common/ArchSetup.cmake b/cmake/scripts/common/ArchSetup.cmake +--- a/cmake/scripts/common/ArchSetup.cmake 2024-08-17 03:06:48.000000000 -0400 ++++ b/cmake/scripts/common/ArchSetup.cmake 2024-11-23 18:01:32.568554400 -0500 +@@ -175,15 +175,6 @@ + -g + -D_DEBUG + ) +- +- # these options affect only core code +- if(NOT CORE_COMPILE_OPTIONS) +- set(CORE_COMPILE_OPTIONS +- -Werror=double-promotion +- -Werror=missing-field-initializers +- -Werror=sign-compare +- ) +- endif() + endif() + + # set for compile info to help detect binary addons diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template index 6e94577ff2c..1086592e0f1 100644 --- a/srcpkgs/kodi/template +++ b/srcpkgs/kodi/template @@ -1,6 +1,6 @@ # Template file for 'kodi' pkgname=kodi -version=21.0 +version=21.1 revision=1 _codename="Omega" _crossguid_ver="ca1bf4b810e2d188d04cb6286f957008ee1b7681" @@ -53,7 +53,7 @@ distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz https://github.com/xbmc/libdvdread/archive/${_dvdread_ver}.tar.gz>libdvdread-${_dvdread_ver}.tar.gz https://github.com/xbmc/libdvdnav/archive/${_dvdnav_ver}.tar.gz>libdvdnav-${_dvdnav_ver}.tar.gz https://mirrors.kodi.tv/build-deps/sources/libudfread-${_udfread_ver}.tar.gz" -checksum="7f54c1fd8456ac46221fbc85e447362bdc209163c6cb19fca98d106560071b7c +checksum="ad6e40b0912c8318635f0501dc1f7f27ce3a29e671f2ddb608cad34babae80ef 6be27e0b3a4907f0cd3cfadec255ee1b925569e1bd06e67a4d2f4267299b69c4 f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e 719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62 @@ -138,6 +138,11 @@ pre_configure() { fi } +post_install() { + mkdir -p "${DESTDIR}/${py3_sitelib}" + mv "${DESTDIR}/kodi" "${DESTDIR}/${py3_sitelib}" +} + do_check() { ./build/kodi-test --gtest_filter="${_gtest_filter}" }