[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/

2025-12-17 Thread Michael Mair-Keimberger
commit: 7d3e53b80f1169fe55bb95d0a75362aecb1f1d17
Author: Michael Mair-Keimberger  gentoo  org>
AuthorDate: Wed Dec 17 17:39:38 2025 +
Commit: Michael Mair-Keimberger  gentoo  org>
CommitDate: Wed Dec 17 17:39:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3e53b8

media-tv/kodi: remove unused patch

Signed-off-by: Michael Mair-Keimberger  gentoo.org>

 .../files/kodi-22.0_alpha1-fix-curl-8.16.patch | 32 --
 1 file changed, 32 deletions(-)

diff --git a/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch 
b/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch
deleted file mode 100644
index 393159f2b56a..
--- a/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://bugs.gentoo.org/962751
-https://github.com/xbmc/xbmc/pull/27224
-
-Modified to apply to 22.0_alpha1 which doesn't include.
-https://github.com/xbmc/xbmc/commit/8a27124db43ec10415b21aa6c7a15b0b6aded656
-
-From 8b44b36f7bfe6e32770c7df5f956a1da9fcaaf61 Mon Sep 17 00:00:00 2001
-From: Achill Gilgenast 
-Date: Wed, 10 Sep 2025 19:16:17 +0200
-Subject: [PATCH] [filesystem] Switch to long for CURLPROXY_* enums
-
-curl 8.16.0 bumped the enums to long, see: 
https://github.com/curl/curl/pull/18054
-
-This fixes the build with curl 8.16+ for the following failure:
-
-   
/builds/alpine/aports/community/kodi/src/xbmc-21.2-Omega/xbmc/filesystem/CurlFile.cpp:48:5:
 error: cannot initialize an array element of type 'curl_proxytype' with an 
rvalue of type 'long'
-  48 | CURLPROXY_HTTP,   CURLPROXY_SOCKS4,  
CURLPROXY_SOCKS4A,
- | ^~
-   /usr/include/curl/curl.h:791:35: note: expanded from macro 
'CURLPROXY_HTTP'
- 791 | #define CURLPROXY_HTTP0L /* added in 7.10, new in 
7.19.4 default is
- |   ^~
-   ...
 a/xbmc/filesystem/CurlFile.cpp
-+++ b/xbmc/filesystem/CurlFile.cpp
-@@ -46,7 +46,7 @@ using namespace std::chrono_literals;
- #define FITS_INT(a) (((a) <= INT_MAX) && ((a) >= INT_MIN))
-
--static const auto proxyType2CUrlProxyType = 
std::unordered_map{
-+static const auto proxyType2CUrlProxyType = 
std::unordered_map{
- {CCurlFile::ProxyType::HTTP, CURLPROXY_HTTP},
- {CCurlFile::ProxyType::SOCKS4, CURLPROXY_SOCKS4},
- {CCurlFile::ProxyType::SOCKS4A, CURLPROXY_SOCKS4A},



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-05 Thread James Le Cuirot
commit: 8a0dc7259cb771fe31f0ffaf102cb30dc18b357e
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Dec  5 09:49:57 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Fri Dec  5 21:53:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0dc725

media-tv/kodi: libcdio optional now

Upstream commit: 11289a597a88d809f39d3c23aa7eae6325a5263c

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44911
Closes: https://github.com/gentoo/gentoo/pull/44911
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 1f543d7a02e5..33c68d1ed317 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -117,7 +117,6 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
dev-db/sqlite:3
dev-libs/crossguid
>=dev-libs/fribidi-1.0.5
-   >=dev-libs/libcdio-2.1.0:=[cxx]
>=dev-libs/libfmt-6.1.2:=
dev-libs/libfstrcmp
dev-libs/libpcre2:=
@@ -190,6 +189,9 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
nfs? (
>=net-fs/libnfs-3.0.0:=
)
+   optical? (
+   >=dev-libs/libcdio-2.1.0:=[cxx]
+   )
pipewire? (
>=media-video/pipewire-0.3.50:=
)



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-05 Thread James Le Cuirot
commit: ca900f4527b233d93ecf931361f4857a9cb51583
Author: James Le Cuirot  gentoo  org>
AuthorDate: Fri Dec  5 21:38:21 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Fri Dec  5 21:38:21 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca900f45

media-tv/kodi: The TexturePacker installation patch has been merged upstream

Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 69f586551802..1f543d7a02e5 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -267,7 +267,6 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
"${FILESDIR}"/kodi-22-silence-libdvdread-git.patch
-   "${FILESDIR}"/kodi-22-fix-native-build.patch
 )
 
 # bug #544020



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: 58c407c61ecf7d7091aebb85f345b10cef34b17d
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sat Nov  1 19:42:10 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:49 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c407c6

media-tv/kodi: drop 22.0_alpha1

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/Manifest|   2 -
 media-tv/kodi/kodi-22.0_alpha1.ebuild | 535 --
 2 files changed, 537 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 8ccd57f58313..bf25f49cebec 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -5,11 +5,9 @@ DIST commons-lang3-3.17.0-bin.tar.gz 9772415 BLAKE2B 
a54dfdeca71d3d25a69cd0b7a37
 DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
 DIST commons-text-1.13.0-bin.tar.gz 3143054 BLAKE2B 
fbf83f9ade1dca7f781e0646b5c58efbce78136a70f00135194cefba04a47ec1f1a83c22e379777893800341168b2cd8c553669594ae6fe53bf4abd839007e0a
 SHA512 
a51667463e88b2d017c3baebb9bbe42c4e50cba96ffe19c89680e82002a4db8b9007daff75f8dbf8bf3725be13a3f03f3c2bc4e1f11e8e02dcab4408abdb44a1
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
-DIST ffmpeg-7.1.1.tar.gz 16620234 BLAKE2B 
afa8b398c5a23273ad935c159604a774ecffa3c2cc4526866251d398a55b19f8add26e5b28a231096e499b5971a5c1122f1037811baabfa2815e7be18dee6363
 SHA512 
332763b3230c68c0d5329ac455fb1964174e30d53bd043035ea201d6e22c55f29d63a59cff421fed7a3707ddc7e29ff44d267114defc1ffbc521504cd0e3e552
 DIST ffmpeg-8.0.tar.xz 11384428 BLAKE2B 
8c45093665131e9aef07cc49726a2de008760728723cf9ee1833fe0697624ca2572c13eb319bd567b79fcb2db110b73fbbf0889237c10fc589d6f895a0e5aa88
 SHA512 
96f01fc3b881e208e8d35d858b2f60627f298b06103195e3e753b1c6429810d7a484d4daeebad6d0810172616383d103dfb5fcadc4512726c3719800d24a3fde
 DIST kodi-21.2-Omega.tar.gz 41306955 BLAKE2B 
9d6199f380318a2df6f9b509fee909864c1fb957ca8a0a5344044d115ec58b20910d1a452e7ebf9701656858f54193669ff13c93d7787228e2d864fc4fb49797
 SHA512 
d49d74240b9c0aded3437dd81bc3324c03bea36834bca3920d5d26b4780275e3fea46efe1f3b33bb3e910d1ffe211ee17928bd8a441326a49713ac1120f083ea
 DIST kodi-21.3-Omega.tar.gz 41309420 BLAKE2B 
e7a58cb26633cffcfb687f75161e24c49aca8cab75318276d9140e74adc805c9ec48c76ab0118ac34daf26c540516d596d62a08742b52113744f5facb3719bf4
 SHA512 
4e344f7de95e7f47da413f7aeeef0656837befa89ef8924edf5409ac1c0c8c49e4023682ed236d19c3413e2ca5af8457899fdb13781f19a6208bfeddc69d7602
-DIST kodi-22.0a1-Piers.tar.gz 39789494 BLAKE2B 
5f1b7ddc62e4412654645013a0cb7f7a91d2cd655fdd961f73ff385d42714898b9c5cf8381f1693f1ab73746d56aa7c83005f046a891a40e27f30b0fdd4ff182
 SHA512 
109650bdd72baf5dbe77a69ea76b1293552769581176d558019f19c9ea70bc0f0874d4d5dc95a177925dc3875c4e8bcfce62f2241e3a1292d2994118dc39ee93
 DIST kodi-22.0a2-Piers.tar.gz 39895614 BLAKE2B 
f2c514ae1810d73177923dca0a1006faa421b6571951cf7be9067670a424a81a55f60e32466b1f3d898ca10610138973d746ba300d908eeb057e8e2ec7f82b6c
 SHA512 
db958362f7f8cea584f7c243017ec8061456ed1c70fdfe51596d1fb60bfbceb3c2c69e2e01a588073832403338809c45ce1b3eaa32efa864ea62860d0cef8fad
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 
51e6fc033121241354a5f0b3fc9a430577ae3ff6bb7f31445aa548ef4893037fb80eea3b2c6774c81e9ebaf9c45e9b490c98c2c65eb38f9f7daba84b236f7e1d

diff --git a/media-tv/kodi/kodi-22.0_alpha1.ebuild 
b/media-tv/kodi/kodi-22.0_alpha1.ebuild
deleted file mode 100644
index d74c90c77bbd..
--- a/media-tv/kodi/kodi-22.0_alpha1.ebuild
+++ /dev/null
@@ -1,535 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CODENAME="Piers"
-
-# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
-
-# Versions for the forked projects that are bundled
-# See tools/depends/target//-VERSION
-LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: 81af608343f249624db21e4b37cc1160b87c4ad7
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Oct 31 19:18:02 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:48 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81af6083

media-tv/kodi: add 22.0_alpha2

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/Manifest|   2 +
 media-tv/kodi/kodi-22.0_alpha2.ebuild | 528 ++
 2 files changed, 530 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 349a4470a7fc..8ccd57f58313 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -6,9 +6,11 @@ DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2ced
 DIST commons-text-1.13.0-bin.tar.gz 3143054 BLAKE2B 
fbf83f9ade1dca7f781e0646b5c58efbce78136a70f00135194cefba04a47ec1f1a83c22e379777893800341168b2cd8c553669594ae6fe53bf4abd839007e0a
 SHA512 
a51667463e88b2d017c3baebb9bbe42c4e50cba96ffe19c89680e82002a4db8b9007daff75f8dbf8bf3725be13a3f03f3c2bc4e1f11e8e02dcab4408abdb44a1
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
 DIST ffmpeg-7.1.1.tar.gz 16620234 BLAKE2B 
afa8b398c5a23273ad935c159604a774ecffa3c2cc4526866251d398a55b19f8add26e5b28a231096e499b5971a5c1122f1037811baabfa2815e7be18dee6363
 SHA512 
332763b3230c68c0d5329ac455fb1964174e30d53bd043035ea201d6e22c55f29d63a59cff421fed7a3707ddc7e29ff44d267114defc1ffbc521504cd0e3e552
+DIST ffmpeg-8.0.tar.xz 11384428 BLAKE2B 
8c45093665131e9aef07cc49726a2de008760728723cf9ee1833fe0697624ca2572c13eb319bd567b79fcb2db110b73fbbf0889237c10fc589d6f895a0e5aa88
 SHA512 
96f01fc3b881e208e8d35d858b2f60627f298b06103195e3e753b1c6429810d7a484d4daeebad6d0810172616383d103dfb5fcadc4512726c3719800d24a3fde
 DIST kodi-21.2-Omega.tar.gz 41306955 BLAKE2B 
9d6199f380318a2df6f9b509fee909864c1fb957ca8a0a5344044d115ec58b20910d1a452e7ebf9701656858f54193669ff13c93d7787228e2d864fc4fb49797
 SHA512 
d49d74240b9c0aded3437dd81bc3324c03bea36834bca3920d5d26b4780275e3fea46efe1f3b33bb3e910d1ffe211ee17928bd8a441326a49713ac1120f083ea
 DIST kodi-21.3-Omega.tar.gz 41309420 BLAKE2B 
e7a58cb26633cffcfb687f75161e24c49aca8cab75318276d9140e74adc805c9ec48c76ab0118ac34daf26c540516d596d62a08742b52113744f5facb3719bf4
 SHA512 
4e344f7de95e7f47da413f7aeeef0656837befa89ef8924edf5409ac1c0c8c49e4023682ed236d19c3413e2ca5af8457899fdb13781f19a6208bfeddc69d7602
 DIST kodi-22.0a1-Piers.tar.gz 39789494 BLAKE2B 
5f1b7ddc62e4412654645013a0cb7f7a91d2cd655fdd961f73ff385d42714898b9c5cf8381f1693f1ab73746d56aa7c83005f046a891a40e27f30b0fdd4ff182
 SHA512 
109650bdd72baf5dbe77a69ea76b1293552769581176d558019f19c9ea70bc0f0874d4d5dc95a177925dc3875c4e8bcfce62f2241e3a1292d2994118dc39ee93
+DIST kodi-22.0a2-Piers.tar.gz 39895614 BLAKE2B 
f2c514ae1810d73177923dca0a1006faa421b6571951cf7be9067670a424a81a55f60e32466b1f3d898ca10610138973d746ba300d908eeb057e8e2ec7f82b6c
 SHA512 
db958362f7f8cea584f7c243017ec8061456ed1c70fdfe51596d1fb60bfbceb3c2c69e2e01a588073832403338809c45ce1b3eaa32efa864ea62860d0cef8fad
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 
51e6fc033121241354a5f0b3fc9a430577ae3ff6bb7f31445aa548ef4893037fb80eea3b2c6774c81e9ebaf9c45e9b490c98c2c65eb38f9f7daba84b236f7e1d
 DIST libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz 110513 BLAKE2B 
c94feb5a03a12efa5b7767965118d2500a088299ea36f3b82e46d157e45893e6b04503cb50f179ca681bac914457607fab26acfa6e304752b355c407578572d1
 SHA512 
629a41157d07b8ec0ea1fe89ae5ec48f63047472a862782b805c531ae31a0376fc4dc15175f8280c3ef91d7fa977bacebb1b51232640034a34bab2293210fc5e

diff --git a/media-tv/kodi/kodi-22.0_alpha2.ebuild 
b/media-tv/kodi/kodi-22.0_alpha2.ebuild
new file mode 100644
index ..e734acb80724
--- /dev/null
+++ b/media-tv/kodi/kodi-22.0_alpha2.ebuild
@@ -0,0 +1,528 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CODENAME="Piers"
+
+# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
+
+# Versions for the forked projects that are bundled
+# See tools/depends/target//-VERSION
+LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: 07cf5a041621c7f157dda34a7f8cd2dcdfc7f8ad
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Nov 13 16:10:20 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:50 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cf5a04

media-tv/kodi: slibtool workaround

Closes: https://bugs.gentoo.org/926076
Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-21.2-r5.ebuild | 3 +++
 media-tv/kodi/kodi-21.3.ebuild| 3 +++
 media-tv/kodi/kodi-21..ebuild | 3 +++
 media-tv/kodi/kodi-22.0_alpha2.ebuild | 3 +++
 media-tv/kodi/kodi-.ebuild| 3 +++
 5 files changed, 15 insertions(+)

diff --git a/media-tv/kodi/kodi-21.2-r5.ebuild 
b/media-tv/kodi/kodi-21.2-r5.ebuild
index d9e61ad204ae..80f0e8a9622a 100644
--- a/media-tv/kodi/kodi-21.2-r5.ebuild
+++ b/media-tv/kodi/kodi-21.2-r5.ebuild
@@ -457,6 +457,9 @@ src_configure() {
# 
https://github.com/xbmc/xbmc/commit/cb72a22d54a91845b1092c295f84eeb48328921e
filter-lto
 
+   # bug #926076
+   append-flags -fPIC
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die

diff --git a/media-tv/kodi/kodi-21.3.ebuild b/media-tv/kodi/kodi-21.3.ebuild
index e3dcdd331972..bd79ffc0af47 100644
--- a/media-tv/kodi/kodi-21.3.ebuild
+++ b/media-tv/kodi/kodi-21.3.ebuild
@@ -455,6 +455,9 @@ src_configure() {
# 
https://github.com/xbmc/xbmc/commit/cb72a22d54a91845b1092c295f84eeb48328921e
filter-lto
 
+   # bug #926076
+   append-flags -fPIC
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index b54d1cff74c1..4e305eca01d5 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -455,6 +455,9 @@ src_configure() {
# 
https://github.com/xbmc/xbmc/commit/cb72a22d54a91845b1092c295f84eeb48328921e
filter-lto
 
+   # bug #926076
+   append-flags -fPIC
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die

diff --git a/media-tv/kodi/kodi-22.0_alpha2.ebuild 
b/media-tv/kodi/kodi-22.0_alpha2.ebuild
index e734acb80724..a6004f989686 100644
--- a/media-tv/kodi/kodi-22.0_alpha2.ebuild
+++ b/media-tv/kodi/kodi-22.0_alpha2.ebuild
@@ -438,6 +438,9 @@ src_configure() {
mycmakeargs+=( -DUSE_LTO=OFF )
fi
 
+   # bug #926076
+   append-flags -fPIC
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index e734acb80724..a6004f989686 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -438,6 +438,9 @@ src_configure() {
mycmakeargs+=( -DUSE_LTO=OFF )
fi
 
+   # bug #926076
+   append-flags -fPIC
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: 3fcc535f57a8168d3715e80f7dd571df2ab4c1dd
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Nov 13 01:27:58 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:46 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcc535f

media-tv/kodi: drop system-ffmpeg

postproc situation isn't improving, its unlikely system ffmpeg will be
patched to include it or include whatever the new source plugin is.

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 28 ++--
 1 file changed, 10 insertions(+), 18 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 0736e2a3dfb6..17c610df9077 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -45,13 +45,11 @@ SRC_URI="

https://mirrors.kodi.tv/build-deps/sources/apache-groovy-binary-${GROOVY_VERSION}.zip

https://mirrors.kodi.tv/build-deps/sources/commons-lang3-${APACHE_COMMON_LANG_VERSION}-bin.tar.gz

https://mirrors.kodi.tv/build-deps/sources/commons-text-${APACHE_COMMON_TEXT_VERSION}-bin.tar.gz
+   https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.xz
css? (

https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
)
-   !system-ffmpeg? (
-   https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.xz
-   )
 "
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/xbmc/xbmc.git";
@@ -78,7 +76,7 @@ LICENSE+=" Apache-2.0"
 # libdvdnav, libdvdread and libdvdcss.
 LICENSE+=" GPL-2+"
 # ffmpeg built as USE="gpl"
-LICENSE+=" !system-ffmpeg? ( GPL-2 )"
+LICENSE+=" GPL-2"
 
 SLOT="0"
 # use flag is called libusb so that it doesn't fool people in thinking that
@@ -109,6 +107,8 @@ COMMON_DEPEND="
)
 "
 COMMON_TARGET_DEPEND="${PYTHON_DEPS}
+   app-arch/bzip2
+   app-arch/xz-utils
>=net-misc/curl-7.68.0[http2]
>=virtual/zlib-1.2.11:=
dev-db/sqlite:3
@@ -124,12 +124,14 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
dev-libs/tinyxml2:=
media-fonts/roboto
media-gfx/exiv2:=
+   media-libs/dav1d:=
media-libs/libglvnd[X?]
>=media-libs/freetype-2.10.1
media-libs/harfbuzz:=
>=media-libs/libass-0.15.0:=
media-libs/mesa[opengl,wayland?,X?]
media-libs/taglib:=
+   net-libs/gnutls:=
virtual/libiconv
virtual/ttf-fonts
x11-libs/libdrm
@@ -194,15 +196,6 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
samba? (
>=net-fs/samba-3.4.6[smbclient(+)]
)
-   system-ffmpeg? (
-   
=media-video/ffmpeg-8*:=[encode(+),soc(-)?,postproc(-),vaapi?,vdpau?,X?]
-   )
-   !system-ffmpeg? (
-   app-arch/bzip2
-   app-arch/xz-utils
-   media-libs/dav1d:=
-   net-libs/gnutls:=
-   )
udf? (
>=dev-libs/libudfread-1.0.0
)
@@ -390,7 +383,8 @@ src_configure() {
-DENABLE_VDPAU=$(usex vdpau)
-DENABLE_XSLT=$(usex xslt)
 
-   -DWITH_FFMPEG=$(usex system-ffmpeg)
+   # ffmpeg hasn't decided on if postproc is removed or not and 
kodi has chosen to patch it back
+   -DWITH_FFMPEG=OFF
 
#To bundle or not
-DENABLE_INTERNAL_ASS=OFF
@@ -398,7 +392,7 @@ src_configure() {
-DENABLE_INTERNAL_CROSSGUID=OFF
-DENABLE_INTERNAL_DAV1D=OFF
-DENABLE_INTERNAL_EXIV2=OFF
-   -DENABLE_INTERNAL_FFMPEG="$(usex !system-ffmpeg)"
+   -DENABLE_INTERNAL_FFMPEG=ON
-DENABLE_INTERNAL_FLATBUFFERS=OFF
-DENABLE_INTERNAL_FMT=OFF
-DENABLE_INTERNAL_FSTRCMP=OFF
@@ -414,15 +408,13 @@ src_configure() {
-Dgroovy_SOURCE_DIR="${WORKDIR}/groovy-${GROOVY_VERSION}"

-Dapache-commons-lang_SOURCE_DIR="${WORKDIR}/commons-lang3-${APACHE_COMMON_LANG_VERSION}"

-Dapache-commons-text_SOURCE_DIR="${WORKDIR}/commons-text-${APACHE_COMMON_TEXT_VERSION}"
+   -DFFMPEG_URL="${DISTDIR}/ffmpeg-${FFMPEG_VERSION}.tar.xz"
)
 
# Separated to avoid "Manually-specified variables were not used by the 
project:"
use cec && mycmakeargs+=( -DENABLE_INTERNAL_CEC=OFF )
use css && mycmakeargs+=( 
-Dlibdvdcss_URL="${DISTDIR}/libdvdcss-${LIBDVDCSS_VERSION}.tar.gz" )
use nfs && mycmakeargs+=( -DENABLE_INTERNAL_NFS=OFF )
-   use !system-ffmpeg && mycmakeargs+=(
-   -DFFMPEG_URL="${DISTDIR}/ffmpeg-${FFMPEG_VERSION}.tar.xz"
-   )
use !udev && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) )
use X && use !gles && 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: 7daaa2ebbae33b694a7101be6bf97c73beedb294
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Nov 13 01:31:08 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:47 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7daaa2eb

media-tv/kodi: dont include keywords for non full releases

Just to keep the diff minimal between ebuilds.

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 17c610df9077..e734acb80724 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -65,7 +65,10 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+   # Dont keyword
+   if ! [[ ${PV} =~ _alpha ]] && ! [[ ${PV} =~ _beta ]] && ! [[ ${PV} =~ 
_rc ]]; then
+   KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+   fi
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: 57615c2b65fa6b6960beefb8bed14ee65268ec0d
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Nov 30 23:08:58 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:52 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57615c2b

media-tv/kodi: update to ffmpeg-8.0.1

Upstream commit: 46c1922df36718b6bd7815b32edb3cf051ab6fef

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Closes: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/Manifest | 1 +
 media-tv/kodi/kodi-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index bf25f49cebec..c2d26a5f4bdf 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -5,6 +5,7 @@ DIST commons-lang3-3.17.0-bin.tar.gz 9772415 BLAKE2B 
a54dfdeca71d3d25a69cd0b7a37
 DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
 DIST commons-text-1.13.0-bin.tar.gz 3143054 BLAKE2B 
fbf83f9ade1dca7f781e0646b5c58efbce78136a70f00135194cefba04a47ec1f1a83c22e379777893800341168b2cd8c553669594ae6fe53bf4abd839007e0a
 SHA512 
a51667463e88b2d017c3baebb9bbe42c4e50cba96ffe19c89680e82002a4db8b9007daff75f8dbf8bf3725be13a3f03f3c2bc4e1f11e8e02dcab4408abdb44a1
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
+DIST ffmpeg-8.0.1.tar.xz 11388848 BLAKE2B 
fea49b663a3598d013969b22b34f7b0db677a90ef4bf27ff1ddf8b4e1d9c6eed598efa0f221baa50e4f0d9c877225b358b4192ecc9d2b725d853ef58e65379c9
 SHA512 
7af5cd1c7ba04f8d7ea1b54b64b9c235f2a606dc0c18d25cfdf20958bcad4851d3265b4894fc6ba5dd205c2309971c7e7fb890ee1d64e0a41a3faf159f77957f
 DIST ffmpeg-8.0.tar.xz 11384428 BLAKE2B 
8c45093665131e9aef07cc49726a2de008760728723cf9ee1833fe0697624ca2572c13eb319bd567b79fcb2db110b73fbbf0889237c10fc589d6f895a0e5aa88
 SHA512 
96f01fc3b881e208e8d35d858b2f60627f298b06103195e3e753b1c6429810d7a484d4daeebad6d0810172616383d103dfb5fcadc4512726c3719800d24a3fde
 DIST kodi-21.2-Omega.tar.gz 41306955 BLAKE2B 
9d6199f380318a2df6f9b509fee909864c1fb957ca8a0a5344044d115ec58b20910d1a452e7ebf9701656858f54193669ff13c93d7787228e2d864fc4fb49797
 SHA512 
d49d74240b9c0aded3437dd81bc3324c03bea36834bca3920d5d26b4780275e3fea46efe1f3b33bb3e910d1ffe211ee17928bd8a441326a49713ac1120f083ea
 DIST kodi-21.3-Omega.tar.gz 41309420 BLAKE2B 
e7a58cb26633cffcfb687f75161e24c49aca8cab75318276d9140e74adc805c9ec48c76ab0118ac34daf26c540516d596d62a08742b52113744f5facb3719bf4
 SHA512 
4e344f7de95e7f47da413f7aeeef0656837befa89ef8924edf5409ac1c0c8c49e4023682ed236d19c3413e2ca5af8457899fdb13781f19a6208bfeddc69d7602

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 5ca70ca5d852..69f586551802 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -12,7 +12,7 @@ CODENAME="Piers"
 LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
 LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
 LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
-FFMPEG_VERSION="8.0"
+FFMPEG_VERSION="8.0.1"
 
 # Java bundles from xbmc/interfaces/swig/CMakeLists.txt
 GROOVY_VERSION="4.0.26"



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: 2f6128e8628fb2e518da2eb856bb6a2fae35088e
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Nov 13 01:26:56 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f6128e8

media-tv/kodi: drop soc use flag

Not hooked up?

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index d13f0ac2a2ba..0736e2a3dfb6 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -84,14 +84,13 @@ SLOT="0"
 # use flag is called libusb so that it doesn't fool people in thinking that
 # it is _required_ for USB support. Otherwise they'll disable udev and
 # that's going to be worse.
-IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio samba soc 
+system-ffmpeg test udf udev upnp vaapi vdpau wayland webserver X +xslt 
zeroconf ${CPU_FLAGS}"
+IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio samba 
+system-ffmpeg test udf udev upnp vaapi vdpau wayland webserver X +xslt 
zeroconf ${CPU_FLAGS}"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
|| ( gbm wayland X )
?? ( mariadb mysql )
bluray? ( udf )
gbm? ( udev )
-   soc? ( system-ffmpeg )
udev? ( !libusb )
vdpau? ( X !gles !gbm )
zeroconf? ( dbus )



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: f4dbdaac665cf5777e87641e6a1c3a0b5b3ff05c
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Nov 13 16:11:46 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:51 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4dbdaac

media-tv/kodi: export PKG_CONFIG for vendored libdvdread

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-21.2-r5.ebuild | 3 +++
 media-tv/kodi/kodi-21.3.ebuild| 3 +++
 media-tv/kodi/kodi-21..ebuild | 3 +++
 media-tv/kodi/kodi-22.0_alpha2.ebuild | 3 +++
 media-tv/kodi/kodi-.ebuild| 3 +++
 5 files changed, 15 insertions(+)

diff --git a/media-tv/kodi/kodi-21.2-r5.ebuild 
b/media-tv/kodi/kodi-21.2-r5.ebuild
index 80f0e8a9622a..70ca82924bfd 100644
--- a/media-tv/kodi/kodi-21.2-r5.ebuild
+++ b/media-tv/kodi/kodi-21.2-r5.ebuild
@@ -460,6 +460,9 @@ src_configure() {
# bug #926076
append-flags -fPIC
 
+   # used by vendored libdvdread
+   tc-export PKG_CONFIG
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die

diff --git a/media-tv/kodi/kodi-21.3.ebuild b/media-tv/kodi/kodi-21.3.ebuild
index bd79ffc0af47..33b62c93ffd4 100644
--- a/media-tv/kodi/kodi-21.3.ebuild
+++ b/media-tv/kodi/kodi-21.3.ebuild
@@ -458,6 +458,9 @@ src_configure() {
# bug #926076
append-flags -fPIC
 
+   # used by vendored libdvdread
+   tc-export PKG_CONFIG
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index 4e305eca01d5..942ab6de5976 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -458,6 +458,9 @@ src_configure() {
# bug #926076
append-flags -fPIC
 
+   # used by vendored libdvdread
+   tc-export PKG_CONFIG
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die

diff --git a/media-tv/kodi/kodi-22.0_alpha2.ebuild 
b/media-tv/kodi/kodi-22.0_alpha2.ebuild
index a6004f989686..5ca70ca5d852 100644
--- a/media-tv/kodi/kodi-22.0_alpha2.ebuild
+++ b/media-tv/kodi/kodi-22.0_alpha2.ebuild
@@ -441,6 +441,9 @@ src_configure() {
# bug #926076
append-flags -fPIC
 
+   # used by vendored libdvdread
+   tc-export PKG_CONFIG
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index a6004f989686..5ca70ca5d852 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -441,6 +441,9 @@ src_configure() {
# bug #926076
append-flags -fPIC
 
+   # used by vendored libdvdread
+   tc-export PKG_CONFIG
+
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do
pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: ff52881d7a519ff6888c0a74a902262cdc9e34c4
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Nov  2 14:32:08 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:12:20 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff52881d

media-tv/kodi: explicitly disable internal libass

Upstream commit: db85a5edc341a03bf1362a7ec6808aa78c878aac

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 1d42390b2482..62e8e0d1457c 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -393,6 +393,7 @@ src_configure() {
-DWITH_FFMPEG=$(usex system-ffmpeg)
 
#To bundle or not
+   -DENABLE_INTERNAL_ASS=OFF
-DENABLE_INTERNAL_CURL=OFF
-DENABLE_INTERNAL_CROSSGUID=OFF
-DENABLE_INTERNAL_DAV1D=OFF



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: d48cca39adbd7eddc8da73da18e71c4fdf7e2254
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Nov 13 01:08:17 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:14:44 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d48cca39

media-tv/kodi: dont install build tools

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/files/kodi-22-fix-native-build.patch | 49 ++
 media-tv/kodi/kodi-.ebuild |  1 +
 2 files changed, 50 insertions(+)

diff --git a/media-tv/kodi/files/kodi-22-fix-native-build.patch 
b/media-tv/kodi/files/kodi-22-fix-native-build.patch
new file mode 100644
index ..787795273750
--- /dev/null
+++ b/media-tv/kodi/files/kodi-22-fix-native-build.patch
@@ -0,0 +1,49 @@
+https://github.com/xbmc/xbmc/pull/27545
+
+From bb864e739bb7c9746ea6555858ad525c02e453d3 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot 
+Date: Sun, 30 Nov 2025 22:10:11 +
+Subject: [PATCH] [cmake] Fix double installation of TexturePacker
+
+TexturePacker is being installed twice, but this is only noticeable when
+installing Kodi with DESTDIR, which is common in distributions. The copy
+installed by FindTexturePacker.cmake normally gets reinstalled in place,
+but with DESTDIR applied, it lands under /path/to/destdir/path/to/build.
+
+There is no need for FindTexturePacker.cmake to install it anyway. This
+change stubs the install command, runs TexturePacker from its build
+location, and the wider Kodi installation sources it from there.
+--- a/cmake/modules/buildtools/FindTexturePacker.cmake
 b/cmake/modules/buildtools/FindTexturePacker.cmake
+@@ -82,8 +82,7 @@ if(NOT TARGET TexturePacker::TexturePacker::Executable)
+  "-DCMAKE_OBJDUMP=${CMAKE_OBJDUMP}"
+  "-DCMAKE_RANLIB=${CMAKE_RANLIB}"
+  "-DDEPENDS_PATH=${DEPENDS_PATH}"
+- -DKODI_SOURCE_DIR=${CMAKE_SOURCE_DIR}
+- -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/build)
++ -DKODI_SOURCE_DIR=${CMAKE_SOURCE_DIR})
+ 
+   # Create a list with an alternate separator e.g. pipe symbol
+   string(REPLACE ";" "|" string_ARCH_DEFINES "${ARCH_DEFINES}")
+@@ -110,15 +109,14 @@ if(NOT TARGET TexturePacker::TexturePacker::Executable)
+   SOURCE_DIR 
${CMAKE_SOURCE_DIR}/tools/depends/native/TexturePacker/src
+   PREFIX ${CORE_BUILD_DIR}/build-texturepacker
+   LIST_SEPARATOR |
+-  INSTALL_DIR ${CMAKE_BINARY_DIR}/build
++  INSTALL_COMMAND ""
+   CMAKE_ARGS ${CMAKE_ARGS}
+   BUILD_ALWAYS ON
+-  BUILD_BYPRODUCTS 
${CMAKE_BINARY_DIR}/build/bin/TexturePacker)
++  BUILD_BYPRODUCTS 
${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/build-texturepacker/src/buildtexturepacker-build/TexturePacker)
+ 
+-  ExternalProject_Get_Property(buildtexturepacker INSTALL_DIR)
+   add_executable(TexturePacker IMPORTED)
+   set_target_properties(TexturePacker PROPERTIES
+-  IMPORTED_LOCATION 
"${INSTALL_DIR}/bin/TexturePacker")
++  IMPORTED_LOCATION 
"${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/build-texturepacker/src/buildtexturepacker-build/TexturePacker")
+ 
+   add_dependencies(TexturePacker buildtexturepacker)
+ 
+-- 
+2.52.0
+

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 62e8e0d1457c..d13f0ac2a2ba 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -272,6 +272,7 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
"${FILESDIR}"/kodi-22-silence-libdvdread-git.patch
+   "${FILESDIR}"/kodi-22-fix-native-build.patch
 )
 
 # bug #544020



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: a34e4e5c42391012b3610c5994d7e1dc6d707d3d
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Oct 31 19:13:03 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:12:18 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34e4e5c

media-tv/kodi: add 21.3

Closes: https://bugs.gentoo.org/966001
Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/Manifest |   1 +
 media-tv/kodi/kodi-21.3.ebuild | 546 +
 2 files changed, 547 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 3f3c9d0f6ada..349a4470a7fc 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -7,6 +7,7 @@ DIST commons-text-1.13.0-bin.tar.gz 3143054 BLAKE2B 
fbf83f9ade1dca7f781e0646b5c5
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
 DIST ffmpeg-7.1.1.tar.gz 16620234 BLAKE2B 
afa8b398c5a23273ad935c159604a774ecffa3c2cc4526866251d398a55b19f8add26e5b28a231096e499b5971a5c1122f1037811baabfa2815e7be18dee6363
 SHA512 
332763b3230c68c0d5329ac455fb1964174e30d53bd043035ea201d6e22c55f29d63a59cff421fed7a3707ddc7e29ff44d267114defc1ffbc521504cd0e3e552
 DIST kodi-21.2-Omega.tar.gz 41306955 BLAKE2B 
9d6199f380318a2df6f9b509fee909864c1fb957ca8a0a5344044d115ec58b20910d1a452e7ebf9701656858f54193669ff13c93d7787228e2d864fc4fb49797
 SHA512 
d49d74240b9c0aded3437dd81bc3324c03bea36834bca3920d5d26b4780275e3fea46efe1f3b33bb3e910d1ffe211ee17928bd8a441326a49713ac1120f083ea
+DIST kodi-21.3-Omega.tar.gz 41309420 BLAKE2B 
e7a58cb26633cffcfb687f75161e24c49aca8cab75318276d9140e74adc805c9ec48c76ab0118ac34daf26c540516d596d62a08742b52113744f5facb3719bf4
 SHA512 
4e344f7de95e7f47da413f7aeeef0656837befa89ef8924edf5409ac1c0c8c49e4023682ed236d19c3413e2ca5af8457899fdb13781f19a6208bfeddc69d7602
 DIST kodi-22.0a1-Piers.tar.gz 39789494 BLAKE2B 
5f1b7ddc62e4412654645013a0cb7f7a91d2cd655fdd961f73ff385d42714898b9c5cf8381f1693f1ab73746d56aa7c83005f046a891a40e27f30b0fdd4ff182
 SHA512 
109650bdd72baf5dbe77a69ea76b1293552769581176d558019f19c9ea70bc0f0874d4d5dc95a177925dc3875c4e8bcfce62f2241e3a1292d2994118dc39ee93
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 
51e6fc033121241354a5f0b3fc9a430577ae3ff6bb7f31445aa548ef4893037fb80eea3b2c6774c81e9ebaf9c45e9b490c98c2c65eb38f9f7daba84b236f7e1d

diff --git a/media-tv/kodi/kodi-21.3.ebuild b/media-tv/kodi/kodi-21.3.ebuild
new file mode 100644
index ..e3dcdd331972
--- /dev/null
+++ b/media-tv/kodi/kodi-21.3.ebuild
@@ -0,0 +1,546 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CODENAME="Omega"
+
+# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
+
+# Versions for the forked projects that are bundled
+# See tools/depends/target//-VERSION
+LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
+LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
+LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
+FFMPEG_VERSION="6.0.1"
+
+# Java bundles from xbmc/interfaces/swig/CMakeLists.txt
+GROOVY_VERSION="4.0.26"
+APACHE_COMMON_LANG_VERSION="3.17.0"
+APACHE_COMMON_TEXT_VERSION="1.13.0"
+
+_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17,21} )
+JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
+# Required to be set, but not used.
+JAVA_PKG_WANT_SOURCE="21"
+JAVA_PKG_WANT_TARGET="21"
+
+PYTHON_REQ_USE="sqlite,ssl"
+PYTHON_COMPAT=( python3_{11..13} )
+
+# See cmake/scripts/common/ArchSetup.cmake for available options
+CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
+
+inherit autotools cmake desktop ffmpeg-compat flag-o-matic java-pkg-2 libtool
+inherit linux-info optfeature pax-utils python-single-r1 toolchain-funcs xdg
+
+DESCRIPTION="A free and open source media-player and entertainment hub"
+HOMEPAGE="https://kodi.tv/";
+
+SRC_URI="
+   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz
+   -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
+   

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: 987626cfeca0d51483c9d55713ae5a6ca4b0b8e1
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Oct 31 19:21:00 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:12:19 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987626cf

media-tv/kodi: update to ffmpeg-8

Upstream commit: 587f3a6e936d487552d002bd63a0e4ff74bee433

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index ec9e9033dd4c..d6682799c9bf 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -12,7 +12,7 @@ CODENAME="Piers"
 LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
 LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
 LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
-FFMPEG_VERSION="7.1.1"
+FFMPEG_VERSION="8.0"
 
 # Java bundles from xbmc/interfaces/swig/CMakeLists.txt
 GROOVY_VERSION="4.0.26"
@@ -50,7 +50,7 @@ SRC_URI="
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
)
!system-ffmpeg? (
-   https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz
+   https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.xz
)
 "
 if [[ ${PV} == * ]] ; then
@@ -196,7 +196,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-7*:=[encode(+),soc(-)?,postproc(-),vaapi?,vdpau?,X?]
+   
=media-video/ffmpeg-8*:=[encode(+),soc(-)?,postproc(-),vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2
@@ -421,7 +421,7 @@ src_configure() {
use css && mycmakeargs+=( 
-Dlibdvdcss_URL="${DISTDIR}/libdvdcss-${LIBDVDCSS_VERSION}.tar.gz" )
use nfs && mycmakeargs+=( -DENABLE_INTERNAL_NFS=OFF )
use !system-ffmpeg && mycmakeargs+=(
-   -DFFMPEG_URL="${DISTDIR}/ffmpeg-${FFMPEG_VERSION}.tar.gz"
+   -DFFMPEG_URL="${DISTDIR}/ffmpeg-${FFMPEG_VERSION}.tar.xz"
)
use !udev && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) )
use X && use !gles && mycmakeargs+=( -DENABLE_GLX=ON )



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-12-01 Thread James Le Cuirot
commit: b7f6887b39f2ce0b765ebf7357bcffbe8e0e6a7e
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Nov  2 14:29:32 2025 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  1 23:12:20 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f6887b

media-tv/kodi: unused variable with USE="-cec"

It was already properly handled below it.

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44433
Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index d6682799c9bf..1d42390b2482 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -393,7 +393,6 @@ src_configure() {
-DWITH_FFMPEG=$(usex system-ffmpeg)
 
#To bundle or not
-   -DENABLE_INTERNAL_CEC=OFF
-DENABLE_INTERNAL_CURL=OFF
-DENABLE_INTERNAL_CROSSGUID=OFF
-DENABLE_INTERNAL_DAV1D=OFF



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/

2025-12-01 Thread Michael Mair-Keimberger
commit: 91967fc3aaa18c259052d1a7e3750d30b9ed617a
Author: Michael Mair-Keimberger  gentoo  org>
AuthorDate: Mon Dec  1 20:14:31 2025 +
Commit: Michael Mair-Keimberger  gentoo  org>
CommitDate: Mon Dec  1 20:14:31 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91967fc3

media-tv/kodi: remove unused patches

Signed-off-by: Michael Mair-Keimberger  gentoo.org>

 media-tv/kodi/files/kodi-21.1-fix-gcc15.patch  | 116 -
 .../kodi-21.1-fix-swig-4.3.0-build-pr25863.patch   |  27 -
 2 files changed, 143 deletions(-)

diff --git a/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch 
b/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch
deleted file mode 100644
index 5ab776e70f50..
--- a/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-https://bugs.gentoo.org/938531
-https://github.com/xbmc/xbmc/pull/25735
-
-From 75e7b25883af5d2c8c89dbe6d830a5c17e9452f2 Mon Sep 17 00:00:00 2001
-From: Alfred Wingate 
-Date: Sat, 14 Sep 2024 13:46:25 +0300
-Subject: [PATCH] Include missing  includes
-
-* GCC-15 stopped implicitly including it.
-
-Signed-off-by: Alfred Wingate 
 a/xbmc/ContextMenuItem.h
-+++ b/xbmc/ContextMenuItem.h
-@@ -8,6 +8,7 @@
- 
- #pragma once
- 
-+#include 
- #include 
- #include 
- #include 
 a/xbmc/addons/AddonManager.h
-+++ b/xbmc/addons/AddonManager.h
-@@ -11,6 +11,7 @@
- #include "threads/CriticalSection.h"
- #include "utils/EventStream.h"
- 
-+#include 
- #include 
- #include 
- #include 
 a/xbmc/addons/IAddon.h
-+++ b/xbmc/addons/IAddon.h
-@@ -8,6 +8,7 @@
- 
- #pragma once
- 
-+#include 
- #include 
- #include 
- #include 
 a/xbmc/cores/RetroPlayer/streams/RetroPlayerVideo.h
-+++ b/xbmc/cores/RetroPlayer/streams/RetroPlayerVideo.h
-@@ -11,6 +11,8 @@
- #include "IRetroPlayerStream.h"
- #include "cores/RetroPlayer/RetroPlayerTypes.h"
- 
-+#include 
-+
- extern "C"
- {
- #include 
 a/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/ConversionMatrix.h
-+++ b/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/ConversionMatrix.h
-@@ -10,6 +10,7 @@
- 
- #include 
- #include 
-+#include 
- #include 
- 
- extern "C" {
 a/xbmc/guilib/FFmpegImage.h
-+++ b/xbmc/guilib/FFmpegImage.h
-@@ -9,6 +9,8 @@
- #pragma once
- 
- #include "iimage.h"
-+
-+#include 
- #include 
- 
- extern "C"
 a/xbmc/input/keymaps/remote/IRTranslator.h
-+++ b/xbmc/input/keymaps/remote/IRTranslator.h
-@@ -8,6 +8,7 @@
- 
- #pragma once
- 
-+#include 
- #include 
- #include 
- #include 
 a/xbmc/messaging/ThreadMessage.h
-+++ b/xbmc/messaging/ThreadMessage.h
-@@ -8,6 +8,7 @@
- 
- #pragma once
- 
-+#include 
- #include 
- #include 
- #include 
 a/xbmc/settings/AdvancedSettings.h
-+++ b/xbmc/settings/AdvancedSettings.h
-@@ -13,6 +13,7 @@
- #include "settings/lib/ISettingsHandler.h"
- #include "utils/SortUtils.h"
- 
-+#include 
- #include 
- #include 
- #include 
 a/xbmc/utils/Archive.h
-+++ b/xbmc/utils/Archive.h
-@@ -8,6 +8,7 @@
- 
- #pragma once
- 
-+#include 
- #include 
- #include 
- #include 
--- 
-2.46.0
-

diff --git a/media-tv/kodi/files/kodi-21.1-fix-swig-4.3.0-build-pr25863.patch 
b/media-tv/kodi/files/kodi-21.1-fix-swig-4.3.0-build-pr25863.patch
deleted file mode 100644
index aff5f9c135ca..
--- a/media-tv/kodi/files/kodi-21.1-fix-swig-4.3.0-build-pr25863.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From: https://github.com/xbmc/xbmc/pull/25863
-From 4ff0ba903bed472cddb0d6e5c53c8176cded6b09 Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum 
-Date: Mon, 21 Oct 2024 22:10:29 +1100
-Subject: [PATCH] [swig] Fix building with swig 4.3.0
-
-swig 4.3.0 has dropped the -xmllang option used with -xml, which had no effect 
on the output.
-
-Ref:
-- https://github.com/swig/swig/commit/86498e46c6a6218a3d091c12513c40076ac2ce63

- xbmc/interfaces/swig/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/xbmc/interfaces/swig/CMakeLists.txt 
b/xbmc/interfaces/swig/CMakeLists.txt
-index 1951b2a336789..46c84c7f7efc5 100644
 a/xbmc/interfaces/swig/CMakeLists.txt
-+++ b/xbmc/interfaces/swig/CMakeLists.txt
-@@ -22,7 +22,7 @@ function(generate_file file)
- 
-   add_custom_command(OUTPUT ${CPP_FILE}
-  COMMAND ${SWIG_EXECUTABLE}
-- ARGS -w401 -c++ -o ${file}.xml -xml 
-I${CMAKE_SOURCE_DIR}/xbmc -xmllang python 
${CMAKE_CURRENT_SOURCE_DIR}/../swig/${file}
-+ ARGS -w401 -c++ -o ${file}.xml -xml 
-I${CMAKE_SOURCE_DIR}/xbmc ${CMAKE_CURRENT_SOURCE_DIR}/../swig/${file}
-  COMMAND ${Java_JAVA_EXECUTABLE}
-  ARGS ${JAVA_OPEN_OPTS} -cp "${classpath}" 
groovy.ui.GroovyMain ${CMAKE_SOURCE_DIR}/tools/codegenerator/Generator.groovy 
${file}.xml ${CMAKE_CURRENT_SOURCE_DIR}/../python/PythonSwig.cpp.template 
${file}.cpp > ${devnull}
-  ${CLANG_FORMAT_COMMAND}



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-10-17 Thread Sam James
commit: a5b9a6188a4d11507d993e61c4fca11695ca56ea
Author: Emanuele Torre  gmail  com>
AuthorDate: Sat Oct  4 02:38:49 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  5 02:37:20 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b9a618

media-tv/kodi: evenclient -> eventclient in metadata.xml

Signed-off-by: Emanuele Torre  gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44034
Closes: https://github.com/gentoo/gentoo/pull/44034
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml
index 0371c8c122fd..b179b0aaf483 100644
--- a/media-tv/kodi/metadata.xml
+++ b/media-tv/kodi/metadata.xml
@@ -11,7 +11,7 @@
Enable JSON-RPC over BT for remote 
control connected via bluetooth
Use sys-libs/libcap to bind to 
privileged ports as non-root
Enable support for HDMI-CEC devices via 
libcec
-   Install full set of Kodi python 
evenclients and evenclients examples
+   Install full set of Kodi python 
eventclients and eventclients examples
Use the Graphics Buffer Manager for EGL on 
KMS.
Use simplified OpenGLES instead of full-scale 
OpenGL
Enable support for IR remote controls using 
app-misc/lirc



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/

2025-09-14 Thread Sam James
commit: 817a846093e1d4aad6b94e80a9a7a14e90ef5968
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Sep 11 14:21:53 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 14 10:35:06 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=817a8460

media-tv/kodi: handle curl-8.16 type breakage

Closes: https://bugs.gentoo.org/962751
Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43748
Closes: https://github.com/gentoo/gentoo/pull/43748
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/files/kodi-21.2-fix-curl-8.16.patch  | 15 ++
 .../files/kodi-22.0_alpha1-fix-curl-8.16.patch | 32 ++
 media-tv/kodi/kodi-21.2-r5.ebuild  |  1 +
 media-tv/kodi/kodi-22.0_alpha1.ebuild  |  1 +
 4 files changed, 49 insertions(+)

diff --git a/media-tv/kodi/files/kodi-21.2-fix-curl-8.16.patch 
b/media-tv/kodi/files/kodi-21.2-fix-curl-8.16.patch
new file mode 100644
index ..1234e6ee601f
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21.2-fix-curl-8.16.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/962751
+https://gitlab.alpinelinux.org/alpine/aports/-/blob/106a02411488e3f71b9f2085a4a857e4be27b9ea/community/kodi/curl-8.16.0.patch
+
+--- a/xbmc/filesystem/CurlFile.cpp
 b/xbmc/filesystem/CurlFile.cpp
+@@ -44,7 +44,7 @@ using namespace std::chrono_literals;
+ 
+ #define FITS_INT(a) (((a) <= INT_MAX) && ((a) >= INT_MIN))
+ 
+-curl_proxytype proxyType2CUrlProxyType[] = {
++long proxyType2CUrlProxyType[] = {
+ CURLPROXY_HTTP,   CURLPROXY_SOCKS4,  CURLPROXY_SOCKS4A,
+ CURLPROXY_SOCKS5, CURLPROXY_SOCKS5_HOSTNAME, CURLPROXY_HTTPS,
+ };
+

diff --git a/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch 
b/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch
new file mode 100644
index ..393159f2b56a
--- /dev/null
+++ b/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch
@@ -0,0 +1,32 @@
+https://bugs.gentoo.org/962751
+https://github.com/xbmc/xbmc/pull/27224
+
+Modified to apply to 22.0_alpha1 which doesn't include.
+https://github.com/xbmc/xbmc/commit/8a27124db43ec10415b21aa6c7a15b0b6aded656
+
+From 8b44b36f7bfe6e32770c7df5f956a1da9fcaaf61 Mon Sep 17 00:00:00 2001
+From: Achill Gilgenast 
+Date: Wed, 10 Sep 2025 19:16:17 +0200
+Subject: [PATCH] [filesystem] Switch to long for CURLPROXY_* enums
+
+curl 8.16.0 bumped the enums to long, see: 
https://github.com/curl/curl/pull/18054
+
+This fixes the build with curl 8.16+ for the following failure:
+
+   
/builds/alpine/aports/community/kodi/src/xbmc-21.2-Omega/xbmc/filesystem/CurlFile.cpp:48:5:
 error: cannot initialize an array element of type 'curl_proxytype' with an 
rvalue of type 'long'
+  48 | CURLPROXY_HTTP,   CURLPROXY_SOCKS4,  
CURLPROXY_SOCKS4A,
+ | ^~
+   /usr/include/curl/curl.h:791:35: note: expanded from macro 
'CURLPROXY_HTTP'
+ 791 | #define CURLPROXY_HTTP0L /* added in 7.10, new in 
7.19.4 default is
+ |   ^~
+   ...
+--- a/xbmc/filesystem/CurlFile.cpp
 b/xbmc/filesystem/CurlFile.cpp
+@@ -46,7 +46,7 @@ using namespace std::chrono_literals;
+ #define FITS_INT(a) (((a) <= INT_MAX) && ((a) >= INT_MIN))
+
+-static const auto proxyType2CUrlProxyType = 
std::unordered_map{
++static const auto proxyType2CUrlProxyType = 
std::unordered_map{
+ {CCurlFile::ProxyType::HTTP, CURLPROXY_HTTP},
+ {CCurlFile::ProxyType::SOCKS4, CURLPROXY_SOCKS4},
+ {CCurlFile::ProxyType::SOCKS4A, CURLPROXY_SOCKS4A},

diff --git a/media-tv/kodi/kodi-21.2-r5.ebuild 
b/media-tv/kodi/kodi-21.2-r5.ebuild
index 6d7410ab0403..6b57ed889570 100644
--- a/media-tv/kodi/kodi-21.2-r5.ebuild
+++ b/media-tv/kodi/kodi-21.2-r5.ebuild
@@ -273,6 +273,7 @@ PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
"${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch
"${FILESDIR}"/kodi-21.2-pipewire-1.4.0-fix.patch
+   "${FILESDIR}"/kodi-21.2-fix-curl-8.16.patch
 )
 
 # bug #544020

diff --git a/media-tv/kodi/kodi-22.0_alpha1.ebuild 
b/media-tv/kodi/kodi-22.0_alpha1.ebuild
index f158ac03cc13..4f8181d37aae 100644
--- a/media-tv/kodi/kodi-22.0_alpha1.ebuild
+++ b/media-tv/kodi/kodi-22.0_alpha1.ebuild
@@ -273,6 +273,7 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
"${FILESDIR}"/kodi-22-silence-libdvdread-git.patch
+   "${FILESDIR}"/kodi-22.0_alpha1-fix-curl-8.16.patch
 )
 
 # bug #544020



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-08-23 Thread Sam James
commit: d989500aeeb42bb1472764ef4d5dc3f023f45f11
Author: Alfred Wingate  protonmail  com>
AuthorDate: Wed Aug 20 21:15:25 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 23 07:38:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d989500a

media-tv/kodi: update Omega branch

Upstream commit: 7b7e20eaaa831d7740d151bdfe22c3257f5a4102

Also address MissingPackageRevision and use ffmpeg-compat just like the
in the non live Omega branch ebuild.

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43512
Closes: https://github.com/gentoo/gentoo/pull/43512
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21..ebuild | 21 ++---
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index f41ccfbeb776..d7475a10374f 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -15,9 +15,9 @@ LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
 FFMPEG_VERSION="6.0.1"
 
 # Java bundles from xbmc/interfaces/swig/CMakeLists.txt
-GROOVY_VERSION="4.0.16"
-APACHE_COMMON_LANG_VERSION="3.14.0"
-APACHE_COMMON_TEXT_VERSION="1.11.0"
+GROOVY_VERSION="4.0.26"
+APACHE_COMMON_LANG_VERSION="3.17.0"
+APACHE_COMMON_TEXT_VERSION="1.13.0"
 
 _JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17,21} )
 JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
@@ -31,8 +31,8 @@ PYTHON_COMPAT=( python3_{10..13} )
 # See cmake/scripts/common/ArchSetup.cmake for available options
 CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
 
-inherit autotools cmake desktop flag-o-matic java-pkg-2 libtool linux-info 
optfeature pax-utils python-single-r1 \
-   toolchain-funcs xdg
+inherit autotools cmake desktop ffmpeg-compat flag-o-matic java-pkg-2 libtool
+inherit linux-info optfeature pax-utils python-single-r1 toolchain-funcs xdg
 
 DESCRIPTION="A free and open source media-player and entertainment hub"
 HOMEPAGE="https://kodi.tv/";
@@ -196,7 +196,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-6*:=[encode(+),soc(-)?,postproc(-),vaapi?,vdpau?,X?]
+   
media-video/ffmpeg-compat:6=[encode(+),soc(-)?,postproc(-),vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2
@@ -263,7 +263,7 @@ BDEPEND="
dev-build/cmake
dev-lang/swig
virtual/pkgconfig
-   <=virtual/jre-21:*
+   <=virtual/jre-21-r:*
doc? (
app-text/doxygen
)
@@ -438,6 +438,13 @@ src_configure() {
mycmakeargs+=( -DENABLE_${name^^}=$(usex ${flag}) )
done
 
+   if use system-ffmpeg; then
+   # TODO: drop compat and allow using >=media-video/ffmpeg-7
+   ffmpeg_compat_setup 6
+   ffmpeg_compat_add_flags
+   mycmakeargs+=( 
-DFFMPEG_INCLUDE_DIRS="${SYSROOT}$(ffmpeg_compat_get_prefix 6)" )
+   fi
+
if ! is-flag -DNDEBUG && ! is-flag -D_DEBUG ; then
# Kodi requires one of the 'NDEBUG' or '_DEBUG' defines
append-cflags -DNDEBUG



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-08-23 Thread Sam James
commit: dfcc6f4e75c01c93604316c144c2ed23734cce8d
Author: Alfred Wingate  protonmail  com>
AuthorDate: Wed Aug 20 16:57:17 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 23 07:38:00 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfcc6f4e

media-tv/kodi: add 22.0_alpha1

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43512
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest |  6 +-
 .../kodi/{kodi-.ebuild => kodi-22.0_alpha1.ebuild} | 18 +++---
 media-tv/kodi/kodi-.ebuild | 15 +--
 3 files changed, 25 insertions(+), 14 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 08dd9a719867..3f3c9d0f6ada 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -1,9 +1,13 @@
 DIST apache-groovy-binary-4.0.16.zip 29793704 BLAKE2B 
30f77c6400c85821cf78f6ba1070da1e68644531f85f71cf7695443b13b81393cc89d4103eb869d1523f0a22a6e1c3428dcabf4f79c8a2c6eb2a6dea74e84e8f
 SHA512 
743698979c801f3cfb36545888b5303e1e25dae5692bb45cab7ebbe102a6eda31f09abc6978349ad90ecaf630416fc87eacba7781244855e7e771a3c44041fa0
+DIST apache-groovy-binary-4.0.26.zip 30108372 BLAKE2B 
00144777f88f5aea5c002ee3aa2a6b14749d150cc426218a49e0be06ace96f1a1de59a5ba59c3ea38f75098aa955fc543486b414624df3a4c6dd220746018f06
 SHA512 
60d1aea85008a438a9498178dc2137385653f1ea294e7e257959e9e0f94382e160e217e1090047c2a944e328cf46e8ebcfc4b015f7d0cb9f2fcf9d880c6c1344
 DIST commons-lang3-3.14.0-bin.tar.gz 9442785 BLAKE2B 
2ecdd06f97ac2688220055a08f67da9b859bed3ab00ff41800d5d9a1cebda599db2e816425c10c265dd6827a0ef79fc3dd094a8b3c9b9ae4ceae8f5750a59cf2
 SHA512 
8e7e62418a49ba810512c13a640a8bf35f878fcd54af32fdaabe37817f58b21b475980ba663fba4887e45ef8d88af8ff17796f20d202e929e8e2574546dc
+DIST commons-lang3-3.17.0-bin.tar.gz 9772415 BLAKE2B 
a54dfdeca71d3d25a69cd0b7a373791050b3fe039fdfeaee23cc08a5e05b9c7ab07b074595791d583000c726352503eb09c8e22a8b99ba79160252290cc6480f
 SHA512 
8927a406a1bd084b548f89cf15fe4bc7567dcaa50ae8abae54e9c883c1574c648fcc8ad6c3abaa381dfbdf1801727ac5e6c4572063203a1dfac293d122282f05
 DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
+DIST commons-text-1.13.0-bin.tar.gz 3143054 BLAKE2B 
fbf83f9ade1dca7f781e0646b5c58efbce78136a70f00135194cefba04a47ec1f1a83c22e379777893800341168b2cd8c553669594ae6fe53bf4abd839007e0a
 SHA512 
a51667463e88b2d017c3baebb9bbe42c4e50cba96ffe19c89680e82002a4db8b9007daff75f8dbf8bf3725be13a3f03f3c2bc4e1f11e8e02dcab4408abdb44a1
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
-DIST ffmpeg-7.1.tar.gz 16610472 BLAKE2B 
bd9d3b8cb071fee266fb22fc510d3e920a5d7ae8d446637e7fcef9c9a7a6ff3b9d49c9e948e071bdedacaafac2f793b2616c922a58bf432502823da4f42a9ac9
 SHA512 
b0a82ca1a34fb9fa16ee4b7fa682d7c3fdcc68cd703c72487a2de434c714f2dede68d390e61dbb3669e435e271e4580d6bae00875d71a17ad39f43644c5fdd07
+DIST ffmpeg-7.1.1.tar.gz 16620234 BLAKE2B 
afa8b398c5a23273ad935c159604a774ecffa3c2cc4526866251d398a55b19f8add26e5b28a231096e499b5971a5c1122f1037811baabfa2815e7be18dee6363
 SHA512 
332763b3230c68c0d5329ac455fb1964174e30d53bd043035ea201d6e22c55f29d63a59cff421fed7a3707ddc7e29ff44d267114defc1ffbc521504cd0e3e552
 DIST kodi-21.2-Omega.tar.gz 41306955 BLAKE2B 
9d6199f380318a2df6f9b509fee909864c1fb957ca8a0a5344044d115ec58b20910d1a452e7ebf9701656858f54193669ff13c93d7787228e2d864fc4fb49797
 SHA512 
d49d74240b9c0aded3437dd81bc3324c03bea36834bca3920d5d26b4780275e3fea46efe1f3b33bb3e910d1ffe211ee17928bd8a441326a49713ac1120f083ea
+DIST kodi-22.0a1-Piers.tar.gz 39789494 BLAKE2B 
5f1b7ddc62e4412654645013a0cb7f7a91d2cd655fdd961f73ff385d42714898b9c5cf8381f1693f1ab73746d56aa7c83005f046a891a40e27f30b0fdd4ff182
 SHA512 
109650bdd72baf5dbe77a69ea76b1293552769581176d558019f19c9ea70bc0f0874d4d5dc95a177925dc3875c4e8bcfce62f2241e3a1292d2994118dc39ee93
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-05-21 Thread Sam James
commit: 8c82320e2e1da3ad231bda5520e8bb6471af133e
Author: Chris Mayo  gmail  com>
AuthorDate: Tue Apr 22 18:41:54 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 21 21:56:42 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c82320e

media-tv/kodi: Don't need wayland enabled on libxkbcommon

wayland is only used with the tools flag to build the xkbcli utility.

Signed-off-by: Chris Mayo  gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41703
Closes: https://github.com/gentoo/gentoo/pull/41703
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21..ebuild | 2 +-
 media-tv/kodi/kodi-.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index 96ae5fffd4be..f41ccfbeb776 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -220,7 +220,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
)
wayland? (
-   >=x11-libs/libxkbcommon-0.4.1[wayland]
+   >=x11-libs/libxkbcommon-0.4.1
)
webserver? (
>=net-libs/libmicrohttpd-0.9.77:=

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 30ca1ea573fa..64e66e9c79cd 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -220,7 +220,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
)
wayland? (
-   >=x11-libs/libxkbcommon-0.4.1[wayland]
+   >=x11-libs/libxkbcommon-0.4.1
)
webserver? (
>=net-libs/libmicrohttpd-0.9.77:=



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-05-07 Thread Ionen Wolkens
commit: d0842a27888fb2ddda715165ce8f1f48c3ccd7e4
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu May  8 06:11:47 2025 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu May  8 06:14:58 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0842a27

media-tv/kodi: update for ffmpeg usedep changes

No need for a revbump given the versions it pins to (incl. compat)
have not actually changed, but updating anyway to avoid confusion
for later when ffmpeg-8 is released (which has removed libpostproc,
may still be made available in a separate package later).

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-tv/kodi/kodi-21.2-r5.ebuild | 2 +-
 media-tv/kodi/kodi-21..ebuild | 2 +-
 media-tv/kodi/kodi-.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-tv/kodi/kodi-21.2-r5.ebuild 
b/media-tv/kodi/kodi-21.2-r5.ebuild
index 9d50d641d13d..6d7410ab0403 100644
--- a/media-tv/kodi/kodi-21.2-r5.ebuild
+++ b/media-tv/kodi/kodi-21.2-r5.ebuild
@@ -196,7 +196,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
media-video/ffmpeg-compat:6=[encode(+),soc(-)?,postproc,vaapi?,vdpau?,X?]
+   
media-video/ffmpeg-compat:6=[encode(+),soc(-)?,postproc(-),vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index f6b67989ba88..96ae5fffd4be 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -196,7 +196,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-6*:=[encode(+),soc(-)?,postproc,vaapi?,vdpau?,X?]
+   
=media-video/ffmpeg-6*:=[encode(+),soc(-)?,postproc(-),vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index f7d2b62ca865..30ca1ea573fa 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -196,7 +196,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-7*:=[encode(+),soc(-)?,postproc,vaapi?,vdpau?,X?]
+   
=media-video/ffmpeg-7*:=[encode(+),soc(-)?,postproc(-),vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-05-06 Thread Sam James
commit: 608af1c4cdd23e9891586b984573d48d76580bc1
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue May  6 15:17:06 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  6 18:39:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=608af1c4

media-tv/kodi: rapidjson -> nlohmann_json

Closes: https://bugs.gentoo.org/955507
Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41962
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index bf237c3fc430..e8a8d7c678fa 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -245,7 +245,7 @@ RDEPEND="
 DEPEND="
${COMMON_DEPEND}
${COMMON_TARGET_DEPEND}
-   >=dev-libs/rapidjson-1.0.2
+   >=dev-cpp/nlohmann_json-3.2.0
test? (
>=dev-cpp/gtest-1.10.0
)
@@ -404,7 +404,7 @@ src_configure() {
-DENABLE_INTERNAL_FSTRCMP=OFF
-DENABLE_INTERNAL_GTEST=OFF
-DENABLE_INTERNAL_PCRE2=OFF
-   -DENABLE_INTERNAL_RapidJSON=OFF
+   -DENABLE_INTERNAL_NLOHMANNJSON=OFF
-DENABLE_INTERNAL_SPDLOG=OFF
-DENABLE_INTERNAL_TAGLIB=OFF
-DENABLE_INTERNAL_UDFREAD=OFF



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-05-06 Thread Sam James
commit: c34929a5d36a946e65076f5f770fbf03334656e9
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue May  6 18:27:19 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  6 18:39:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c34929a5

media-tv/kodi: drop obselete cmake variable

Upstream commit: f7ba4c6984224a80fb6778fdaf3d15ec2f329856

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41962
Closes: https://github.com/gentoo/gentoo/pull/41962
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index e8a8d7c678fa..f7d2b62ca865 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -407,7 +407,6 @@ src_configure() {
-DENABLE_INTERNAL_NLOHMANNJSON=OFF
-DENABLE_INTERNAL_SPDLOG=OFF
-DENABLE_INTERNAL_TAGLIB=OFF
-   -DENABLE_INTERNAL_UDFREAD=OFF
 
-DTARBALL_DIR="${DISTDIR}"

-Dlibdvdnav_URL="${DISTDIR}/libdvdnav-${LIBDVDNAV_VERSION}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-05-06 Thread Sam James
commit: d8d9adaa538c579845046e6bc91b57dfdd53769b
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sat May  3 16:23:59 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  6 18:39:00 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d9adaa

media-tv/kodi: add dev-libs/libxml2 subslot op for incoming ABI break

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41962
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/{kodi-21.2-r4.ebuild => kodi-21.2-r5.ebuild} | 2 +-
 media-tv/kodi/kodi-21..ebuild  | 2 +-
 media-tv/kodi/kodi-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-tv/kodi/kodi-21.2-r4.ebuild 
b/media-tv/kodi/kodi-21.2-r5.ebuild
similarity index 99%
rename from media-tv/kodi/kodi-21.2-r4.ebuild
rename to media-tv/kodi/kodi-21.2-r5.ebuild
index 5d4e9d198de5..9d50d641d13d 100644
--- a/media-tv/kodi/kodi-21.2-r4.ebuild
+++ b/media-tv/kodi/kodi-21.2-r5.ebuild
@@ -232,7 +232,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
xslt? (
dev-libs/libxslt
-   >=dev-libs/libxml2-2.9.4
+   >=dev-libs/libxml2-2.9.4:=
)
zeroconf? (
net-dns/avahi[dbus]

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index d3aaf5702af3..f6b67989ba88 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -232,7 +232,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
xslt? (
dev-libs/libxslt
-   >=dev-libs/libxml2-2.9.4
+   >=dev-libs/libxml2-2.9.4:=
)
zeroconf? (
net-dns/avahi[dbus]

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 3dfc84e9e816..bf237c3fc430 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -232,7 +232,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
xslt? (
dev-libs/libxslt
-   >=dev-libs/libxml2-2.9.4
+   >=dev-libs/libxml2-2.9.4:=
)
zeroconf? (
net-dns/avahi[dbus]



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-04-30 Thread Sam James
commit: 13e9355fa041e7e4650abe3af8d1f9b66243d4c1
Author: Alfred Wingate  protonmail  com>
AuthorDate: Wed Apr 30 18:04:15 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  1 01:25:51 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e9355f

media-tv/kodi: drop 21.1-r3, 21.2-r1

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41865
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest|   1 -
 media-tv/kodi/kodi-21.1-r3.ebuild | 547 --
 media-tv/kodi/kodi-21.2-r1.ebuild | 539 -
 3 files changed, 1087 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index bc715c13eeb3..08dd9a719867 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -3,7 +3,6 @@ DIST commons-lang3-3.14.0-bin.tar.gz 9442785 BLAKE2B 
2ecdd06f97ac2688220055a08f6
 DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
 DIST ffmpeg-7.1.tar.gz 16610472 BLAKE2B 
bd9d3b8cb071fee266fb22fc510d3e920a5d7ae8d446637e7fcef9c9a7a6ff3b9d49c9e948e071bdedacaafac2f793b2616c922a58bf432502823da4f42a9ac9
 SHA512 
b0a82ca1a34fb9fa16ee4b7fa682d7c3fdcc68cd703c72487a2de434c714f2dede68d390e61dbb3669e435e271e4580d6bae00875d71a17ad39f43644c5fdd07
-DIST kodi-21.1-Omega.tar.gz 41091890 BLAKE2B 
e711ef9b958ff3f8e006913ea6c42092164eeaae7011c2307f6d9846509e58db101a19dd51f4e95000de2f30ca2e77fd196187223d0ced7adad233d3ab57e286
 SHA512 
8458447c2a6d7ce0fdcfc7ec9b4ff1f8be0abf18a16804d245c3cef99408fcfb4b13aa18fca16c87e560316c97d281e214cf37fd7e17e243c1206c5575195dc8
 DIST kodi-21.2-Omega.tar.gz 41306955 BLAKE2B 
9d6199f380318a2df6f9b509fee909864c1fb957ca8a0a5344044d115ec58b20910d1a452e7ebf9701656858f54193669ff13c93d7787228e2d864fc4fb49797
 SHA512 
d49d74240b9c0aded3437dd81bc3324c03bea36834bca3920d5d26b4780275e3fea46efe1f3b33bb3e910d1ffe211ee17928bd8a441326a49713ac1120f083ea
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 
51e6fc033121241354a5f0b3fc9a430577ae3ff6bb7f31445aa548ef4893037fb80eea3b2c6774c81e9ebaf9c45e9b490c98c2c65eb38f9f7daba84b236f7e1d

diff --git a/media-tv/kodi/kodi-21.1-r3.ebuild 
b/media-tv/kodi/kodi-21.1-r3.ebuild
deleted file mode 100644
index 027a08daf175..
--- a/media-tv/kodi/kodi-21.1-r3.ebuild
+++ /dev/null
@@ -1,547 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CODENAME="Omega"
-
-# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
-
-# Versions for the forked projects that are bundled
-# See tools/depends/target//-VERSION
-LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
-LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
-LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
-FFMPEG_VERSION="6.0.1"
-
-# Java bundles from xbmc/interfaces/swig/CMakeLists.txt
-GROOVY_VERSION="4.0.16"
-APACHE_COMMON_LANG_VERSION="3.14.0"
-APACHE_COMMON_TEXT_VERSION="1.11.0"
-
-_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17,21} )
-JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
-# Required to be set, but not used.
-JAVA_PKG_WANT_SOURCE="21"
-JAVA_PKG_WANT_TARGET="21"
-
-PYTHON_REQ_USE="sqlite,ssl"
-PYTHON_COMPAT=( python3_{10..12} )
-
-# See cmake/scripts/common/ArchSetup.cmake for available options
-CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
-
-inherit autotools cmake desktop flag-o-matic java-pkg-2 libtool linux-info 
optfeature pax-utils python-single-r1 \
-   toolchain-funcs xdg
-
-DESCRIPTION="A free and open source media-player and entertainment hub"
-HOMEPAGE="https://kodi.tv/";
-
-SRC_URI="
-   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz
-   -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
-   

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-04-30 Thread Sam James
commit: 9698490a4724b78be474ae1f933476b432132623
Author: Alfred Wingate  protonmail  com>
AuthorDate: Wed Apr 30 18:05:15 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  1 01:25:51 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9698490a

media-tv/kodi: handle removal of the cubox use flag

Bug: https://bugs.gentoo.org/818262
Bug: https://bugs.gentoo.org/922690
Bug: https://bugs.gentoo.org/955124
Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41865
Closes: https://github.com/gentoo/gentoo/pull/41865
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/{kodi-21.2-r3.ebuild => kodi-21.2-r4.ebuild} | 2 +-
 media-tv/kodi/kodi-21..ebuild  | 2 +-
 media-tv/kodi/kodi-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-tv/kodi/kodi-21.2-r3.ebuild 
b/media-tv/kodi/kodi-21.2-r4.ebuild
similarity index 99%
rename from media-tv/kodi/kodi-21.2-r3.ebuild
rename to media-tv/kodi/kodi-21.2-r4.ebuild
index c373de86ba83..5d4e9d198de5 100644
--- a/media-tv/kodi/kodi-21.2-r3.ebuild
+++ b/media-tv/kodi/kodi-21.2-r4.ebuild
@@ -155,7 +155,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
sys-libs/libcap
)
cec? (
-   >=dev-libs/libcec-4.0[-cubox]
+   >=dev-libs/libcec-4.0[-cubox(-)]
)
dbus? (
sys-apps/dbus

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index f9c73b32d2d3..d3aaf5702af3 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -155,7 +155,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
sys-libs/libcap
)
cec? (
-   >=dev-libs/libcec-4.0[-cubox]
+   >=dev-libs/libcec-4.0[-cubox(-)]
)
dbus? (
sys-apps/dbus

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index e4dfd2af84ef..3dfc84e9e816 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -155,7 +155,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
sys-libs/libcap
)
cec? (
-   >=dev-libs/libcec-4.0[-cubox]
+   >=dev-libs/libcec-4.0[-cubox(-)]
)
dbus? (
sys-apps/dbus



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-04-22 Thread Eli Schwartz
commit: f5155c364abda7866b83f14251155f1aaa323ce1
Author: Eli Schwartz  gentoo  org>
AuthorDate: Tue Apr 22 20:10:02 2025 +
Commit: Eli Schwartz  gentoo  org>
CommitDate: Tue Apr 22 20:42:31 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5155c36

media-tv/kodi: bind to subslot of libdisplay-info due to soname changes

Signed-off-by: Eli Schwartz  gentoo.org>

 media-tv/kodi/{kodi-21.1-r2.ebuild => kodi-21.1-r3.ebuild} | 2 +-
 media-tv/kodi/kodi-21.2-r1.ebuild  | 2 +-
 media-tv/kodi/{kodi-21.2-r2.ebuild => kodi-21.2-r3.ebuild} | 2 +-
 media-tv/kodi/kodi-21..ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-tv/kodi/kodi-21.1-r2.ebuild 
b/media-tv/kodi/kodi-21.1-r3.ebuild
similarity index 99%
rename from media-tv/kodi/kodi-21.1-r2.ebuild
rename to media-tv/kodi/kodi-21.1-r3.ebuild
index 59d34addec85..027a08daf175 100644
--- a/media-tv/kodi/kodi-21.1-r2.ebuild
+++ b/media-tv/kodi/kodi-21.1-r3.ebuild
@@ -162,7 +162,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
gbm? (
>=dev-libs/libinput-1.10.5:=
-   media-libs/libdisplay-info
+   media-libs/libdisplay-info:=
x11-libs/libxkbcommon
)
gles? (

diff --git a/media-tv/kodi/kodi-21.2-r1.ebuild 
b/media-tv/kodi/kodi-21.2-r1.ebuild
index 92b36ae14070..5df6e0362b7a 100644
--- a/media-tv/kodi/kodi-21.2-r1.ebuild
+++ b/media-tv/kodi/kodi-21.2-r1.ebuild
@@ -162,7 +162,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
gbm? (
>=dev-libs/libinput-1.10.5:=
-   media-libs/libdisplay-info
+   media-libs/libdisplay-info:=
x11-libs/libxkbcommon
)
!gles? (

diff --git a/media-tv/kodi/kodi-21.2-r2.ebuild 
b/media-tv/kodi/kodi-21.2-r3.ebuild
similarity index 99%
rename from media-tv/kodi/kodi-21.2-r2.ebuild
rename to media-tv/kodi/kodi-21.2-r3.ebuild
index e2ff70653683..c373de86ba83 100644
--- a/media-tv/kodi/kodi-21.2-r2.ebuild
+++ b/media-tv/kodi/kodi-21.2-r3.ebuild
@@ -162,7 +162,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
gbm? (
>=dev-libs/libinput-1.10.5:=
-   media-libs/libdisplay-info
+   media-libs/libdisplay-info:=
x11-libs/libxkbcommon
)
!gles? (

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index f18d7f68d1b2..f9c73b32d2d3 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -162,7 +162,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
gbm? (
>=dev-libs/libinput-1.10.5:=
-   media-libs/libdisplay-info
+   media-libs/libdisplay-info:=
x11-libs/libxkbcommon
)
!gles? (



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-04-14 Thread Sam James
commit: 48338b8c47ef12deb55e317d078720f67fe4f83e
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 14 15:58:24 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 14 15:58:24 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48338b8c

media-tv/kodi: Stabilize 21.2-r2 arm64, #953693

Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-21.2-r2.ebuild 
b/media-tv/kodi/kodi-21.2-r2.ebuild
index f4a15f3264bf..f717f1db593d 100644
--- a/media-tv/kodi/kodi-21.2-r2.ebuild
+++ b/media-tv/kodi/kodi-21.2-r2.ebuild
@@ -67,7 +67,7 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2025-04-14 Thread Ionen Wolkens
commit: d4b8bb1ea03d10afbcaef6a13896d328a1dd5336
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Apr 13 18:22:11 2025 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Apr 14 01:22:09 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b8bb1e

media-tv/kodi: fix build against pipewire-1.4.0

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Ionen Wolkens  gentoo.org>

 .../kodi/files/kodi-21.2-pipewire-1.4.0-fix.patch  | 27 ++
 media-tv/kodi/kodi-21.2-r2.ebuild  |  1 +
 2 files changed, 28 insertions(+)

diff --git a/media-tv/kodi/files/kodi-21.2-pipewire-1.4.0-fix.patch 
b/media-tv/kodi/files/kodi-21.2-pipewire-1.4.0-fix.patch
new file mode 100644
index ..4b82d11e1532
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21.2-pipewire-1.4.0-fix.patch
@@ -0,0 +1,27 @@
+https://github.com/xbmc/xbmc/issues/26526
+https://github.com/xbmc/xbmc/commit/269053ebbfd3cc4a3156a511f54ab7f08a09a730
+https://github.com/xbmc/xbmc/pull/26502
+https://github.com/xbmc/xbmc/pull/26527
+
+From e23a105b8988aba9b8401493bf6031a6878bd435 Mon Sep 17 00:00:00 2001
+From: Timo Gurr 
+Date: Fri, 7 Mar 2025 13:30:47 +0100
+Subject: [PATCH] [AudioEngine] PipeWire: Fix build with PipeWire 1.4.0
+
+PipeWire >= 1.4.0 requires the correct struct type to be used, otherwise
+it will fail to compile.
+
+Reference: 
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/188d920733f0791413d3386e5536ee7377f71b2f
+(cherry picked from commit 269053ebbfd3cc4a3156a511f54ab7f08a09a730)
+--- a/xbmc/cores/AudioEngine/Sinks/pipewire/PipewireNode.cpp
 b/xbmc/cores/AudioEngine/Sinks/pipewire/PipewireNode.cpp
+@@ -40,7 +40,8 @@ void CPipewireNode::EnumerateFormats()
+   for (uint32_t param = 0; param < m_info->n_params; param++)
+   {
+ if (m_info->params[param].id == SPA_PARAM_EnumFormat)
+-  pw_node_enum_params(m_proxy.get(), 0, m_info->params[param].id, 0, 0, 
NULL);
++  pw_node_enum_params(reinterpret_cast(m_proxy.get()), 0,
++  m_info->params[param].id, 0, 0, NULL);
+   }
+ }
+ 

diff --git a/media-tv/kodi/kodi-21.2-r2.ebuild 
b/media-tv/kodi/kodi-21.2-r2.ebuild
index 25537ab93fa6..f48e181c5ed4 100644
--- a/media-tv/kodi/kodi-21.2-r2.ebuild
+++ b/media-tv/kodi/kodi-21.2-r2.ebuild
@@ -272,6 +272,7 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
"${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch
+   "${FILESDIR}"/kodi-21.2-pipewire-1.4.0-fix.patch
 )
 
 # bug #544020



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-04-13 Thread Ionen Wolkens
commit: f4c1c77134f178d68b23010ff39d459c97e99daf
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Apr 13 20:54:43 2025 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Apr 14 01:22:09 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c1c771

media-tv/kodi: no ffmpeg-compat detection for -system-ffmpeg

-system-ffmpeg doesn't require ffmpeg-compat, so the dependency may not
be present.

Closes: https://bugs.gentoo.org/951554
Fixes: 4dd83d2fb0d7d68405cdfdb9cfd11fe7809c8af2
Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41581
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-tv/kodi/kodi-21.2-r2.ebuild | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/media-tv/kodi/kodi-21.2-r2.ebuild 
b/media-tv/kodi/kodi-21.2-r2.ebuild
index f48e181c5ed4..f4a15f3264bf 100644
--- a/media-tv/kodi/kodi-21.2-r2.ebuild
+++ b/media-tv/kodi/kodi-21.2-r2.ebuild
@@ -439,10 +439,12 @@ src_configure() {
mycmakeargs+=( -DENABLE_${name^^}=$(usex ${flag}) )
done
 
-   # TODO: drop compat and allow using >=media-video/ffmpeg-7
-   ffmpeg_compat_setup 6
-   ffmpeg_compat_add_flags
-   mycmakeargs+=( 
-DFFMPEG_INCLUDE_DIRS="${SYSROOT}$(ffmpeg_compat_get_prefix 6)" )
+   if use system-ffmpeg; then
+   # TODO: drop compat and allow using >=media-video/ffmpeg-7
+   ffmpeg_compat_setup 6
+   ffmpeg_compat_add_flags
+   mycmakeargs+=( 
-DFFMPEG_INCLUDE_DIRS="${SYSROOT}$(ffmpeg_compat_get_prefix 6)" )
+   fi
 
if ! is-flag -DNDEBUG && ! is-flag -D_DEBUG ; then
# Kodi requires one of the 'NDEBUG' or '_DEBUG' defines



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-03-17 Thread Ionen Wolkens
commit: 7c9af09ff7e09ef103b5f15e902396158569409b
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Mar 18 01:19:41 2025 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Mar 18 01:56:47 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9af09f

media-tv/kodi: fix ffmpeg-compat detection

The right include dir was passed either way, but cmake use has
its own logic (not using pkg-config) and fails to find it if
non-compat ffmpeg is not also installed.

Note it is possible there are other cmake-using packages broken
in a similar way given they almost all do their own (different)
custom thing. Ultimately they'd have needed to be tested with
both installed and not installed to ensure they both do not use
the wrong one if present, and detect the right one properly --
only did the former so far (might review a few).

Thanks-to: Chris Mayo
Closes: https://bugs.gentoo.org/951504
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-tv/kodi/kodi-21.2-r2.ebuild | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/media-tv/kodi/kodi-21.2-r2.ebuild 
b/media-tv/kodi/kodi-21.2-r2.ebuild
index 2be1087c92f9..25537ab93fa6 100644
--- a/media-tv/kodi/kodi-21.2-r2.ebuild
+++ b/media-tv/kodi/kodi-21.2-r2.ebuild
@@ -333,10 +333,6 @@ src_prepare() {
 }
 
 src_configure() {
-   # TODO: drop compat and allow using >=media-video/ffmpeg-7
-   ffmpeg_compat_setup 6
-   ffmpeg_compat_add_flags
-
local core_platform=(
$(usev gbm)
$(usev wayland)
@@ -442,6 +438,11 @@ src_configure() {
mycmakeargs+=( -DENABLE_${name^^}=$(usex ${flag}) )
done
 
+   # TODO: drop compat and allow using >=media-video/ffmpeg-7
+   ffmpeg_compat_setup 6
+   ffmpeg_compat_add_flags
+   mycmakeargs+=( 
-DFFMPEG_INCLUDE_DIRS="${SYSROOT}$(ffmpeg_compat_get_prefix 6)" )
+
if ! is-flag -DNDEBUG && ! is-flag -D_DEBUG ; then
# Kodi requires one of the 'NDEBUG' or '_DEBUG' defines
append-cflags -DNDEBUG



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/

2025-03-14 Thread Jay Faulkner
commit: 154d036b1b870a77cbf57ff8b125bb411c6be7c9
Author: Jay Faulkner  gentoo  org>
AuthorDate: Fri Mar 14 21:52:33 2025 +
Commit: Jay Faulkner  gentoo  org>
CommitDate: Fri Mar 14 21:52:33 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154d036b

media-tv/kodi: fix swig-4.3.0 compat for 21.1

One line fix from https://github.com/xbmc/xbmc/pull/25863 for building
on swig-4.3.0. PR description indicates this is a noop for older swig.

Signed-off-by: Jay Faulkner  gentoo.org>

 .../kodi-21.1-fix-swig-4.3.0-build-pr25863.patch   | 27 ++
 media-tv/kodi/kodi-21.1-r2.ebuild  |  1 +
 2 files changed, 28 insertions(+)

diff --git a/media-tv/kodi/files/kodi-21.1-fix-swig-4.3.0-build-pr25863.patch 
b/media-tv/kodi/files/kodi-21.1-fix-swig-4.3.0-build-pr25863.patch
new file mode 100644
index ..aff5f9c135ca
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21.1-fix-swig-4.3.0-build-pr25863.patch
@@ -0,0 +1,27 @@
+From: https://github.com/xbmc/xbmc/pull/25863
+From 4ff0ba903bed472cddb0d6e5c53c8176cded6b09 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum 
+Date: Mon, 21 Oct 2024 22:10:29 +1100
+Subject: [PATCH] [swig] Fix building with swig 4.3.0
+
+swig 4.3.0 has dropped the -xmllang option used with -xml, which had no effect 
on the output.
+
+Ref:
+- https://github.com/swig/swig/commit/86498e46c6a6218a3d091c12513c40076ac2ce63
+---
+ xbmc/interfaces/swig/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xbmc/interfaces/swig/CMakeLists.txt 
b/xbmc/interfaces/swig/CMakeLists.txt
+index 1951b2a336789..46c84c7f7efc5 100644
+--- a/xbmc/interfaces/swig/CMakeLists.txt
 b/xbmc/interfaces/swig/CMakeLists.txt
+@@ -22,7 +22,7 @@ function(generate_file file)
+ 
+   add_custom_command(OUTPUT ${CPP_FILE}
+  COMMAND ${SWIG_EXECUTABLE}
+- ARGS -w401 -c++ -o ${file}.xml -xml 
-I${CMAKE_SOURCE_DIR}/xbmc -xmllang python 
${CMAKE_CURRENT_SOURCE_DIR}/../swig/${file}
++ ARGS -w401 -c++ -o ${file}.xml -xml 
-I${CMAKE_SOURCE_DIR}/xbmc ${CMAKE_CURRENT_SOURCE_DIR}/../swig/${file}
+  COMMAND ${Java_JAVA_EXECUTABLE}
+  ARGS ${JAVA_OPEN_OPTS} -cp "${classpath}" 
groovy.ui.GroovyMain ${CMAKE_SOURCE_DIR}/tools/codegenerator/Generator.groovy 
${file}.xml ${CMAKE_CURRENT_SOURCE_DIR}/../python/PythonSwig.cpp.template 
${file}.cpp > ${devnull}
+  ${CLANG_FORMAT_COMMAND}

diff --git a/media-tv/kodi/kodi-21.1-r2.ebuild 
b/media-tv/kodi/kodi-21.1-r2.ebuild
index 77e38b0c571a..59d34addec85 100644
--- a/media-tv/kodi/kodi-21.1-r2.ebuild
+++ b/media-tv/kodi/kodi-21.1-r2.ebuild
@@ -279,6 +279,7 @@ PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
"${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch
"${FILESDIR}"/kodi-21.1-fix-gcc15.patch
+   "${FILESDIR}"/kodi-21.1-fix-swig-4.3.0-build-pr25863.patch
 )
 
 # bug #544020



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-03-12 Thread Ionen Wolkens
commit: 4dd83d2fb0d7d68405cdfdb9cfd11fe7809c8af2
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Mar 12 06:51:47 2025 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Mar 12 10:11:44 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd83d2f

media-tv/kodi: use ffmpeg-compat

Does seem broken with ffmpeg-7 at a glance (was not sure if the
pinning was only to match the bundled version or because it was
actually broken) so let's use ffmpeg-compat instead to let users
upgrade.

kodi- seems to pin to ffmpeg-7 instead, but not going to look
at making that work in the older version esp. since I do not use
this.

Keeping old revision which can be stabled without pulling
ffmpeg-compat:6 for stable users, not that it'd be a big deal.

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-tv/kodi/kodi-21.2-r2.ebuild | 543 ++
 1 file changed, 543 insertions(+)

diff --git a/media-tv/kodi/kodi-21.2-r2.ebuild 
b/media-tv/kodi/kodi-21.2-r2.ebuild
new file mode 100644
index ..2be1087c92f9
--- /dev/null
+++ b/media-tv/kodi/kodi-21.2-r2.ebuild
@@ -0,0 +1,543 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CODENAME="Omega"
+
+# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
+
+# Versions for the forked projects that are bundled
+# See tools/depends/target//-VERSION
+LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
+LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
+LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
+FFMPEG_VERSION="6.0.1"
+
+# Java bundles from xbmc/interfaces/swig/CMakeLists.txt
+GROOVY_VERSION="4.0.16"
+APACHE_COMMON_LANG_VERSION="3.14.0"
+APACHE_COMMON_TEXT_VERSION="1.11.0"
+
+_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17,21} )
+JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
+# Required to be set, but not used.
+JAVA_PKG_WANT_SOURCE="21"
+JAVA_PKG_WANT_TARGET="21"
+
+PYTHON_REQ_USE="sqlite,ssl"
+PYTHON_COMPAT=( python3_{10..13} )
+
+# See cmake/scripts/common/ArchSetup.cmake for available options
+CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
+
+inherit autotools cmake desktop ffmpeg-compat flag-o-matic java-pkg-2 libtool
+inherit linux-info optfeature pax-utils python-single-r1 toolchain-funcs xdg
+
+DESCRIPTION="A free and open source media-player and entertainment hub"
+HOMEPAGE="https://kodi.tv/";
+
+SRC_URI="
+   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz
+   -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz
+   -> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
+   
https://mirrors.kodi.tv/build-deps/sources/apache-groovy-binary-${GROOVY_VERSION}.zip
+   
https://mirrors.kodi.tv/build-deps/sources/commons-lang3-${APACHE_COMMON_LANG_VERSION}-bin.tar.gz
+   
https://mirrors.kodi.tv/build-deps/sources/commons-text-${APACHE_COMMON_TEXT_VERSION}-bin.tar.gz
+   css? (
+   
https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz
+   -> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
+   )
+   !system-ffmpeg? (
+   https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz
+   )
+"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/xbmc/xbmc.git";
+   if [[ ${PV} != "" ]]; then
+   EGIT_BRANCH="${CODENAME}"
+   fi
+   inherit git-r3
+else
+   MY_PV=${PV/_p/_r}
+   MY_PV=${MY_PV/_alpha/a}
+   MY_PV=${MY_PV/_beta/b}
+   MY_PV=${MY_PV/_rc/rc}
+   MY_PV="${MY_PV}-${CODENAME}"
+   MY_P="${PN}-${MY_PV}"
+   SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+   S=${WORKDIR}/xbmc-${MY_PV}
+fi
+
+LICENSE="GPL-2+"
+# vendored dependencies
+# apache-groovy, common-lang3 and commons-text
+LICENSE+=" Apache-2.0"
+# libdvdnav, libdvdread and libdvdcss.
+LICENSE+=" GPL-2+"
+# ffmpeg built as USE="gpl"
+LICENSE+=" !system-ffmpeg? ( GPL-2 )"
+
+SLOT="0"
+# use flag is called libusb so that it doesn't fool people in thinking that
+# it is _required_ for USB support. Otherwise they'll disable udev and
+# that's going to be worse.
+IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio samba soc 
+system-ffmpeg test udf udev upnp vaapi vdpau wayland webserver X +xslt 
zeroconf ${CPU_FLAGS}"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( gbm wayland X )
+   ?? ( mariadb mysql )
+   bluray? ( udf )
+   gbm? ( udev )
+   soc? ( system-ffmpeg )
+   udev? ( !libusb )
+   vdpau? ( X !gles !gbm )
+   zeroconf? ( 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-03-11 Thread Ionen Wolkens
commit: 3aa249b30e74da624edbdfd49e448ae4ac7d031e
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Mar 10 06:20:14 2025 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Mar 11 09:03:21 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aa249b3

media-tv/kodi: update ffmpeg usedeps

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-tv/kodi/{kodi-21.1-r1.ebuild => kodi-21.1-r2.ebuild} | 4 ++--
 media-tv/kodi/{kodi-21.2.ebuild => kodi-21.2-r1.ebuild}| 2 +-
 media-tv/kodi/kodi-21..ebuild  | 2 +-
 media-tv/kodi/kodi-.ebuild | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-tv/kodi/kodi-21.1-r1.ebuild 
b/media-tv/kodi/kodi-21.1-r2.ebuild
similarity index 99%
rename from media-tv/kodi/kodi-21.1-r1.ebuild
rename to media-tv/kodi/kodi-21.1-r2.ebuild
index 9427b2c24098..77e38b0c571a 100644
--- a/media-tv/kodi/kodi-21.1-r1.ebuild
+++ b/media-tv/kodi/kodi-21.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -202,7 +202,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
+   
=media-video/ffmpeg-6*:=[encode(+),soc(-)?,postproc,vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2

diff --git a/media-tv/kodi/kodi-21.2.ebuild b/media-tv/kodi/kodi-21.2-r1.ebuild
similarity index 99%
rename from media-tv/kodi/kodi-21.2.ebuild
rename to media-tv/kodi/kodi-21.2-r1.ebuild
index 04bdfe5900bd..92b36ae14070 100644
--- a/media-tv/kodi/kodi-21.2.ebuild
+++ b/media-tv/kodi/kodi-21.2-r1.ebuild
@@ -196,7 +196,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
+   
=media-video/ffmpeg-6*:=[encode(+),soc(-)?,postproc,vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index 95e2804c72c5..f18d7f68d1b2 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -196,7 +196,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
+   
=media-video/ffmpeg-6*:=[encode(+),soc(-)?,postproc,vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 50bc0ab27be4..e4dfd2af84ef 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -196,7 +196,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-7*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
+   
=media-video/ffmpeg-7*:=[encode(+),soc(-)?,postproc,vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-02-21 Thread Sam James
commit: 85a51b3530d93a3da98539a3c0b83f9af94488b4
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Jan 23 23:00:55 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 21 13:00:05 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a51b35

media-tv/kodi: allow lto for 

Upstream addressed ODR violations during C++20 upgrade.
https://github.com/xbmc/xbmc/pull/24900

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 29e9d681f990..6a774fed553b 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -361,7 +361,6 @@ src_configure() {
-DENABLE_GOLD=OFF
-DENABLE_LLD=OFF
-DENABLE_MOLD=OFF
-   -DUSE_LTO=OFF
 
# Features
-DENABLE_AIRTUNES=$(usex airplay)
@@ -445,9 +444,11 @@ src_configure() {
append-cxxflags -DNDEBUG
fi
 
-   # Violates ODR (bug #860984) and USE_LTO does spooky stuff
-   # 
https://github.com/xbmc/xbmc/commit/cb72a22d54a91845b1092c295f84eeb48328921e
-   filter-lto
+   if tc-is-lto ; then
+   mycmakeargs+=( -DUSE_LTO=ON )
+   else
+   mycmakeargs+=( -DUSE_LTO=OFF )
+   fi
 
if tc-is-cross-compiler; then
for t in "${NATIVE_TOOLS[@]}" ; do



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-02-21 Thread Sam James
commit: cdc9ac76523e24587b1a5c09df77a026048c8603
Author: David GUGLIELMI  gmail  com>
AuthorDate: Thu Dec 26 16:52:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 21 13:00:06 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdc9ac76

media-tv/kodi: Remove the dependency on the "messages" USE flag of 
net-libs/libmicrohttpd

This USE flag no longer exists and messages is enabled unconditionally

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21.2.ebuild| 2 +-
 media-tv/kodi/kodi-21..ebuild | 2 +-
 media-tv/kodi/kodi-.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-tv/kodi/kodi-21.2.ebuild b/media-tv/kodi/kodi-21.2.ebuild
index f76f450a1b0b..04bdfe5900bd 100644
--- a/media-tv/kodi/kodi-21.2.ebuild
+++ b/media-tv/kodi/kodi-21.2.ebuild
@@ -223,7 +223,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=x11-libs/libxkbcommon-0.4.1[wayland]
)
webserver? (
-   >=net-libs/libmicrohttpd-0.9.77:=[messages(+)]
+   >=net-libs/libmicrohttpd-0.9.77:=
)
X? (
x11-libs/libX11

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index 1d4867d1e4e4..95e2804c72c5 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -223,7 +223,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=x11-libs/libxkbcommon-0.4.1[wayland]
)
webserver? (
-   >=net-libs/libmicrohttpd-0.9.77:=[messages(+)]
+   >=net-libs/libmicrohttpd-0.9.77:=
)
X? (
x11-libs/libX11

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 1baaead9c9d4..c17aca09fd3c 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -223,7 +223,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=x11-libs/libxkbcommon-0.4.1[wayland]
)
webserver? (
-   >=net-libs/libmicrohttpd-0.9.77:=[messages(+)]
+   >=net-libs/libmicrohttpd-0.9.77:=
)
X? (
x11-libs/libX11



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-02-21 Thread Sam James
commit: 884cac2c72e6fc7cbc108d7099ab399ac8889b16
Author: David GUGLIELMI  gmail  com>
AuthorDate: Thu Dec 26 18:23:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 21 13:00:05 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=884cac2c

media-tv/kodi: update media-libs/mesa USE flags

- =media-libs/mesa-21 the USE flags egl and gbm are no longer available 
and features are enabled by the opengl flag
```
$(meson_feature opengl gbm)
$(meson_feature opengl gles1)
$(meson_feature opengl gles2)
$(meson_feature opengl glvnd)
$(meson_feature opengl egl)
```
- As kodi need gl or gles, let's depend on media-libs/mesa[opengl,wayland?,X?]

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21.2.ebuild| 8 +---
 media-tv/kodi/kodi-21..ebuild | 8 +---
 media-tv/kodi/kodi-.ebuild| 8 +---
 3 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/media-tv/kodi/kodi-21.2.ebuild b/media-tv/kodi/kodi-21.2.ebuild
index 714b1eea369a..f76f450a1b0b 100644
--- a/media-tv/kodi/kodi-21.2.ebuild
+++ b/media-tv/kodi/kodi-21.2.ebuild
@@ -128,7 +128,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=media-libs/freetype-2.10.1
media-libs/harfbuzz:=
>=media-libs/libass-0.15.0:=
-   media-libs/mesa[egl(+),gbm(+)?,wayland?,X?]
+   media-libs/mesa[opengl,wayland?,X?]
media-libs/taglib:=
sci-libs/kissfft
virtual/libiconv
@@ -165,12 +165,6 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
media-libs/libdisplay-info
x11-libs/libxkbcommon
)
-   gles? (
-   || (
-   >=media-libs/mesa-24.1.0_rc1[opengl]
-   =media-libs/mesa-24.1.0_rc1[opengl]
-   =media-libs/mesa-24.1.0_rc1[opengl]
-   

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/

2025-02-21 Thread Sam James
commit: 197b2ffa3f1e2b05d1e353c3b31c690f8a3876cf
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Feb 21 06:23:09 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 21 13:00:06 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=197b2ffa

media-tv/kodi: update silence-libdvdread-git patch

Upstream commit: b7cbf93fb0eff07b6b968d0b5ca745871488ac64

Closes: https://bugs.gentoo.org/949828
Signed-off-by: Alfred Wingate  protonmail.com>
Thanks-To: Steffen Hau  hauihau.de>
Closes: https://github.com/gentoo/gentoo/pull/40284
Signed-off-by: Sam James  gentoo.org>

 .../files/kodi-22-silence-libdvdread-git.patch | 36 ++
 media-tv/kodi/kodi-.ebuild |  2 +-
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/media-tv/kodi/files/kodi-22-silence-libdvdread-git.patch 
b/media-tv/kodi/files/kodi-22-silence-libdvdread-git.patch
new file mode 100644
index ..91c1a5e9305e
--- /dev/null
+++ b/media-tv/kodi/files/kodi-22-silence-libdvdread-git.patch
@@ -0,0 +1,36 @@
+From a193fae2ace4aa9086f9b73fa7008a016c30061e Mon Sep 17 00:00:00 2001
+From: Alfred Wingate 
+Date: Wed, 21 Aug 2024 13:40:02 +0300
+Subject: [PATCH] Silence git "command not found"
+
+--- a/cmake/modules/FindLibDvdRead.cmake
 b/cmake/modules/FindLibDvdRead.cmake
+@@ -39,6 +39,9 @@ if(NOT TARGET LibDvdRead::LibDvdRead)
+ 
+   set(LIBDVDREAD_VERSION ${${MODULE}_VER})
+ 
++  set(patches 
"${CORE_SOURCE_DIR}/tools/depends/target/${${CMAKE_FIND_PACKAGE_NAME}_MODULE_LC}/silence-git.patch")
++  generate_patchcommand("${patches}")
++
+   set(HOST_ARCH ${ARCH})
+   if(CORE_SYSTEM_NAME STREQUAL android)
+ if(ARCH STREQUAL arm)
+--- /dev/null
 b/tools/depends/target/libdvdread/silence-git.patch
+@@ -0,0 +1,13 @@
++diff --git a/Makefile.am b/Makefile.am
++index f2849b8..7cee887 100644
++--- a/Makefile.am
+ b/Makefile.am
++@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -Im4
++ 
++ AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src/dvdread $(CSS_CFLAGS)
++ 
++-dist_doc_DATA = AUTHORS ChangeLog COPYING NEWS README.md TODO
+++dist_doc_DATA = AUTHORS COPYING NEWS README.md TODO
++ 
++ MAINTAINERCLEANFILES = ChangeLog
++ 
+-- 
+2.46.0
+

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index c17aca09fd3c..50bc0ab27be4 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -271,7 +271,7 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
-   "${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch
+   "${FILESDIR}"/kodi-22-silence-libdvdread-git.patch
 )
 
 # bug #544020



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-02-21 Thread Sam James
commit: fc154c6c437c792add27b91195c400c677d09e4f
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Jan 23 21:51:57 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 21 13:00:04 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc154c6c

media-tv/kodi: enable py3.13

https://github.com/xbmc/xbmc/commit/67a08669d583d1e275774b2312614becbe7dad25
Backport to Omega branch:
https://github.com/xbmc/xbmc/commit/67847ffed1b2c5d9bd7750c3a892861f6db9cef0

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21.2.ebuild| 2 +-
 media-tv/kodi/kodi-21..ebuild | 4 ++--
 media-tv/kodi/kodi-.ebuild| 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-tv/kodi/kodi-21.2.ebuild b/media-tv/kodi/kodi-21.2.ebuild
index 721a99aa0d6e..714b1eea369a 100644
--- a/media-tv/kodi/kodi-21.2.ebuild
+++ b/media-tv/kodi/kodi-21.2.ebuild
@@ -26,7 +26,7 @@ JAVA_PKG_WANT_SOURCE="21"
 JAVA_PKG_WANT_TARGET="21"
 
 PYTHON_REQ_USE="sqlite,ssl"
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 # See cmake/scripts/common/ArchSetup.cmake for available options
 CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index 199e3b5cbddd..e4b75b847bcc 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,7 +26,7 @@ JAVA_PKG_WANT_SOURCE="21"
 JAVA_PKG_WANT_TARGET="21"
 
 PYTHON_REQ_USE="sqlite,ssl"
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 # See cmake/scripts/common/ArchSetup.cmake for available options
 CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 4089393c396d..29e9d681f990 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,7 +26,7 @@ JAVA_PKG_WANT_SOURCE="21"
 JAVA_PKG_WANT_TARGET="21"
 
 PYTHON_REQ_USE="sqlite,ssl"
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 # See cmake/scripts/common/ArchSetup.cmake for available options
 CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2025-02-21 Thread Sam James
commit: 23b780856e7315fa012c7b68abb6271eb969fa3e
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Jan 23 21:45:17 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 21 13:00:04 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b78085

media-tv/kodi: add 21.2

Closes: https://bugs.gentoo.org/948618
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest |   1 +
 media-tv/kodi/kodi-21.2.ebuild | 545 +
 2 files changed, 546 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 2532f20511bd..bc715c13eeb3 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -4,6 +4,7 @@ DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2ced
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
 DIST ffmpeg-7.1.tar.gz 16610472 BLAKE2B 
bd9d3b8cb071fee266fb22fc510d3e920a5d7ae8d446637e7fcef9c9a7a6ff3b9d49c9e948e071bdedacaafac2f793b2616c922a58bf432502823da4f42a9ac9
 SHA512 
b0a82ca1a34fb9fa16ee4b7fa682d7c3fdcc68cd703c72487a2de434c714f2dede68d390e61dbb3669e435e271e4580d6bae00875d71a17ad39f43644c5fdd07
 DIST kodi-21.1-Omega.tar.gz 41091890 BLAKE2B 
e711ef9b958ff3f8e006913ea6c42092164eeaae7011c2307f6d9846509e58db101a19dd51f4e95000de2f30ca2e77fd196187223d0ced7adad233d3ab57e286
 SHA512 
8458447c2a6d7ce0fdcfc7ec9b4ff1f8be0abf18a16804d245c3cef99408fcfb4b13aa18fca16c87e560316c97d281e214cf37fd7e17e243c1206c5575195dc8
+DIST kodi-21.2-Omega.tar.gz 41306955 BLAKE2B 
9d6199f380318a2df6f9b509fee909864c1fb957ca8a0a5344044d115ec58b20910d1a452e7ebf9701656858f54193669ff13c93d7787228e2d864fc4fb49797
 SHA512 
d49d74240b9c0aded3437dd81bc3324c03bea36834bca3920d5d26b4780275e3fea46efe1f3b33bb3e910d1ffe211ee17928bd8a441326a49713ac1120f083ea
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 
51e6fc033121241354a5f0b3fc9a430577ae3ff6bb7f31445aa548ef4893037fb80eea3b2c6774c81e9ebaf9c45e9b490c98c2c65eb38f9f7daba84b236f7e1d
 DIST libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz 110513 BLAKE2B 
c94feb5a03a12efa5b7767965118d2500a088299ea36f3b82e46d157e45893e6b04503cb50f179ca681bac914457607fab26acfa6e304752b355c407578572d1
 SHA512 
629a41157d07b8ec0ea1fe89ae5ec48f63047472a862782b805c531ae31a0376fc4dc15175f8280c3ef91d7fa977bacebb1b51232640034a34bab2293210fc5e

diff --git a/media-tv/kodi/kodi-21.2.ebuild b/media-tv/kodi/kodi-21.2.ebuild
new file mode 100644
index ..721a99aa0d6e
--- /dev/null
+++ b/media-tv/kodi/kodi-21.2.ebuild
@@ -0,0 +1,545 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CODENAME="Omega"
+
+# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
+
+# Versions for the forked projects that are bundled
+# See tools/depends/target//-VERSION
+LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
+LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
+LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
+FFMPEG_VERSION="6.0.1"
+
+# Java bundles from xbmc/interfaces/swig/CMakeLists.txt
+GROOVY_VERSION="4.0.16"
+APACHE_COMMON_LANG_VERSION="3.14.0"
+APACHE_COMMON_TEXT_VERSION="1.11.0"
+
+_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17,21} )
+JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
+# Required to be set, but not used.
+JAVA_PKG_WANT_SOURCE="21"
+JAVA_PKG_WANT_TARGET="21"
+
+PYTHON_REQ_USE="sqlite,ssl"
+PYTHON_COMPAT=( python3_{10..12} )
+
+# See cmake/scripts/common/ArchSetup.cmake for available options
+CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
+
+inherit autotools cmake desktop flag-o-matic java-pkg-2 libtool linux-info 
optfeature pax-utils python-single-r1 \
+   toolchain-funcs xdg
+
+DESCRIPTION="A free and open source media-player and entertainment hub"
+HOMEPAGE="https://kodi.tv/";
+
+SRC_URI="
+   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz
+   -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz
+   -> 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-12-28 Thread Sam James
commit: d7c66ccab68812d0e5394d9be8a2bf3210e620a5
Author: Russell Dwiggins  gmail  com>
AuthorDate: Sat Dec 28 02:59:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 28 23:01:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c66cca

media-tv/kodi: bump ffmpeg in live

https://github.com/xbmc/xbmc/commit/72fe098c8436c96763f677b4c65d32988b931b5b

Signed-off-by: Russell Dwiggins  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39880
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest | 1 +
 media-tv/kodi/kodi-.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 343d43b19d9b..2532f20511bd 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -2,6 +2,7 @@ DIST apache-groovy-binary-4.0.16.zip 29793704 BLAKE2B 
30f77c6400c85821cf78f6ba10
 DIST commons-lang3-3.14.0-bin.tar.gz 9442785 BLAKE2B 
2ecdd06f97ac2688220055a08f67da9b859bed3ab00ff41800d5d9a1cebda599db2e816425c10c265dd6827a0ef79fc3dd094a8b3c9b9ae4ceae8f5750a59cf2
 SHA512 
8e7e62418a49ba810512c13a640a8bf35f878fcd54af32fdaabe37817f58b21b475980ba663fba4887e45ef8d88af8ff17796f20d202e929e8e2574546dc
 DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
+DIST ffmpeg-7.1.tar.gz 16610472 BLAKE2B 
bd9d3b8cb071fee266fb22fc510d3e920a5d7ae8d446637e7fcef9c9a7a6ff3b9d49c9e948e071bdedacaafac2f793b2616c922a58bf432502823da4f42a9ac9
 SHA512 
b0a82ca1a34fb9fa16ee4b7fa682d7c3fdcc68cd703c72487a2de434c714f2dede68d390e61dbb3669e435e271e4580d6bae00875d71a17ad39f43644c5fdd07
 DIST kodi-21.1-Omega.tar.gz 41091890 BLAKE2B 
e711ef9b958ff3f8e006913ea6c42092164eeaae7011c2307f6d9846509e58db101a19dd51f4e95000de2f30ca2e77fd196187223d0ced7adad233d3ab57e286
 SHA512 
8458447c2a6d7ce0fdcfc7ec9b4ff1f8be0abf18a16804d245c3cef99408fcfb4b13aa18fca16c87e560316c97d281e214cf37fd7e17e243c1206c5575195dc8
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 
51e6fc033121241354a5f0b3fc9a430577ae3ff6bb7f31445aa548ef4893037fb80eea3b2c6774c81e9ebaf9c45e9b490c98c2c65eb38f9f7daba84b236f7e1d

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 588992248647..4089393c396d 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -12,7 +12,7 @@ CODENAME="Piers"
 LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
 LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
 LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
-FFMPEG_VERSION="6.0.1"
+FFMPEG_VERSION="7.1"
 
 # Java bundles from xbmc/interfaces/swig/CMakeLists.txt
 GROOVY_VERSION="4.0.16"
@@ -202,7 +202,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=net-fs/samba-3.4.6[smbclient(+)]
)
system-ffmpeg? (
-   
=media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
+   
=media-video/ffmpeg-7*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
)
!system-ffmpeg? (
app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/

2024-10-01 Thread Andreas Sturmlechner
commit: 37350543d9bbbeab1aedda65f20ded3ac3ca11db
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Oct  1 19:07:16 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Oct  1 19:11:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37350543

media-tv/kodi: drop 21.0-r1, 21.0-r2

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-tv/kodi/Manifest|   1 -
 media-tv/kodi/files/kodi-21-fix-dvd-playing.patch |  50 ---
 media-tv/kodi/files/kodi-21-fix-gcc14.patch   |  42 --
 media-tv/kodi/kodi-21.0-r1.ebuild | 515 -
 media-tv/kodi/kodi-21.0-r2.ebuild | 516 --
 media-tv/kodi/metadata.xml|   4 -
 6 files changed, 1128 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index fc0af0953573..343d43b19d9b 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -2,7 +2,6 @@ DIST apache-groovy-binary-4.0.16.zip 29793704 BLAKE2B 
30f77c6400c85821cf78f6ba10
 DIST commons-lang3-3.14.0-bin.tar.gz 9442785 BLAKE2B 
2ecdd06f97ac2688220055a08f67da9b859bed3ab00ff41800d5d9a1cebda599db2e816425c10c265dd6827a0ef79fc3dd094a8b3c9b9ae4ceae8f5750a59cf2
 SHA512 
8e7e62418a49ba810512c13a640a8bf35f878fcd54af32fdaabe37817f58b21b475980ba663fba4887e45ef8d88af8ff17796f20d202e929e8e2574546dc
 DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
-DIST kodi-21.0-Omega.tar.gz 40987733 BLAKE2B 
33adaf588b3362dc9d184bfb66c36ad5fa2e442255da47db4813f926e73f5a607dd7de809ecf8a4982f985bc8dac53cba17fb9db6a009bb0cdb6284db3b1edb4
 SHA512 
9c2ca6b6e72197d2b1c26a47cf4ddc209318fcaa5a30ea20475ecc5518c7d1395c2e9cf3e3a75a13334b0505e7b417acdb0d76a20567a0c86841b3e69232625b
 DIST kodi-21.1-Omega.tar.gz 41091890 BLAKE2B 
e711ef9b958ff3f8e006913ea6c42092164eeaae7011c2307f6d9846509e58db101a19dd51f4e95000de2f30ca2e77fd196187223d0ced7adad233d3ab57e286
 SHA512 
8458447c2a6d7ce0fdcfc7ec9b4ff1f8be0abf18a16804d245c3cef99408fcfb4b13aa18fca16c87e560316c97d281e214cf37fd7e17e243c1206c5575195dc8
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 
51e6fc033121241354a5f0b3fc9a430577ae3ff6bb7f31445aa548ef4893037fb80eea3b2c6774c81e9ebaf9c45e9b490c98c2c65eb38f9f7daba84b236f7e1d

diff --git a/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch 
b/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch
deleted file mode 100644
index febcdc2197e4..
--- a/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-https://bugs.gentoo.org/933370
-https://github.com/xbmc/xbmc/issues/24955
-https://github.com/xbmc/xbmc/pull/24968
-
-From e8493d3ac390bac4ca74fa5435bb258d6764dae5 Mon Sep 17 00:00:00 2001
-From: Jose Luis Marti 
-Date: Tue, 9 Apr 2024 23:06:10 +0200
-Subject: [PATCH] [DllLoader] Remove fstatvfs64 wrapper
-
-Co-authored-by: fuzzard 
 a/xbmc/cores/DllLoader/exports/wrapper.c
-+++ b/xbmc/cores/DllLoader/exports/wrapper.c
-@@ -36,7 +36,6 @@ typedef fpos_tfpos64_t;
- #endif
- 
- struct mntent;
--struct statvfs64;
- 
- void* dllmalloc(size_t );
- void* dllcalloc( size_t , size_t );
-@@ -92,7 +91,6 @@ int dll_ftrylockfile(FILE *file);
- void dll_funlockfile(FILE *file);
- int dll_fstat64(int fd, struct stat64 *buf);
- int dll_fstat(int fd, struct _stat *buf);
--int dll_fstatvfs64(int fildes, struct statvfs64 *buf);
- FILE* dll_popen(const char *command, const char *mode);
- void* dll_dlopen(const char *filename, int flag);
- int dll_setvbuf(FILE *stream, char *buf, int type, size_t size);
-@@ -445,11 +443,6 @@ int __wrap_fstat64(int fd, struct stat64* buf)
-   return dll_fstat64(fd, buf);
- }
- 
--int __wrap_fstatvfs64(int fd, struct statvfs64* buf)
--{
--  return dll_fstatvfs64(fd, buf);
--}
--
- int __wrap_setvbuf(FILE *stream, char *buf, int type, size_t size)
- {
-return dll_setvbuf(stream, buf, type, size);
 a/xbmc/cores/DllLoader/exports/wrapper_mach_alias
-+++ 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-09-17 Thread Sam James
commit: 6335da1e69b83b13654c6c626522777a4527b3c3
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 17 15:59:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 17 15:59:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6335da1e

media-tv/kodi: Stabilize 21.1 amd64, #939611

Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-21.1.ebuild b/media-tv/kodi/kodi-21.1.ebuild
index 36837851624c..40695f070a1a 100644
--- a/media-tv/kodi/kodi-21.1.ebuild
+++ b/media-tv/kodi/kodi-21.1.ebuild
@@ -67,7 +67,7 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-09-14 Thread Arthur Zamarin
commit: 9531ee482c6fe2d417b5ade13dcb2a8cfba45ff3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Sep 15 04:32:05 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Sep 15 04:32:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9531ee48

media-tv/kodi: Stabilize 21.1 arm64, #939611

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-tv/kodi/kodi-21.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-21.1.ebuild b/media-tv/kodi/kodi-21.1.ebuild
index 7fb0e97e5bdf..36837851624c 100644
--- a/media-tv/kodi/kodi-21.1.ebuild
+++ b/media-tv/kodi/kodi-21.1.ebuild
@@ -67,7 +67,7 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2024-09-14 Thread Andreas Sturmlechner
commit: 4aae5251ec3c8d40d17390a3261dfb1939c7bd75
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Sep 14 10:46:17 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Sep 14 20:11:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aae5251

media-tv/kodi: drop 19.5-r2, 20.5-r1, de-stabilising x86

19*: still no python3_12, broken against current stable toolchain
x86: tests are failing w/ 32-bit, we've waited long enough.

Bug: https://bugs.gentoo.org/779184
Bug: https://bugs.gentoo.org/905103
Bug: https://bugs.gentoo.org/932996
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-tv/kodi/Manifest |   7 -
 media-tv/kodi/files/kodi-19.4-atomic.patch | 108 -
 media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch|  94 
 .../files/kodi-19.4-fix-mesa-22.3.0-build.patch|  12 -
 media-tv/kodi/files/kodi-19.5-flatbuffers.patch|  35 --
 media-tv/kodi/files/kodi-19.5-gcc-13.patch |  70 ---
 media-tv/kodi/files/kodi-20.2-binutils-2.41.patch  | 103 -
 media-tv/kodi/files/kodi-20.3-gcc-14.patch |  72 
 media-tv/kodi/kodi-19.5-r2.ebuild  | 382 
 media-tv/kodi/kodi-20.5-r1.ebuild  | 479 -
 10 files changed, 1362 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 470709e254cd..fc0af0953573 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -2,15 +2,8 @@ DIST apache-groovy-binary-4.0.16.zip 29793704 BLAKE2B 
30f77c6400c85821cf78f6ba10
 DIST commons-lang3-3.14.0-bin.tar.gz 9442785 BLAKE2B 
2ecdd06f97ac2688220055a08f67da9b859bed3ab00ff41800d5d9a1cebda599db2e816425c10c265dd6827a0ef79fc3dd094a8b3c9b9ae4ceae8f5750a59cf2
 SHA512 
8e7e62418a49ba810512c13a640a8bf35f878fcd54af32fdaabe37817f58b21b475980ba663fba4887e45ef8d88af8ff17796f20d202e929e8e2574546dc
 DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
 DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
-DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b419d9333cf75b00e291f1ea7447cbdc579ee2f860de7c436c924253600f3fbd6e3faaabe97aaf46db083a5bbd2f5f03badcca5d643e89
 SHA512 
d3719253d674b16638b873545583b82fba3176803c81ba8bcb37e90456dd956f1c2ee8996493840cff2d61c6399f06ed0524a759f46e4ce174bce23e9c6eda4a
-DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d55341c5fdb540474e197b85062228ab4b314c8309ec11985aa7f10519fc6106529e8e58c86eafe268190894be8532d0e0b9065fa6
 SHA512 
8beb04d577b5251e74b0d52f4d130997a8ba94bbd488c7c8309e6b45095c27807e150212888ce3a384b23dff52f8df1a7bde5407bae924ddc363f8125c0616c5
-DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
-DIST kodi-20.5-Nexus.tar.gz 54568445 BLAKE2B 
15eb409918fa3768528d9abd24c52fd8b94c82699ef2ce10a529278fe25544dc335b66d137ae8ae304511cd92c1c0be34881937ec705ba936f5a4b0d737903f7
 SHA512 
a47a54ca11e1d3daeddea8c1ae716cd4461e3441de43a026a920c709b2ff5c7e0acc2a5fd4ac8c15f0da1940bd7f21a65eff32203ad8e167603c1576b21d4dcc
 DIST kodi-21.0-Omega.tar.gz 40987733 BLAKE2B 
33adaf588b3362dc9d184bfb66c36ad5fa2e442255da47db4813f926e73f5a607dd7de809ecf8a4982f985bc8dac53cba17fb9db6a009bb0cdb6284db3b1edb4
 SHA512 
9c2ca6b6e72197d2b1c26a47cf4ddc209318fcaa5a30ea20475ecc5518c7d1395c2e9cf3e3a75a13334b0505e7b417acdb0d76a20567a0c86841b3e69232625b
 DIST kodi-21.1-Omega.tar.gz 41091890 BLAKE2B 
e711ef9b958ff3f8e006913ea6c42092164eeaae7011c2307f6d9846509e58db101a19dd51f4e95000de2f30ca2e77fd196187223d0ced7adad233d3ab57e286
 SHA512 
8458447c2a6d7ce0fdcfc7ec9b4ff1f8be0abf18a16804d245c3cef99408fcfb4b13aa18fca16c87e560316c97d281e214cf37fd7e17e243c1206c5575195dc8
-DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/

2024-09-14 Thread Andreas Sturmlechner
commit: 773ffba7ffaf7b9e33e3ac92a6871cfb39916383
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sat Sep 14 14:33:51 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Sep 14 19:55:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773ffba7

media-tv/kodi: fix gcc-15

Closes: https://bugs.gentoo.org/938531
Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38606
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-tv/kodi/files/kodi-21.1-fix-gcc15.patch | 116 ++
 media-tv/kodi/kodi-21.1.ebuild|   1 +
 2 files changed, 117 insertions(+)

diff --git a/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch 
b/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch
new file mode 100644
index ..5ab776e70f50
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch
@@ -0,0 +1,116 @@
+https://bugs.gentoo.org/938531
+https://github.com/xbmc/xbmc/pull/25735
+
+From 75e7b25883af5d2c8c89dbe6d830a5c17e9452f2 Mon Sep 17 00:00:00 2001
+From: Alfred Wingate 
+Date: Sat, 14 Sep 2024 13:46:25 +0300
+Subject: [PATCH] Include missing  includes
+
+* GCC-15 stopped implicitly including it.
+
+Signed-off-by: Alfred Wingate 
+--- a/xbmc/ContextMenuItem.h
 b/xbmc/ContextMenuItem.h
+@@ -8,6 +8,7 @@
+ 
+ #pragma once
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/xbmc/addons/AddonManager.h
 b/xbmc/addons/AddonManager.h
+@@ -11,6 +11,7 @@
+ #include "threads/CriticalSection.h"
+ #include "utils/EventStream.h"
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/xbmc/addons/IAddon.h
 b/xbmc/addons/IAddon.h
+@@ -8,6 +8,7 @@
+ 
+ #pragma once
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/xbmc/cores/RetroPlayer/streams/RetroPlayerVideo.h
 b/xbmc/cores/RetroPlayer/streams/RetroPlayerVideo.h
+@@ -11,6 +11,8 @@
+ #include "IRetroPlayerStream.h"
+ #include "cores/RetroPlayer/RetroPlayerTypes.h"
+ 
++#include 
++
+ extern "C"
+ {
+ #include 
+--- a/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/ConversionMatrix.h
 b/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/ConversionMatrix.h
+@@ -10,6 +10,7 @@
+ 
+ #include 
+ #include 
++#include 
+ #include 
+ 
+ extern "C" {
+--- a/xbmc/guilib/FFmpegImage.h
 b/xbmc/guilib/FFmpegImage.h
+@@ -9,6 +9,8 @@
+ #pragma once
+ 
+ #include "iimage.h"
++
++#include 
+ #include 
+ 
+ extern "C"
+--- a/xbmc/input/keymaps/remote/IRTranslator.h
 b/xbmc/input/keymaps/remote/IRTranslator.h
+@@ -8,6 +8,7 @@
+ 
+ #pragma once
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/xbmc/messaging/ThreadMessage.h
 b/xbmc/messaging/ThreadMessage.h
+@@ -8,6 +8,7 @@
+ 
+ #pragma once
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/xbmc/settings/AdvancedSettings.h
 b/xbmc/settings/AdvancedSettings.h
+@@ -13,6 +13,7 @@
+ #include "settings/lib/ISettingsHandler.h"
+ #include "utils/SortUtils.h"
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/xbmc/utils/Archive.h
 b/xbmc/utils/Archive.h
+@@ -8,6 +8,7 @@
+ 
+ #pragma once
+ 
++#include 
+ #include 
+ #include 
+ #include 
+-- 
+2.46.0
+

diff --git a/media-tv/kodi/kodi-21.1.ebuild b/media-tv/kodi/kodi-21.1.ebuild
index 09ed7be38e5e..7fb0e97e5bdf 100644
--- a/media-tv/kodi/kodi-21.1.ebuild
+++ b/media-tv/kodi/kodi-21.1.ebuild
@@ -278,6 +278,7 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
"${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch
+   "${FILESDIR}"/kodi-21.1-fix-gcc15.patch
 )
 
 # bug #544020



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-08-25 Thread Sam James
commit: f342cc586ca240c625e759034fe52a0de173c585
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 25 16:44:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 25 16:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f342cc58

media-tv/kodi: Keyword 21.1 arm, #930571

Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-21.1.ebuild b/media-tv/kodi/kodi-21.1.ebuild
index 3e9e0d60425b..09ed7be38e5e 100644
--- a/media-tv/kodi/kodi-21.1.ebuild
+++ b/media-tv/kodi/kodi-21.1.ebuild
@@ -67,7 +67,7 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-08-25 Thread Sam James
commit: adf039430d7b86abb11944fae8510630b86f07ba
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Aug 18 08:13:25 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 25 16:08:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf03943

media-tv/kodi: update live

* Update dependencies for new unreleased kodi major version.

See-Also: cda5ce3c9ba239a0ec7a2bc476b12483fa58f309
Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38235
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21..ebuild | 60 ++---
 media-tv/kodi/kodi-.ebuild| 71 +--
 2 files changed, 101 insertions(+), 30 deletions(-)

diff --git a/media-tv/kodi/kodi-21..ebuild 
b/media-tv/kodi/kodi-21..ebuild
index 7ca90c8d20dd..3e9e0d60425b 100644
--- a/media-tv/kodi/kodi-21..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -19,16 +19,16 @@ GROOVY_VERSION="4.0.16"
 APACHE_COMMON_LANG_VERSION="3.14.0"
 APACHE_COMMON_TEXT_VERSION="1.11.0"
 
-# Doesn't build with jdk-21
-_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17} )
+_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17,21} )
 JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
 # Required to be set, but not used.
-JAVA_PKG_WANT_SOURCE="17"
-JAVA_PKG_WANT_TARGET="17"
+JAVA_PKG_WANT_SOURCE="21"
+JAVA_PKG_WANT_TARGET="21"
 
 PYTHON_REQ_USE="sqlite,ssl"
 PYTHON_COMPAT=( python3_{10..12} )
 
+# See cmake/scripts/common/ArchSetup.cmake for available options
 CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
 
 inherit autotools cmake desktop flag-o-matic java-pkg-2 libtool linux-info 
optfeature pax-utils python-single-r1 \
@@ -67,11 +67,19 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 
 LICENSE="GPL-2+"
+# vendored dependencies
+# apache-groovy, common-lang3 and commons-text
+LICENSE+=" Apache-2.0"
+# libdvdnav, libdvdread and libdvdcss.
+LICENSE+=" GPL-2+"
+# ffmpeg built as USE="gpl"
+LICENSE+=" !system-ffmpeg? ( GPL-2 )"
+
 SLOT="0"
 # use flag is called libusb so that it doesn't fool people in thinking that
 # it is _required_ for USB support. Otherwise they'll disable udev and
@@ -79,7 +87,7 @@ SLOT="0"
 IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio samba soc 
+system-ffmpeg test udf udev upnp vaapi vdpau wayland webserver X +xslt 
zeroconf ${CPU_FLAGS}"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
-   ^^ ( gbm wayland X )
+   || ( gbm wayland X )
?? ( mariadb mysql )
bluray? ( udf )
gbm? ( udev )
@@ -122,7 +130,6 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=media-libs/libass-0.15.0:=
media-libs/mesa[egl(+),gbm(+)?,wayland?,X?]
>=media-libs/taglib-1.9.0
-   =media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
sci-libs/kissfft
virtual/libiconv
virtual/ttf-fonts
@@ -194,6 +201,15 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
samba? (
>=net-fs/samba-3.4.6[smbclient(+)]
)
+   system-ffmpeg? (
+   
=media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
+   )
+   !system-ffmpeg? (
+   app-arch/bzip2
+   app-arch/xz-utils
+   media-libs/dav1d:=
+   net-libs/gnutls:=
+   )
udf? (
>=dev-libs/libudfread-1.0.0
)
@@ -253,12 +269,17 @@ BDEPEND="
dev-build/cmake
dev-lang/swig
virtual/pkgconfig
-   <=virtual/jre-17:*
+   <=virtual/jre-21:*
doc? (
app-text/doxygen
)
 "
 
+PATCHES=(
+   "${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
+   "${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch
+)
+
 # bug #544020
 CONFIG_CHECK="~IP_MULTICAST"
 ERROR_IP_MULTICAST="
@@ -318,11 +339,17 @@ src_prepare() {
 }
 
 src_configure() {
+   local core_platform=(
+   $(usev gbm)
+   $(usev wayland)
+   $(usev X x11)
+   )
+
local mycmakeargs=(
-Wno-dev # less noise
 
-DAPP_RENDER_SYSTEM=$(usex gles gles gl)
-   -DCORE_PLATFORM_NAME=$(usev gbm)$(usev wayland)$(usev X x11)
+   -DCORE_PLATFORM_NAME="${core_platform[*]}"
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
-DENABLE_TESTING=$(usex test)
-DVERBOSE=ON
@@ -353,7 +380,7 @@ src_configure() {
-DENABLE_CEC=$(usex cec)
   

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2024-08-25 Thread Sam James
commit: dd83e4cf9ccbccd0cd854c4b503c775fb048acc8
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Aug 18 08:03:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 25 16:08:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd83e4cf

media-tv/kodi: add 21.1

* Allow building multiple with display backends.
* Allow building with openjdk-21.
* Skip TestDateTime for 32-bit arches comphensively.
* Explicitly list licenses for vendored dependencies.
* Fix system-ffmpeg

Bug: https://bugs.gentoo.org/779184
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest |   1 +
 .../files/kodi-21-optional-ffmpeg-libx11.patch |  14 +
 .../files/kodi-21.1-silence-libdvdread-git.patch   |  36 ++
 media-tv/kodi/kodi-21.1.ebuild | 545 +
 4 files changed, 596 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 3f1e09c883ae..470709e254cd 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -7,6 +7,7 @@ DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d5
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
 DIST kodi-20.5-Nexus.tar.gz 54568445 BLAKE2B 
15eb409918fa3768528d9abd24c52fd8b94c82699ef2ce10a529278fe25544dc335b66d137ae8ae304511cd92c1c0be34881937ec705ba936f5a4b0d737903f7
 SHA512 
a47a54ca11e1d3daeddea8c1ae716cd4461e3441de43a026a920c709b2ff5c7e0acc2a5fd4ac8c15f0da1940bd7f21a65eff32203ad8e167603c1576b21d4dcc
 DIST kodi-21.0-Omega.tar.gz 40987733 BLAKE2B 
33adaf588b3362dc9d184bfb66c36ad5fa2e442255da47db4813f926e73f5a607dd7de809ecf8a4982f985bc8dac53cba17fb9db6a009bb0cdb6284db3b1edb4
 SHA512 
9c2ca6b6e72197d2b1c26a47cf4ddc209318fcaa5a30ea20475ecc5518c7d1395c2e9cf3e3a75a13334b0505e7b417acdb0d76a20567a0c86841b3e69232625b
+DIST kodi-21.1-Omega.tar.gz 41091890 BLAKE2B 
e711ef9b958ff3f8e006913ea6c42092164eeaae7011c2307f6d9846509e58db101a19dd51f4e95000de2f30ca2e77fd196187223d0ced7adad233d3ab57e286
 SHA512 
8458447c2a6d7ce0fdcfc7ec9b4ff1f8be0abf18a16804d245c3cef99408fcfb4b13aa18fca16c87e560316c97d281e214cf37fd7e17e243c1206c5575195dc8
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 
7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355
 SHA512 
11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72

diff --git a/media-tv/kodi/files/kodi-21-optional-ffmpeg-libx11.patch 
b/media-tv/kodi/files/kodi-21-optional-ffmpeg-libx11.patch
new file mode 100644
index ..1d0805a3e574
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21-optional-ffmpeg-libx11.patch
@@ -0,0 +1,14 @@
+--- a/tools/depends/target/ffmpeg/CMakeLists.txt
 b/tools/depends/target/ffmpeg/CMakeLists.txt
+@@ -74,6 +74,11 @@ if(CORE_SYSTEM_NAME STREQUAL linux OR CORE_SYSTEM_NAME 
STREQUAL freebsd)
+   else()
+ list(APPEND ffmpeg_conf --disable-vdpau)
+   endif()
++  if ("x11" IN_LIST CORE_PLATFORM_NAME_LC)
++list(APPEND ffmpeg_conf --enable-xlib)
++  else()
++list(APPEND ffmpeg_conf --disable-xlib)
++  endif()
+ elseif(CORE_SYSTEM_NAME STREQUAL android)
+   list(APPEND ffmpeg_conf --target-os=android
+   --extra-libs=-liconv

diff --git a/media-tv/kodi/files/kodi-21.1-silence-libdvdread-git.patch 
b/media-tv/kodi/files/kodi-21.1-silence-libdvdread-git.patch
new file mode 100644
index ..83190d91e1db
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21.1-silence-libdvdread-git.patch
@@ -0,0 +1,36 @@
+From a193fae2ace4aa9086f9b73fa7008a016c30061e Mon Sep 17 00:00:00 2001
+From: Alfred Wingate 
+Date: Wed, 21 Aug 2024 13:40:02 +0300
+Subject: [PATCH] Silence git "command not found"
+
+--- a/cmake/modules/FindLibDvdRead.cmake
 b/cmake/modules/FindLibDvdRead.cmake
+@@ -39,6 +39,9 @@ if(NOT TARGET LibDvdRead::LibDvdRead)
+ 
+   set(LIBDVDREAD_VERSION ${${MODULE}_VER})
+ 
++  set(patches 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-06-30 Thread James Le Cuirot
commit: e81cf52adc2b260ca0b62a1967afd45d3f8fffd6
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Jun 30 14:43:38 2024 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jun 30 15:05:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e81cf52a

media-tv/kodi: Add sub-slot operator for libdisplay-info to 

Note that I have not tested with libdisplay-info 0.2.0.

Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index c35eff70ba6d..e4efd7f63cd8 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -154,7 +154,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
gbm? (
>=dev-libs/libinput-1.10.5:=
-   media-libs/libdisplay-info
+   media-libs/libdisplay-info:=
x11-libs/libxkbcommon
)
gles? (



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2024-06-02 Thread Sam James
commit: 4012f0c17431071322b37b09006a6f6aa7334735
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sat Jun  1 16:58:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 07:09:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4012f0c1

media-tv/kodi: fix issue that breaks playing DVDs and BluRays

Bug: https://bugs.gentoo.org/933370
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/files/kodi-21-fix-dvd-playing.patch |  50 +++
 media-tv/kodi/kodi-21.0-r2.ebuild | 516 ++
 2 files changed, 566 insertions(+)

diff --git a/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch 
b/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch
new file mode 100644
index ..febcdc2197e4
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch
@@ -0,0 +1,50 @@
+https://bugs.gentoo.org/933370
+https://github.com/xbmc/xbmc/issues/24955
+https://github.com/xbmc/xbmc/pull/24968
+
+From e8493d3ac390bac4ca74fa5435bb258d6764dae5 Mon Sep 17 00:00:00 2001
+From: Jose Luis Marti 
+Date: Tue, 9 Apr 2024 23:06:10 +0200
+Subject: [PATCH] [DllLoader] Remove fstatvfs64 wrapper
+
+Co-authored-by: fuzzard 
+--- a/xbmc/cores/DllLoader/exports/wrapper.c
 b/xbmc/cores/DllLoader/exports/wrapper.c
+@@ -36,7 +36,6 @@ typedef fpos_tfpos64_t;
+ #endif
+ 
+ struct mntent;
+-struct statvfs64;
+ 
+ void* dllmalloc(size_t );
+ void* dllcalloc( size_t , size_t );
+@@ -92,7 +91,6 @@ int dll_ftrylockfile(FILE *file);
+ void dll_funlockfile(FILE *file);
+ int dll_fstat64(int fd, struct stat64 *buf);
+ int dll_fstat(int fd, struct _stat *buf);
+-int dll_fstatvfs64(int fildes, struct statvfs64 *buf);
+ FILE* dll_popen(const char *command, const char *mode);
+ void* dll_dlopen(const char *filename, int flag);
+ int dll_setvbuf(FILE *stream, char *buf, int type, size_t size);
+@@ -445,11 +443,6 @@ int __wrap_fstat64(int fd, struct stat64* buf)
+   return dll_fstat64(fd, buf);
+ }
+ 
+-int __wrap_fstatvfs64(int fd, struct statvfs64* buf)
+-{
+-  return dll_fstatvfs64(fd, buf);
+-}
+-
+ int __wrap_setvbuf(FILE *stream, char *buf, int type, size_t size)
+ {
+return dll_setvbuf(stream, buf, type, size);
+--- a/xbmc/cores/DllLoader/exports/wrapper_mach_alias
 b/xbmc/cores/DllLoader/exports/wrapper_mach_alias
+@@ -20,7 +20,6 @@ ___wrap_fread _fread
+ ___wrap_freopen _freopen
+ ___wrap_fseek _fseek
+ ___wrap_fsetpos _fsetpos
+-___wrap_fstatvfs64 _fstatvfs64
+ ___wrap_ftell _ftell
+ ___wrap_ftrylockfile _ftrylockfile
+ ___wrap_funlockfile _funlockfile

diff --git a/media-tv/kodi/kodi-21.0-r2.ebuild 
b/media-tv/kodi/kodi-21.0-r2.ebuild
new file mode 100644
index ..f975ad26a22a
--- /dev/null
+++ b/media-tv/kodi/kodi-21.0-r2.ebuild
@@ -0,0 +1,516 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CODENAME="Omega"
+
+# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
+
+# Versions for the forked projects that are bundled
+# See tools/depends/target//-VERSION
+LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
+LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
+LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
+FFMPEG_VERSION="6.0.1"
+
+# Java bundles from xbmc/interfaces/swig/CMakeLists.txt
+GROOVY_VERSION="4.0.16"
+APACHE_COMMON_LANG_VERSION="3.14.0"
+APACHE_COMMON_TEXT_VERSION="1.11.0"
+
+# Doesn't build with jdk-21
+_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17} )
+JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
+# Required to be set, but not used.
+JAVA_PKG_WANT_SOURCE="17"
+JAVA_PKG_WANT_TARGET="17"
+
+PYTHON_REQ_USE="sqlite,ssl"
+PYTHON_COMPAT=( python3_{10..12} )
+
+CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
+
+inherit autotools cmake desktop flag-o-matic java-pkg-2 libtool linux-info 
optfeature pax-utils python-single-r1 \
+   toolchain-funcs xdg
+
+DESCRIPTION="A free and open source media-player and entertainment hub"
+HOMEPAGE="https://kodi.tv/";
+
+SRC_URI="
+   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz
+   -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz
+   -> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
+   
https://mirrors.kodi.tv/build-deps/sources/apache-groovy-binary-${GROOVY_VERSION}.zip
+   
https://mirrors.kodi.tv/build-deps/sources/commons-lang3-${APACHE_COMMON_LANG_VERSION}-bin.tar.gz
+   
https://mirrors.kodi.tv/build-deps/sources/commons-text-${APACHE_COMMON_TEXT_VERSION}-bin.tar.gz
+   css? (
+   
https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz
+   -> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
+   )
+   !system-ffmpeg? (
+

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-06-02 Thread Sam James
commit: 2d8045cea8c70fde5cfc6a0a2d47f783bf36d604
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sat Jun  1 17:03:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 07:09:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d8045ce

media-tv/kodi: drop 20.3-r1

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36954
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest|   1 -
 media-tv/kodi/kodi-20.3-r1.ebuild | 479 --
 2 files changed, 480 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 47f605fae4f9..3f1e09c883ae 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -5,7 +5,6 @@ DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae615894131
 DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b419d9333cf75b00e291f1ea7447cbdc579ee2f860de7c436c924253600f3fbd6e3faaabe97aaf46db083a5bbd2f5f03badcca5d643e89
 SHA512 
d3719253d674b16638b873545583b82fba3176803c81ba8bcb37e90456dd956f1c2ee8996493840cff2d61c6399f06ed0524a759f46e4ce174bce23e9c6eda4a
 DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d55341c5fdb540474e197b85062228ab4b314c8309ec11985aa7f10519fc6106529e8e58c86eafe268190894be8532d0e0b9065fa6
 SHA512 
8beb04d577b5251e74b0d52f4d130997a8ba94bbd488c7c8309e6b45095c27807e150212888ce3a384b23dff52f8df1a7bde5407bae924ddc363f8125c0616c5
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
-DIST kodi-20.3-Nexus.tar.gz 54567232 BLAKE2B 
956be2d1bef16910d88f244331bdff60cce309d9596ec7939a459489b7fa7ab3ca7b29e2aca0de542f48f95321d86c9d7a606ac311a7a3c69e0e6f901511982e
 SHA512 
cdec1383d33f421828f0249ac2929980c6eaa39e345a8a364d9f3479f873029a15f3f6e6d40707fd2df2067a71bdaa3c6a1e26277074c31c631c71afe7465cb4
 DIST kodi-20.5-Nexus.tar.gz 54568445 BLAKE2B 
15eb409918fa3768528d9abd24c52fd8b94c82699ef2ce10a529278fe25544dc335b66d137ae8ae304511cd92c1c0be34881937ec705ba936f5a4b0d737903f7
 SHA512 
a47a54ca11e1d3daeddea8c1ae716cd4461e3441de43a026a920c709b2ff5c7e0acc2a5fd4ac8c15f0da1940bd7f21a65eff32203ad8e167603c1576b21d4dcc
 DIST kodi-21.0-Omega.tar.gz 40987733 BLAKE2B 
33adaf588b3362dc9d184bfb66c36ad5fa2e442255da47db4813f926e73f5a607dd7de809ecf8a4982f985bc8dac53cba17fb9db6a009bb0cdb6284db3b1edb4
 SHA512 
9c2ca6b6e72197d2b1c26a47cf4ddc209318fcaa5a30ea20475ecc5518c7d1395c2e9cf3e3a75a13334b0505e7b417acdb0d76a20567a0c86841b3e69232625b
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e

diff --git a/media-tv/kodi/kodi-20.3-r1.ebuild 
b/media-tv/kodi/kodi-20.3-r1.ebuild
deleted file mode 100644
index a518af43864c..
--- a/media-tv/kodi/kodi-20.3-r1.ebuild
+++ /dev/null
@@ -1,479 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# FFmpeg can be unbundled, but is currently stuck at a very old version.
-# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
-
-# Versions for the forked projects that are bundled
-# See tools/depends/target//-VERSION
-LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
-LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
-LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
-FFMPEG_VERSION="4.4.1"
-CODENAME="Nexus"
-FFMPEG_KODI_VERSION="Alpha1"
-
-# Doesn't build with jdk-21
-_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17} )
-JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
-# Required to be set, but not used.
-JAVA_PKG_WANT_SOURCE="17"
-JAVA_PKG_WANT_TARGET="17"
-
-PYTHON_REQ_USE="sqlite,ssl"
-PYTHON_COMPAT=( python3_{10..11} ) # python3.12 support added in 21
-
-CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
-
-inherit cmake desktop flag-o-matic java-pkg-2 linux-info optfeature pax-utils 
python-single-r1 xdg
-
-DESCRIPTION="A free and open source media-player and entertainment hub"
-HOMEPAGE="https://kodi.tv/";
-
-SRC_URI="
-   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz
-   -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
-   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz
-   -> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
-   css? (
-   

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-05-28 Thread Sam James
commit: 3b9a41e60495e551513d2bdf9413f31ef8570749
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 22:00:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 22:00:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b9a41e6

media-tv/kodi: Stabilize 21.0-r1 amd64, #932996

Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-21.0-r1.ebuild 
b/media-tv/kodi/kodi-21.0-r1.ebuild
index f67b499ded60..fb9b88f8178e 100644
--- a/media-tv/kodi/kodi-21.0-r1.ebuild
+++ b/media-tv/kodi/kodi-21.0-r1.ebuild
@@ -67,7 +67,7 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm64 ~riscv ~x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-05-24 Thread Sam James
commit: 0c7c8f94381e3ee1b8a2c2e46344c83e6f6dbe3b
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri May 24 19:54:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 25 03:31:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7c8f94

media-tv/kodi: fix typos in PATCHES

Fixes: eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2
Closes: https://bugs.gentoo.org/932651
Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36811
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-21.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-tv/kodi/kodi-21.0-r1.ebuild 
b/media-tv/kodi/kodi-21.0-r1.ebuild
index 18b27c8c116d..f67b499ded60 100644
--- a/media-tv/kodi/kodi-21.0-r1.ebuild
+++ b/media-tv/kodi/kodi-21.0-r1.ebuild
@@ -259,8 +259,8 @@ BDEPEND="
)
 "
 
-PATHCES=(
-   "${FILESDIR}"/kodi-21-fix-gcc14.ebuild
+PATCHES=(
+   "${FILESDIR}"/kodi-21-fix-gcc14.patch
 )
 
 # bug #544020



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-05-23 Thread Matt Turner
commit: 340bdd83a4b77d94298fb5fd80c021c61e0ca976
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu May 23 12:07:36 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu May 23 17:55:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=340bdd83

media-tv/kodi: update bugs-to url

Kodi migrated issue tracking to github before 2020.

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36787
Signed-off-by: Matt Turner  gentoo.org>

 media-tv/kodi/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml
index d8114cac5535..00f1f2a7232c 100644
--- a/media-tv/kodi/metadata.xml
+++ b/media-tv/kodi/metadata.xml
@@ -33,7 +33,7 @@
Enable metadata XSLT scrapers support with 
dev-libs/libxslt


-   https://trac.kodi.tv/
+   https://github.com/xbmc/xbmc/issues/
https://kodi.wiki/
xbmc/xbmc




[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-05-23 Thread Matt Turner
commit: b1941a370a562ba992903b7112a3a0b5ec317b7d
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu May 23 10:04:05 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu May 23 17:55:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1941a37

media-tv/kodi: update dependencies in live

Closes: https://bugs.gentoo.org/932161
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 18 +++---
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index be645e574764..c35eff70ba6d 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -123,7 +123,6 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
media-libs/mesa[egl(+),gbm(+)?,wayland?,X?]
>=media-libs/taglib-1.9.0
=media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
-   sci-libs/kissfft
virtual/libiconv
virtual/ttf-fonts
x11-libs/libdrm
@@ -183,13 +182,13 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
dev-db/mysql-connector-c:=
)
nfs? (
-   >=net-fs/libnfs-2.0.0:=
+   >=net-fs/libnfs-3.0.0:=
)
pipewire? (
>=media-video/pipewire-0.3.50:=
)
pulseaudio? (
-   media-libs/libpulse
+   >=media-libs/libpulse-11.0.0
)
samba? (
>=net-fs/samba-3.4.6[smbclient(+)]
@@ -292,13 +291,6 @@ src_prepare() {
-e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
xbmc/platform/linux/*.cpp || die
 
-   # Add all possible names for kissfft libraries
-   for datatype in {float,int16,int32,simd}; do
-   sed -i \
-   -e "s/\(find_library(KISSFFT_LIBRARY NAMES .*\)/\1 
kissfft-${datatype} kissfft-${datatype}-openmp/" \
-   cmake/modules/FindKissFFT.cmake || die
-   done
-
if tc-is-cross-compiler; then
# These tools are automatically built with CMake during a 
native build
# but need to be built in advance using Autotools for a cross 
build.
@@ -381,13 +373,13 @@ src_configure() {
 
#To bundle or not
-DENABLE_INTERNAL_CROSSGUID=OFF
+   -DENABLE_INTERNAL_CURL=OFF
-DENABLE_INTERNAL_DAV1D=OFF
-DENABLE_INTERNAL_FFMPEG="$(usex !system-ffmpeg)"
-DENABLE_INTERNAL_FLATBUFFERS=OFF
-DENABLE_INTERNAL_FMT=OFF
-DENABLE_INTERNAL_FSTRCMP=OFF
-DENABLE_INTERNAL_GTEST=OFF
-   -DENABLE_INTERNAL_KISSFFT=OFF
-DENABLE_INTERNAL_PCRE=OFF
-DENABLE_INTERNAL_RapidJSON=OFF
-DENABLE_INTERNAL_SPDLOG=OFF
@@ -457,10 +449,6 @@ src_test() {
# Known failing, unreliable test
# bug #743938
TestCPUInfo.GetCPUFrequency
-   # Test failure stemming from sci-libs/kissfft
-   # The difference between output[2i] and (i==freq1?1.0:0.0) is 
inf, which exceeds 1e-7, where output[2i]
-   # evaluates to inf,(i==freq1?1.0:0.0) evaluates to 0, and 1e-7 
evaluates to 9.9995e-08.
-   TestRFFT.SimpleSignal
# bug #779184
# https://github.com/xbmc/xbmc/issues/18594
$(usev x86 TestDateTime.SetFromDBTime)



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2024-05-23 Thread Matt Turner
commit: eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu May 23 09:56:51 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu May 23 17:55:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef3a99e

media-tv/kodi: fix gcc-14

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-tv/kodi/files/kodi-21-fix-gcc14.patch | 42 +
 media-tv/kodi/kodi-21.0-r1.ebuild   |  4 +++
 2 files changed, 46 insertions(+)

diff --git a/media-tv/kodi/files/kodi-21-fix-gcc14.patch 
b/media-tv/kodi/files/kodi-21-fix-gcc14.patch
new file mode 100644
index ..fdfa36723f1f
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21-fix-gcc14.patch
@@ -0,0 +1,42 @@
+https://github.com/xbmc/xbmc/pull/25106
+
+From 2bf5ab07731b3d4160196e6b8d9ab9e25bea2ef9 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum 
+Date: Thu, 2 May 2024 08:02:42 +
+Subject: [PATCH 1/2] add missing c++ headers
+
+Add missing headers which are no longer indirectly included by
+other headers, fixes build with gcc-14
+
+Signed-off-by: Rudi Heitbaum 
+--- a/xbmc/platform/posix/filesystem/SMBWSDiscoveryListener.cpp
 b/xbmc/platform/posix/filesystem/SMBWSDiscoveryListener.cpp
+@@ -17,6 +17,7 @@
+ 
+ #include "platform/posix/filesystem/SMBWSDiscovery.h"
+ 
++#include 
+ #include 
+ #include 
+ #include 
+
+From b6ddd8fb25ef20e8adb9a9f9b53bebf0cee3a970 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum 
+Date: Thu, 2 May 2024 08:05:00 +
+Subject: [PATCH 2/2] Geometry: fix template-id not allowed for constructor
+
+fixes gcc-14 error:
+- warning: template-id not allowed for constructor in C++20
+
+Signed-off-by: Rudi Heitbaum 
+--- a/xbmc/utils/Geometry.h
 b/xbmc/utils/Geometry.h
+@@ -177,7 +177,7 @@ template  class CSizeGen
+ return {m_w, m_h};
+   }
+ 
+-  template explicit CSizeGen(const CSizeGen& rhs)
++  template explicit CSizeGen(const CSizeGen& rhs)
+   {
+ CheckSet(static_cast (rhs.m_w), static_cast (rhs.m_h));
+   }

diff --git a/media-tv/kodi/kodi-21.0-r1.ebuild 
b/media-tv/kodi/kodi-21.0-r1.ebuild
index bdc7176cb631..18b27c8c116d 100644
--- a/media-tv/kodi/kodi-21.0-r1.ebuild
+++ b/media-tv/kodi/kodi-21.0-r1.ebuild
@@ -259,6 +259,10 @@ BDEPEND="
)
 "
 
+PATHCES=(
+   "${FILESDIR}"/kodi-21-fix-gcc14.ebuild
+)
+
 # bug #544020
 CONFIG_CHECK="~IP_MULTICAST"
 ERROR_IP_MULTICAST="



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-05-23 Thread Matt Turner
commit: f4ecad378998275cf5dcd79df975f8460fd80c2c
Author: Matt Turner  gentoo  org>
AuthorDate: Thu May 23 17:05:29 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu May 23 17:17:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ecad37

media-tv/kodi: Update mesa dependency

Signed-off-by: Matt Turner  gentoo.org>

 media-tv/kodi/{kodi-19.5-r1.ebuild => kodi-19.5-r2.ebuild} | 14 --
 media-tv/kodi/{kodi-20.3.ebuild => kodi-20.3-r1.ebuild}|  8 ++--
 media-tv/kodi/{kodi-20.5.ebuild => kodi-20.5-r1.ebuild}|  8 ++--
 media-tv/kodi/{kodi-21.0.ebuild => kodi-21.0-r1.ebuild}|  5 -
 media-tv/kodi/kodi-21..ebuild  |  5 -
 media-tv/kodi/kodi-.ebuild |  5 -
 6 files changed, 36 insertions(+), 9 deletions(-)

diff --git a/media-tv/kodi/kodi-19.5-r1.ebuild 
b/media-tv/kodi/kodi-19.5-r2.ebuild
similarity index 97%
rename from media-tv/kodi/kodi-19.5-r1.ebuild
rename to media-tv/kodi/kodi-19.5-r2.ebuild
index d71c4c2b4261..7b7a084a897d 100644
--- a/media-tv/kodi/kodi-19.5-r1.ebuild
+++ b/media-tv/kodi/kodi-19.5-r2.ebuild
@@ -97,7 +97,12 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
x11-libs/libxkbcommon
)
gles? (
-   !raspberry-pi? ( media-libs/mesa[gles2] )
+   !raspberry-pi? (
+   || (
+   >=media-libs/mesa-24.1.0_rc1[opengl]
+   =media-libs/mesa-24.1.0_rc1[opengl]
+   =media-libs/mesa-24.1.0_rc1[opengl]
+   =media-libs/mesa-24.1.0_rc1[opengl]
+   =media-libs/mesa-24.1.0_rc1[opengl]
+   

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-04-24 Thread Sam James
commit: 2ef71054c7b9adce4af280e162d9b868d6032e3c
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Apr  9 17:50:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 24 10:37:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef71054

media-tv/kodi: sync live, add 21., drop 20.

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36179
Signed-off-by: Sam James  gentoo.org>

 .../{kodi-20..ebuild => kodi-21..ebuild}   | 120 +
 media-tv/kodi/kodi-.ebuild |   8 +-
 2 files changed, 81 insertions(+), 47 deletions(-)

diff --git a/media-tv/kodi/kodi-20..ebuild 
b/media-tv/kodi/kodi-21..ebuild
similarity index 79%
rename from media-tv/kodi/kodi-20..ebuild
rename to media-tv/kodi/kodi-21..ebuild
index f661b836ecf3..a7ad762133ea 100644
--- a/media-tv/kodi/kodi-20..ebuild
+++ b/media-tv/kodi/kodi-21..ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-# FFmpeg can be unbundled, but is currently stuck at a very old version.
+CODENAME="Omega"
+
 # libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
 
 # Versions for the forked projects that are bundled
@@ -11,9 +12,12 @@ EAPI=8
 LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
 LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
 LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
-FFMPEG_VERSION="4.4.1"
-CODENAME="Nexus"
-FFMPEG_KODI_VERSION="Alpha1"
+FFMPEG_VERSION="6.0.1"
+
+# Java bundles from xbmc/interfaces/swig/CMakeLists.txt
+GROOVY_VERSION="4.0.16"
+APACHE_COMMON_LANG_VERSION="3.14.0"
+APACHE_COMMON_TEXT_VERSION="1.11.0"
 
 # Doesn't build with jdk-21
 _JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17} )
@@ -23,11 +27,12 @@ JAVA_PKG_WANT_SOURCE="17"
 JAVA_PKG_WANT_TARGET="17"
 
 PYTHON_REQ_USE="sqlite,ssl"
-PYTHON_COMPAT=( python3_{10..11} ) # python3.12 support added in 21
+PYTHON_COMPAT=( python3_{10..12} )
 
 CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
 
-inherit cmake desktop flag-o-matic java-pkg-2 linux-info optfeature pax-utils 
python-single-r1 xdg
+inherit autotools cmake desktop flag-o-matic java-pkg-2 libtool linux-info 
optfeature pax-utils python-single-r1 \
+   toolchain-funcs xdg
 
 DESCRIPTION="A free and open source media-player and entertainment hub"
 HOMEPAGE="https://kodi.tv/";
@@ -37,13 +42,15 @@ SRC_URI="
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
+   
https://mirrors.kodi.tv/build-deps/sources/apache-groovy-binary-${GROOVY_VERSION}.zip
+   
https://mirrors.kodi.tv/build-deps/sources/commons-lang3-${APACHE_COMMON_LANG_VERSION}-bin.tar.gz
+   
https://mirrors.kodi.tv/build-deps/sources/commons-text-${APACHE_COMMON_TEXT_VERSION}-bin.tar.gz
css? (

https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
)
!system-ffmpeg? (
-   
https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz
-   -> 
ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz
+   https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz
)
 "
 if [[ ${PV} == * ]] ; then
@@ -56,7 +63,7 @@ else
MY_PV=${PV/_p/_r}
MY_PV=${MY_PV/_alpha/a}
MY_PV=${MY_PV/_beta/b}
-   MY_PV=${MY_PV/_rc/RC}
+   MY_PV=${MY_PV/_rc/rc}
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
@@ -69,13 +76,14 @@ SLOT="0"
 # use flag is called libusb so that it doesn't fool people in thinking that
 # it is _required_ for USB support. Otherwise they'll disable udev and
 # that's going to be worse.
-IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio 
raspberry-pi samba system-ffmpeg test udf udev upnp vaapi vdpau wayland 
webserver X +xslt zeroconf ${CPU_FLAGS}"
+IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio samba soc 
+system-ffmpeg test udf udev upnp vaapi vdpau wayland webserver X +xslt 
zeroconf ${CPU_FLAGS}"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
^^ ( gbm wayland X )
?? ( mariadb mysql )
bluray? ( udf )
gbm? ( udev )
+   soc? ( system-ffmpeg )
udev? ( !libusb )
vdpau? ( X !gles !gbm )
zeroconf? ( dbus )
@@ -84,7 +92,7 @@ RESTRICT="!test? ( test )"
 
 # dev-libs/libcec[-cubox] bug #818262
 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-04-24 Thread Sam James
commit: 0644400fbcac4a9e297cbfab95bfc4fb2edb028e
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Apr  9 17:19:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 24 10:37:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0644400f

media-tv/kodi: add 21.0

* Dropped arm keyword due to new dependency libdisplay-info

Closes: https://bugs.gentoo.org/929014
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest |   1 +
 media-tv/kodi/kodi-21.0.ebuild | 508 +
 2 files changed, 509 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 0ccf49e5b834..47f605fae4f9 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -7,6 +7,7 @@ DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d5
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
 DIST kodi-20.3-Nexus.tar.gz 54567232 BLAKE2B 
956be2d1bef16910d88f244331bdff60cce309d9596ec7939a459489b7fa7ab3ca7b29e2aca0de542f48f95321d86c9d7a606ac311a7a3c69e0e6f901511982e
 SHA512 
cdec1383d33f421828f0249ac2929980c6eaa39e345a8a364d9f3479f873029a15f3f6e6d40707fd2df2067a71bdaa3c6a1e26277074c31c631c71afe7465cb4
 DIST kodi-20.5-Nexus.tar.gz 54568445 BLAKE2B 
15eb409918fa3768528d9abd24c52fd8b94c82699ef2ce10a529278fe25544dc335b66d137ae8ae304511cd92c1c0be34881937ec705ba936f5a4b0d737903f7
 SHA512 
a47a54ca11e1d3daeddea8c1ae716cd4461e3441de43a026a920c709b2ff5c7e0acc2a5fd4ac8c15f0da1940bd7f21a65eff32203ad8e167603c1576b21d4dcc
+DIST kodi-21.0-Omega.tar.gz 40987733 BLAKE2B 
33adaf588b3362dc9d184bfb66c36ad5fa2e442255da47db4813f926e73f5a607dd7de809ecf8a4982f985bc8dac53cba17fb9db6a009bb0cdb6284db3b1edb4
 SHA512 
9c2ca6b6e72197d2b1c26a47cf4ddc209318fcaa5a30ea20475ecc5518c7d1395c2e9cf3e3a75a13334b0505e7b417acdb0d76a20567a0c86841b3e69232625b
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 
7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355
 SHA512 
11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72

diff --git a/media-tv/kodi/kodi-21.0.ebuild b/media-tv/kodi/kodi-21.0.ebuild
new file mode 100644
index ..67eca7afe6c1
--- /dev/null
+++ b/media-tv/kodi/kodi-21.0.ebuild
@@ -0,0 +1,508 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CODENAME="Omega"
+
+# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
+
+# Versions for the forked projects that are bundled
+# See tools/depends/target//-VERSION
+LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
+LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
+LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
+FFMPEG_VERSION="6.0.1"
+
+# Java bundles from xbmc/interfaces/swig/CMakeLists.txt
+GROOVY_VERSION="4.0.16"
+APACHE_COMMON_LANG_VERSION="3.14.0"
+APACHE_COMMON_TEXT_VERSION="1.11.0"
+
+# Doesn't build with jdk-21
+_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17} )
+JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
+# Required to be set, but not used.
+JAVA_PKG_WANT_SOURCE="17"
+JAVA_PKG_WANT_TARGET="17"
+
+PYTHON_REQ_USE="sqlite,ssl"
+PYTHON_COMPAT=( python3_{10..12} )
+
+CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
+
+inherit autotools cmake desktop flag-o-matic java-pkg-2 libtool linux-info 
optfeature pax-utils python-single-r1 \
+   toolchain-funcs xdg
+
+DESCRIPTION="A free and open source media-player and entertainment hub"
+HOMEPAGE="https://kodi.tv/";
+
+SRC_URI="
+   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz
+   -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz
+   -> 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-04-24 Thread Sam James
commit: 710e77598153487b5ceaa407a35b571a9524020a
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Feb 11 22:35:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 24 10:37:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=710e7759

media-tv/kodi: add 20.5

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35271
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest |   1 +
 media-tv/kodi/kodi-20.5.ebuild | 475 +
 2 files changed, 476 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index a9bf4c214bec..0ccf49e5b834 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -6,6 +6,7 @@ DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b41
 DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d55341c5fdb540474e197b85062228ab4b314c8309ec11985aa7f10519fc6106529e8e58c86eafe268190894be8532d0e0b9065fa6
 SHA512 
8beb04d577b5251e74b0d52f4d130997a8ba94bbd488c7c8309e6b45095c27807e150212888ce3a384b23dff52f8df1a7bde5407bae924ddc363f8125c0616c5
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
 DIST kodi-20.3-Nexus.tar.gz 54567232 BLAKE2B 
956be2d1bef16910d88f244331bdff60cce309d9596ec7939a459489b7fa7ab3ca7b29e2aca0de542f48f95321d86c9d7a606ac311a7a3c69e0e6f901511982e
 SHA512 
cdec1383d33f421828f0249ac2929980c6eaa39e345a8a364d9f3479f873029a15f3f6e6d40707fd2df2067a71bdaa3c6a1e26277074c31c631c71afe7465cb4
+DIST kodi-20.5-Nexus.tar.gz 54568445 BLAKE2B 
15eb409918fa3768528d9abd24c52fd8b94c82699ef2ce10a529278fe25544dc335b66d137ae8ae304511cd92c1c0be34881937ec705ba936f5a4b0d737903f7
 SHA512 
a47a54ca11e1d3daeddea8c1ae716cd4461e3441de43a026a920c709b2ff5c7e0acc2a5fd4ac8c15f0da1940bd7f21a65eff32203ad8e167603c1576b21d4dcc
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 
7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355
 SHA512 
11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72

diff --git a/media-tv/kodi/kodi-20.5.ebuild b/media-tv/kodi/kodi-20.5.ebuild
new file mode 100644
index ..2270760f2e9f
--- /dev/null
+++ b/media-tv/kodi/kodi-20.5.ebuild
@@ -0,0 +1,475 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# FFmpeg can be unbundled, but is currently stuck at a very old version.
+# libdvd{css,read,nav} are not unbundlable without patching the buildsystem.
+
+# Versions for the forked projects that are bundled
+# See tools/depends/target//-VERSION
+LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
+LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
+LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
+FFMPEG_VERSION="4.4.1"
+CODENAME="Nexus"
+FFMPEG_KODI_VERSION="Alpha1"
+
+# Doesn't build with jdk-21
+_JAVA_PKG_WANT_BUILD_VM=( {openjdk{,-jre},icedtea}{,-bin}-{8,11,17} )
+JAVA_PKG_WANT_BUILD_VM=${_JAVA_PKG_WANT_BUILD_VM[@]}
+# Required to be set, but not used.
+JAVA_PKG_WANT_SOURCE="17"
+JAVA_PKG_WANT_TARGET="17"
+
+PYTHON_REQ_USE="sqlite,ssl"
+PYTHON_COMPAT=( python3_{10..11} ) # python3.12 support added in 21
+
+CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
+
+inherit cmake desktop flag-o-matic java-pkg-2 linux-info optfeature pax-utils 
python-single-r1 xdg
+
+DESCRIPTION="A free and open source media-player and entertainment hub"
+HOMEPAGE="https://kodi.tv/";
+
+SRC_URI="
+   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz
+   -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz
+   -> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
+   css? (
+   

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-02-13 Thread James Le Cuirot
commit: 33123fd005f771fbdf03e5711d35061e333a893d
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Feb 11 21:58:27 2024 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Feb 13 21:11:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33123fd0

media-tv/kodi: Add soc USE flag to ensure ffmpeg also has this flag

The additional patches we apply to media-video/ffmpeg may not always be
immediately available following an upstream release. Adding the soc USE flag to
this package ensures that users don't accidentally upgrade to an ffmpeg version
that lacks them.

Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 5 +++--
 media-tv/kodi/metadata.xml | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index d078eb4e9f86..761ce474eebc 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -76,13 +76,14 @@ SLOT="0"
 # use flag is called libusb so that it doesn't fool people in thinking that
 # it is _required_ for USB support. Otherwise they'll disable udev and
 # that's going to be worse.
-IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio samba 
+system-ffmpeg test udf udev upnp vaapi vdpau wayland webserver X +xslt 
zeroconf ${CPU_FLAGS}"
+IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio samba soc 
+system-ffmpeg test udf udev upnp vaapi vdpau wayland webserver X +xslt 
zeroconf ${CPU_FLAGS}"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
^^ ( gbm wayland X )
?? ( mariadb mysql )
bluray? ( udf )
gbm? ( udev )
+   soc? ( system-ffmpeg )
udev? ( !libusb )
vdpau? ( X !gles !gbm )
zeroconf? ( dbus )
@@ -121,7 +122,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=media-libs/libass-0.15.0:=
media-libs/mesa[egl(+),gbm(+)?,wayland?,X?]
>=media-libs/taglib-1.9.0
-   =media-video/ffmpeg-6*:=[encode,postproc,vaapi?,vdpau?,X?]
+   =media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?]
sci-libs/kissfft
virtual/libiconv
virtual/ttf-fonts

diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml
index a663e6bef6c7..d8114cac5535 100644
--- a/media-tv/kodi/metadata.xml
+++ b/media-tv/kodi/metadata.xml
@@ -23,6 +23,7 @@
Enable pipewire support
Enable control of shutdown, reboot, 
suspend, and hibernate
Enable support for the Raspberry 
Pi
+   Use additional media-video/ffmpeg 
patches for efficient playback on some SoCs (e.g. ARM, RISC-V)
Use system ffmpeg instead of the 
bundled one
Use virtual/libusb for usb 
device hotplug support. This flag should only be enabled if you're running a 
non-Linux kernel or you don't want to use udev.
Enable UDF support. Required for playing 
blurays.



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-02-13 Thread James Le Cuirot
commit: 05d762c5fec7e57e697885bb40ec0155705ad504
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Feb 11 22:24:31 2024 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Feb 13 21:12:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d762c5

media-tv/kodi: Drop raspberry-pi USE requirement for libcec from all versions

This was previously only applied to , but even the earlier libcec ebuild
from before the legacy support was dropped could be used against the new stack.
This makes more sense than adding (-) against this flag.

Strictly speaking, this should be done in revbumps, but we're going to have to
drop these older versions before we can drop the legacy Pi stack anyway.

Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-19.5-r1.ebuild | 2 +-
 media-tv/kodi/kodi-20.3.ebuild| 2 +-
 media-tv/kodi/kodi-20..ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-tv/kodi/kodi-19.5-r1.ebuild 
b/media-tv/kodi/kodi-19.5-r1.ebuild
index 9e334ac98605..d71c4c2b4261 100644
--- a/media-tv/kodi/kodi-19.5-r1.ebuild
+++ b/media-tv/kodi/kodi-19.5-r1.ebuild
@@ -80,7 +80,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
dev-db/sqlite
=dev-libs/fribidi-1.0.5
-   cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] )
+   cec? ( >=dev-libs/libcec-4.0 )
dev-libs/libpcre[cxx]
>=dev-libs/spdlog-1.5.0:=
dev-libs/tinyxml[stl]

diff --git a/media-tv/kodi/kodi-20.3.ebuild b/media-tv/kodi/kodi-20.3.ebuild
index f8421e429d8d..2270760f2e9f 100644
--- a/media-tv/kodi/kodi-20.3.ebuild
+++ b/media-tv/kodi/kodi-20.3.ebuild
@@ -138,7 +138,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
sys-libs/libcap
)
cec? (
-   >=dev-libs/libcec-4.0[-cubox,raspberry-pi?]
+   >=dev-libs/libcec-4.0[-cubox]
)
dbus? (
sys-apps/dbus

diff --git a/media-tv/kodi/kodi-20..ebuild 
b/media-tv/kodi/kodi-20..ebuild
index 893bd5d6c5b5..f661b836ecf3 100644
--- a/media-tv/kodi/kodi-20..ebuild
+++ b/media-tv/kodi/kodi-20..ebuild
@@ -138,7 +138,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
sys-libs/libcap
)
cec? (
-   >=dev-libs/libcec-4.0[-cubox,raspberry-pi?]
+   >=dev-libs/libcec-4.0[-cubox]
)
dbus? (
sys-apps/dbus



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-02-10 Thread James Le Cuirot
commit: 6df6ac2235a5203a16319fec4aad1d31794a80a9
Author: James Le Cuirot  gentoo  org>
AuthorDate: Fri Dec 15 22:36:41 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Feb 10 21:23:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df6ac22

media-tv/kodi: Drop Raspberry Pi support in 

media-libs/raspberrypi-userland(-bin) is being last-rited. The Linux
kernel and FFmpeg now support the Pi, among other devices, natively.
Enable media-video/ffmpeg's "soc" USE flag to enable that support.

I'm only doing this in  for now because we're not supporting this in
ffmpeg versions earlier than 6.0.

Signed-off-by: James Le Cuirot  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 15 +++
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 45afbd631bb4..d078eb4e9f86 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -76,7 +76,7 @@ SLOT="0"
 # use flag is called libusb so that it doesn't fool people in thinking that
 # it is _required_ for USB support. Otherwise they'll disable udev and
 # that's going to be worse.
-IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio 
raspberry-pi samba +system-ffmpeg test udf udev upnp vaapi vdpau wayland 
webserver X +xslt zeroconf ${CPU_FLAGS}"
+IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio samba 
+system-ffmpeg test udf udev upnp vaapi vdpau wayland webserver X +xslt 
zeroconf ${CPU_FLAGS}"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
^^ ( gbm wayland X )
@@ -147,7 +147,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
sys-libs/libcap
)
cec? (
-   >=dev-libs/libcec-4.0[-cubox,raspberry-pi?]
+   >=dev-libs/libcec-4.0[-cubox]
)
dbus? (
sys-apps/dbus
@@ -158,9 +158,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
x11-libs/libxkbcommon
)
gles? (
-   !raspberry-pi? (
-   media-libs/mesa[gles2]
-   )
+   media-libs/mesa[gles2]
)
!gles? (
media-libs/glu
@@ -189,13 +187,6 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
pulseaudio? (
media-libs/libpulse
)
-   raspberry-pi? (
-   || (
-   media-libs/raspberrypi-userland
-   media-libs/raspberrypi-userland-bin
-   media-libs/mesa[gles2,video_cards_vc4]
-   )
-   )
samba? (
>=net-fs/samba-3.4.6[smbclient(+)]
)



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-01-28 Thread Sam James
commit: 4e6b05e0d7b406b3cc4be84ed54079d39c96bfcc
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Jan 23 09:11:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 28 14:50:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6b05e0

media-tv/kodi: avoid variable not using by project warning

* Doesn't address warnings triggered later with building bundled
  dependencies.

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 13ae6f98c30e..45afbd631bb4 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -385,7 +385,6 @@ src_configure() {
-DWITH_FFMPEG=$(usex system-ffmpeg)
 
#To bundle or not
-   -DENABLE_INTERNAL_CEC=OFF
-DENABLE_INTERNAL_CROSSGUID=OFF
-DENABLE_INTERNAL_DAV1D=OFF
-DENABLE_INTERNAL_FFMPEG="$(usex !system-ffmpeg)"
@@ -409,6 +408,7 @@ src_configure() {
)
 
# Separated to avoid "Manually-specified variables were not used by the 
project:"
+   use cec && mycmakeargs+=( -DENABLE_INTERNAL_CEC=OFF )
use css && mycmakeargs+=( 
-Dlibdvdcss_URL="${DISTDIR}/libdvdcss-${LIBDVDCSS_VERSION}.tar.gz" )
use nfs && mycmakeargs+=( -DENABLE_INTERNAL_NFS=OFF )
use !system-ffmpeg && mycmakeargs+=(



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-01-28 Thread Sam James
commit: d5608d6070699a8ba2df0f4a7da999282ea55ee0
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Jan 23 08:44:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 28 14:50:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5608d60

media-tv/kodi: skip new failing test

* Breaks network-sandbox.

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 66bd223250ee..13ae6f98c30e 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -469,6 +469,8 @@ src_test() {
# bug #779184
# https://github.com/xbmc/xbmc/issues/18594
$(usev x86 TestDateTime.SetFromDBTime)
+   # Tries to ping localhost, naturally breaking network-sandbox
+   TestNetwork.PingHost
)
 
# see https://github.com/xbmc/xbmc/issues/17860#issuecomment-630120213



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/

2024-01-28 Thread Sam James
commit: 2c5c14ab38b48203ca963170955686b19d400ef7
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Jan 28 09:28:36 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 28 14:50:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c5c14ab

media-tv/kodi: include headers for gcc-14

Closes: https://bugs.gentoo.org/923041
Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34972
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/files/kodi-20.3-gcc-14.patch | 72 ++
 media-tv/kodi/kodi-20.3.ebuild |  1 +
 2 files changed, 73 insertions(+)

diff --git a/media-tv/kodi/files/kodi-20.3-gcc-14.patch 
b/media-tv/kodi/files/kodi-20.3-gcc-14.patch
new file mode 100644
index ..b4c5ee94eb80
--- /dev/null
+++ b/media-tv/kodi/files/kodi-20.3-gcc-14.patch
@@ -0,0 +1,72 @@
+https://github.com/xbmc/xbmc/commit/3dcea03c915f2062d4f8740d66abdf033fba9d6c
+https://bugs.gentoo.org/923041
+
+From 3dcea03c915f2062d4f8740d66abdf033fba9d6c Mon Sep 17 00:00:00 2001
+From: Manuel Lauss 
+Date: Fri, 13 Oct 2023 12:27:15 +0200
+Subject: [PATCH] add missing c++ headers
+
+Add a few missing headers which are no longer indirectly included by
+other headers, fixes build with gcc-14
+--- a/xbmc/addons/AddonUpdateRules.cpp
 b/xbmc/addons/AddonUpdateRules.cpp
+@@ -12,6 +12,7 @@
+ #include "addons/addoninfo/AddonInfo.h"
+ #include "utils/log.h"
+ 
++#include 
+ #include 
+ 
+ using namespace ADDON;
+--- a/xbmc/addons/binary-addons/AddonDll.cpp
 b/xbmc/addons/binary-addons/AddonDll.cpp
+@@ -27,6 +27,7 @@
+ #include "utils/Variant.h"
+ #include "utils/log.h"
+ 
++#include 
+ #include 
+ 
+ using namespace KODI::MESSAGING;
+--- a/xbmc/interfaces/json-rpc/TextureOperations.cpp
 b/xbmc/interfaces/json-rpc/TextureOperations.cpp
+@@ -14,6 +14,8 @@
+ #include "TextureDatabase.h"
+ #include "utils/Variant.h"
+ 
++#include 
++
+ using namespace JSONRPC;
+ 
+ JSONRPC_STATUS CTextureOperations::GetTextures(const std::string &method, 
ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, 
CVariant &result)
+--- a/xbmc/utils/EGLImage.cpp
 b/xbmc/utils/EGLImage.cpp
+@@ -14,6 +14,7 @@
+ #include "utils/StringUtils.h"
+ #include "utils/log.h"
+ 
++#include 
+ #include 
+ 
+ namespace
+--- a/xbmc/windowing/gbm/drm/DRMConnector.cpp
 b/xbmc/windowing/gbm/drm/DRMConnector.cpp
+@@ -11,6 +11,7 @@
+ #include "utils/XTimeUtils.h"
+ #include "utils/log.h"
+ 
++#include 
+ #include 
+ 
+ using namespace KODI::WINDOWING::GBM;
+--- a/xbmc/windowing/gbm/drm/DRMPlane.cpp
 b/xbmc/windowing/gbm/drm/DRMPlane.cpp
+@@ -13,6 +13,8 @@
+ #include "utils/StringUtils.h"
+ #include "utils/log.h"
+ 
++#include 
++
+ using namespace KODI::WINDOWING::GBM;
+ 
+ CDRMPlane::CDRMPlane(int fd, uint32_t plane) : CDRMObject(fd), 
m_plane(drmModeGetPlane(m_fd, plane))

diff --git a/media-tv/kodi/kodi-20.3.ebuild b/media-tv/kodi/kodi-20.3.ebuild
index 887e7a594f77..f8421e429d8d 100644
--- a/media-tv/kodi/kodi-20.3.ebuild
+++ b/media-tv/kodi/kodi-20.3.ebuild
@@ -271,6 +271,7 @@ Please consider enabling IP_MULTICAST under Networking 
options.
 
 PATCHES=(
"${FILESDIR}"/kodi-20.2-binutils-2.41.patch
+   "${FILESDIR}"/kodi-20.3-gcc-14.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-01-28 Thread Sam James
commit: e4e9593535fa3475be254a5820bf9945eb499fca
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Jan 23 08:40:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 28 14:50:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e95935

media-tv/kodi: fixup -system-ffmpeg for live

* Enable system-ffmpeg by default as upstream doesn't carry patches
  anymore and is updating their bundled version in a timely manor
  currently.

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest |  1 +
 media-tv/kodi/kodi-.ebuild | 11 ++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 7df357cd443f..a9bf4c214bec 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -1,6 +1,7 @@
 DIST apache-groovy-binary-4.0.16.zip 29793704 BLAKE2B 
30f77c6400c85821cf78f6ba1070da1e68644531f85f71cf7695443b13b81393cc89d4103eb869d1523f0a22a6e1c3428dcabf4f79c8a2c6eb2a6dea74e84e8f
 SHA512 
743698979c801f3cfb36545888b5303e1e25dae5692bb45cab7ebbe102a6eda31f09abc6978349ad90ecaf630416fc87eacba7781244855e7e771a3c44041fa0
 DIST commons-lang3-3.14.0-bin.tar.gz 9442785 BLAKE2B 
2ecdd06f97ac2688220055a08f67da9b859bed3ab00ff41800d5d9a1cebda599db2e816425c10c265dd6827a0ef79fc3dd094a8b3c9b9ae4ceae8f5750a59cf2
 SHA512 
8e7e62418a49ba810512c13a640a8bf35f878fcd54af32fdaabe37817f58b21b475980ba663fba4887e45ef8d88af8ff17796f20d202e929e8e2574546dc
 DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
+DIST ffmpeg-6.0.1.tar.gz 15437409 BLAKE2B 
6424e30c6d354abbbea8a807822ae61589413189e9c4ba7aa51c307179287506b9072626e9745861fe83753c0015b50d179f9b4f298fe9abf74bee13936639af
 SHA512 
945e34840092dc0fd3824eb1af2be79868af2afb4fe13159b19a9bcfc464cc4d53243c13ff065199290e9393ddbf4b1c5c8abccf83a31a31d6c7490e499fd1fc
 DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b419d9333cf75b00e291f1ea7447cbdc579ee2f860de7c436c924253600f3fbd6e3faaabe97aaf46db083a5bbd2f5f03badcca5d643e89
 SHA512 
d3719253d674b16638b873545583b82fba3176803c81ba8bcb37e90456dd956f1c2ee8996493840cff2d61c6399f06ed0524a759f46e4ce174bce23e9c6eda4a
 DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d55341c5fdb540474e197b85062228ab4b314c8309ec11985aa7f10519fc6106529e8e58c86eafe268190894be8532d0e0b9065fa6
 SHA512 
8beb04d577b5251e74b0d52f4d130997a8ba94bbd488c7c8309e6b45095c27807e150212888ce3a384b23dff52f8df1a7bde5407bae924ddc363f8125c0616c5
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 503c3d27ca41..8725fa3fc6f3 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -12,6 +12,7 @@ CODENAME="Omega"
 LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
 LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
 LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
+FFMPEG_VERSION="6.0.1"
 
 # Java bundles from xbmc/interfaces/swig/CMakeLists.txt
 GROOVY_VERSION="4.0.16"
@@ -48,6 +49,9 @@ SRC_URI="

https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
)
+   !system-ffmpeg? (
+   https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz
+   )
 "
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/xbmc/xbmc.git";
@@ -72,7 +76,7 @@ SLOT="0"
 # use flag is called libusb so that it doesn't fool people in thinking that
 # it is _required_ for USB support. Otherwise they'll disable udev and
 # that's going to be worse.
-IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio 
raspberry-pi samba system-ffmpeg test udf udev upnp vaapi vdpau wayland 
webserver X +xslt zeroconf ${CPU_FLAGS}"
+IUSE="airplay alsa bluetooth bluray caps cec +css dbus doc eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical pipewire pulseaudio 
raspberry-pi samba +system-ffmpeg test udf udev upnp vaapi vdpau wayland 
webserver X +xslt zeroconf ${CPU_FLAGS}"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
^^ ( gbm wayland X )
@@ -374,6 +378,8 @@ src_configure() {
-DENABLE_VDPAU=$(usex vdpau)
-DENABLE_XSLT=$(usex xslt)
 
+   -DWITH_FFMPEG=$(usex system-ffmpeg)
+
 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-01-28 Thread Sam James
commit: 17939390efcb504b864531338abf6d9082b1f3fb
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Jan 23 08:42:47 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 28 14:50:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17939390

media-tv/kodi: fix issue with bundled java packages

* Kodi wasn't properly building them leading to a build error. Unpack
  and feed this location to the build with -D*_SOURCE_DIR to make sure
  it works.

Closes: https://bugs.gentoo.org/922871
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 8725fa3fc6f3..66bd223250ee 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -283,6 +283,10 @@ src_unpack() {
else
unpack ${MY_P}.tar.gz
fi
+
+   unpack apache-groovy-binary-${GROOVY_VERSION}.zip
+   unpack commons-lang3-${APACHE_COMMON_LANG_VERSION}-bin.tar.gz
+   unpack commons-text-${APACHE_COMMON_TEXT_VERSION}-bin.tar.gz
 }
 
 src_prepare() {
@@ -399,6 +403,9 @@ src_configure() {
-DTARBALL_DIR="${DISTDIR}"

-Dlibdvdnav_URL="${DISTDIR}/libdvdnav-${LIBDVDNAV_VERSION}.tar.gz"

-Dlibdvdread_URL="${DISTDIR}/libdvdread-${LIBDVDREAD_VERSION}.tar.gz"
+   -Dgroovy_SOURCE_DIR="${WORKDIR}/groovy-${GROOVY_VERSION}"
+   
-Dapache-commons-lang_SOURCE_DIR="${WORKDIR}/commons-lang3-${APACHE_COMMON_LANG_VERSION}"
+   
-Dapache-commons-text_SOURCE_DIR="${WORKDIR}/commons-text-${APACHE_COMMON_TEXT_VERSION}"
)
 
# Separated to avoid "Manually-specified variables were not used by the 
project:"



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-01-23 Thread Jakov Smolić
commit: 9e42f989b9e33d8cbf08a61a2decdceacb96c098
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jan 23 22:59:20 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jan 23 22:59:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e42f989

media-tv/kodi: Keyword 20.3 riscv, #922617

Signed-off-by: Jakov Smolić  gentoo.org>

 media-tv/kodi/kodi-20.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-20.3.ebuild b/media-tv/kodi/kodi-20.3.ebuild
index 893bd5d6c5b5..887e7a594f77 100644
--- a/media-tv/kodi/kodi-20.3.ebuild
+++ b/media-tv/kodi/kodi-20.3.ebuild
@@ -60,7 +60,7 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-01-20 Thread Sam James
commit: ee7a4f5f7c338b8ae2aafabdc7b1bc3da901147e
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Dec 24 14:10:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 04:41:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee7a4f5f

media-tv/kodi: update live ebuilds, add 20., drop 19.

Closes: https://bugs.gentoo.org/913858
Closes: https://bugs.gentoo.org/919856
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest|   4 +-
 media-tv/kodi/kodi-19..ebuild | 360 
 media-tv/kodi/kodi-20..ebuild | 474 +
 media-tv/kodi/kodi-.ebuild| 481 --
 4 files changed, 778 insertions(+), 541 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 6e9e7f54540a..7df357cd443f 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -1,6 +1,8 @@
+DIST apache-groovy-binary-4.0.16.zip 29793704 BLAKE2B 
30f77c6400c85821cf78f6ba1070da1e68644531f85f71cf7695443b13b81393cc89d4103eb869d1523f0a22a6e1c3428dcabf4f79c8a2c6eb2a6dea74e84e8f
 SHA512 
743698979c801f3cfb36545888b5303e1e25dae5692bb45cab7ebbe102a6eda31f09abc6978349ad90ecaf630416fc87eacba7781244855e7e771a3c44041fa0
+DIST commons-lang3-3.14.0-bin.tar.gz 9442785 BLAKE2B 
2ecdd06f97ac2688220055a08f67da9b859bed3ab00ff41800d5d9a1cebda599db2e816425c10c265dd6827a0ef79fc3dd094a8b3c9b9ae4ceae8f5750a59cf2
 SHA512 
8e7e62418a49ba810512c13a640a8bf35f878fcd54af32fdaabe37817f58b21b475980ba663fba4887e45ef8d88af8ff17796f20d202e929e8e2574546dc
+DIST commons-text-1.11.0-bin.tar.gz 3018564 BLAKE2B 
c32e41c6b8c90dea876caf4c2cedc9358d5e49506bfee7aee42ac6b92dbe8505d5e5d81c860a739bb06214b832cc29e91ddb95f3cfc24515c970302a519a5e43
 SHA512 
2e94877000dd270b69e2e8cbf49f258a90b4c628b6b6b0814e300a2f0e9c391f0816dceb0707e596ae3b7c9532f93e7a4917df47c77f44b3a810e14042ce5f3f
 DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b419d9333cf75b00e291f1ea7447cbdc579ee2f860de7c436c924253600f3fbd6e3faaabe97aaf46db083a5bbd2f5f03badcca5d643e89
 SHA512 
d3719253d674b16638b873545583b82fba3176803c81ba8bcb37e90456dd956f1c2ee8996493840cff2d61c6399f06ed0524a759f46e4ce174bce23e9c6eda4a
 DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d55341c5fdb540474e197b85062228ab4b314c8309ec11985aa7f10519fc6106529e8e58c86eafe268190894be8532d0e0b9065fa6
 SHA512 
8beb04d577b5251e74b0d52f4d130997a8ba94bbd488c7c8309e6b45095c27807e150212888ce3a384b23dff52f8df1a7bde5407bae924ddc363f8125c0616c5
-DIST ffmpeg-kodi-5.1.2-Nexus-Alpha3.tar.gz 14416966 BLAKE2B 
fe35ef6a9aa2d60a2b34432ae8063850003d550208f223ea43af8ebcaa73e6993639e8cfe8a38676bac79e6b1816bd791b75b66ef58ff4d740bc9a5e0e7f9b78
 SHA512 
ce60852b8456d6f4bfc60de0ceadb33034d9b3eea8c0bc84d8b7199984ecbf334a2c4d9b42eade439d0ef30ce22e3b2ca0a49d4df837a18cd3136b4343ed3113
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
 DIST kodi-20.3-Nexus.tar.gz 54567232 BLAKE2B 
956be2d1bef16910d88f244331bdff60cce309d9596ec7939a459489b7fa7ab3ca7b29e2aca0de542f48f95321d86c9d7a606ac311a7a3c69e0e6f901511982e
 SHA512 
cdec1383d33f421828f0249ac2929980c6eaa39e345a8a364d9f3479f873029a15f3f6e6d40707fd2df2067a71bdaa3c6a1e26277074c31c631c71afe7465cb4
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e

diff --git a/media-tv/kodi/kodi-19..ebuild 
b/media-tv/kodi/kodi-19..ebuild
deleted file mode 100644
index a0a2b98fb73a..
--- a/media-tv/kodi/kodi-19..ebuild
+++ /dev/null
@@ -1,360 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_REQ_USE="sqlite,ssl"
-LIBDVDCSS_VERSION="1.4.2-Leia-Beta-5"
-LIBDVDREAD_VERSION="6.0.0-Leia-Alpha-3"
-LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3"
-FFMPEG_VERSION="4.3.2"
-CODENAME="Matrix"
-FFMPEG_KODI_VERSION="19.1"
-PYTHON_COMPAT=( python3_{10..11} )
-SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
-   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
-   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
-   !system-ffmpeg? ( 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2024-01-20 Thread Sam James
commit: 8f454c9a9c209a829a4066c71aad5845e58ce720
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Dec 24 14:09:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 04:41:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f454c9a

media-tv/kodi: add 20.3

* Drop riscv due to new dependency sci-libs/kissfft.

Bug: https://bugs.gentoo.org/779184
Bug: https://bugs.gentoo.org/818262
Bug: https://bugs.gentoo.org/860984
Closes: https://bugs.gentoo.org/892547
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/Manifest|   2 +
 media-tv/kodi/files/kodi-20.2-binutils-2.41.patch | 103 +
 media-tv/kodi/kodi-20.3.ebuild| 474 ++
 3 files changed, 579 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index d37004f2967f..6e9e7f54540a 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -1,6 +1,8 @@
 DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b419d9333cf75b00e291f1ea7447cbdc579ee2f860de7c436c924253600f3fbd6e3faaabe97aaf46db083a5bbd2f5f03badcca5d643e89
 SHA512 
d3719253d674b16638b873545583b82fba3176803c81ba8bcb37e90456dd956f1c2ee8996493840cff2d61c6399f06ed0524a759f46e4ce174bce23e9c6eda4a
+DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d55341c5fdb540474e197b85062228ab4b314c8309ec11985aa7f10519fc6106529e8e58c86eafe268190894be8532d0e0b9065fa6
 SHA512 
8beb04d577b5251e74b0d52f4d130997a8ba94bbd488c7c8309e6b45095c27807e150212888ce3a384b23dff52f8df1a7bde5407bae924ddc363f8125c0616c5
 DIST ffmpeg-kodi-5.1.2-Nexus-Alpha3.tar.gz 14416966 BLAKE2B 
fe35ef6a9aa2d60a2b34432ae8063850003d550208f223ea43af8ebcaa73e6993639e8cfe8a38676bac79e6b1816bd791b75b66ef58ff4d740bc9a5e0e7f9b78
 SHA512 
ce60852b8456d6f4bfc60de0ceadb33034d9b3eea8c0bc84d8b7199984ecbf334a2c4d9b42eade439d0ef30ce22e3b2ca0a49d4df837a18cd3136b4343ed3113
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
+DIST kodi-20.3-Nexus.tar.gz 54567232 BLAKE2B 
956be2d1bef16910d88f244331bdff60cce309d9596ec7939a459489b7fa7ab3ca7b29e2aca0de542f48f95321d86c9d7a606ac311a7a3c69e0e6f901511982e
 SHA512 
cdec1383d33f421828f0249ac2929980c6eaa39e345a8a364d9f3479f873029a15f3f6e6d40707fd2df2067a71bdaa3c6a1e26277074c31c631c71afe7465cb4
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 
7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355
 SHA512 
11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72

diff --git a/media-tv/kodi/files/kodi-20.2-binutils-2.41.patch 
b/media-tv/kodi/files/kodi-20.2-binutils-2.41.patch
new file mode 100644
index ..6ee7a55ee1de
--- /dev/null
+++ b/media-tv/kodi/files/kodi-20.2-binutils-2.41.patch
@@ -0,0 +1,103 @@
+https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/effadce6c756247ea8bae32dc13bb3e6f464f0eb
+
+From db99a6e0ed9490478a7af7b6a3299688b1a329e1 Mon Sep 17 00:00:00 2001
+From: Alfred Wingate 
+Date: Sun, 24 Dec 2023 14:02:37 +0200
+Subject: [PATCH] ffmpeg: add patch to fix build against binutils-2.41
+
+Signed-off-by: Alfred Wingate 
+--- a/cmake/modules/FindFFMPEG.cmake
 b/cmake/modules/FindFFMPEG.cmake
+@@ -96,7 +96,9 @@ macro(buildFFMPEG)
+  
-DPKG_CONFIG_PATH=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/lib/pkgconfig)
+   set(PATCH_COMMAND ${CMAKE_COMMAND} -E copy
+ 
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/CMakeLists.txt
+-)
++ &&
++# patch internal ffmpeg, fix build against binutils 2.41
++patch -p1 < 
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/build-fix-for-binutils-2.41.patch)
+ 
+   if(CMAKE_GENERATOR STREQUAL Xcode)
+ set(FFMPEG_GENERATOR CMAKE_GENERATOR "Unix Makefiles")
+--- /dev/null
 b/tools/depends/target/ffmpeg/build-fix-for-binutils-2.41.patch
+@@ -0,0 +1,76 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-01-20 Thread Sam James
commit: 659530b54968511a266fe0ecaae1cca560dca2d6
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Dec 24 14:46:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 04:41:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659530b5

media-tv/kodi: Fix cross-compiling by building native tools separately

The native tools needed for building were seemingly handled automatically when
cross-compiling before, but now they need to be explicitly built beforehand.
Conversely, a pure native build now builds these tools with CMake rather than
Autotools, so there is no longer any need to run eautoreconf and friends in this
case.

Signed-off-by: James Le Cuirot  gentoo.org>
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 19 ++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 5d6b97caa74d..503c3d27ca41 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -30,7 +30,8 @@ PYTHON_COMPAT=( python3_{10..12} )
 
 CPU_FLAGS="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
 
-inherit cmake desktop flag-o-matic java-pkg-2 linux-info optfeature pax-utils 
python-single-r1 xdg
+inherit autotools cmake desktop flag-o-matic java-pkg-2 libtool linux-info 
optfeature pax-utils python-single-r1 \
+   toolchain-funcs xdg
 
 DESCRIPTION="A free and open source media-player and entertainment hub"
 HOMEPAGE="https://kodi.tv/";
@@ -415,10 +416,26 @@ src_configure() {
# 
https://github.com/xbmc/xbmc/commit/cb72a22d54a91845b1092c295f84eeb48328921e
filter-lto
 
+   if tc-is-cross-compiler; then
+   for t in "${NATIVE_TOOLS[@]}" ; do
+   pushd "${S}/tools/depends/native/$t/src" >/dev/null || 
die
+   econf_build
+   install -m0755 /dev/null "$t" || die # Actually build 
later.
+   mycmakeargs+=( -DWITH_${t^^}="${PWD}/$t" )
+   popd >/dev/null || die
+   done
+   fi
+
cmake_src_configure
 }
 
 src_compile() {
+   if tc-is-cross-compiler; then
+   for t in "${NATIVE_TOOLS[@]}" ; do
+   emake -C "${S}/tools/depends/native/$t/src"
+   done
+   fi
+
cmake_src_compile all
use doc && cmake_build doc
use test && cmake_build kodi-test



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2024-01-20 Thread Sam James
commit: b9cbca0af9c72814afb0934147c4993524815a21
Author: Alfred Wingate  protonmail  com>
AuthorDate: Mon Dec 25 11:01:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 04:41:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9cbca0a

media-tv/kodi: add documentation to metadata

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34460
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml
index c0e583490be2..a663e6bef6c7 100644
--- a/media-tv/kodi/metadata.xml
+++ b/media-tv/kodi/metadata.xml
@@ -33,6 +33,7 @@


https://trac.kodi.tv/
+   https://kodi.wiki/
xbmc/xbmc

 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-12-01 Thread Miroslav Å ulc
commit: ceba899a6d24c6c20d45741f3326d38accb8f662
Author: Miroslav Å ulc  gentoo  org>
AuthorDate: Fri Dec  1 12:39:15 2023 +
Commit: Miroslav Å ulc  gentoo  org>
CommitDate: Fri Dec  1 12:39:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceba899a

media-tv/kodi: live needs tinyxml2

Signed-off-by: Miroslav Å ulc  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index c7e3de971fcd..835a3e47c418 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -62,6 +62,7 @@ RESTRICT="!test? ( test )"
 COMMON_DEPEND="
>=dev-libs/lzo-2.04
>=dev-libs/flatbuffers-1.11.0:=
+   >=dev-libs/tinyxml2-9.0.0:=
>=media-libs/libjpeg-turbo-2.1.4:=
>=media-libs/libpng-1.6.26:0=
 "



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-10-06 Thread Sam James
commit: d83350c45a46a79d8be48009d85dee55b2e89e2f
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct  6 17:59:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 18:00:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83350c4

media-tv/kodi: fix PkgMetadataXmlInvalidPkgRef (udev)

Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml
index b2debfa81d1e..c0e583490be2 100644
--- a/media-tv/kodi/metadata.xml
+++ b/media-tv/kodi/metadata.xml
@@ -24,9 +24,9 @@
Enable control of shutdown, reboot, 
suspend, and hibernate
Enable support for the Raspberry 
Pi
Use system ffmpeg instead of the 
bundled one
-   Use virtual/libusb for usb 
device hotplug support. This flag should only be enabled if you're running a 
non-Linux kernel or you don't want to use sys-fs/udev.
+   Use virtual/libusb for usb 
device hotplug support. This flag should only be enabled if you're running a 
non-Linux kernel or you don't want to use udev.
Enable UDF support. Required for playing 
blurays.
-   Use sys-fs/udev rules to handle 
devices' permissions and hotplug support. Unless you know what you're doing do 
not disable this flag on Linux kernels. This is provided as an option for 
completeness.
+   Use udev rules to handle devices' permissions 
and hotplug support. Unless you know what you're doing do not disable this flag 
on Linux kernels. This is provided as an option for completeness.
Use sys-power/upower to get 
battery level and active power source
Enable internal webserver
Enable metadata XSLT scrapers support with 
dev-libs/libxslt



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-10-02 Thread Miroslav Å ulc
commit: 69e7809f456db11a44cff6b68aebb90c57279373
Author: Miroslav Å ulc  gentoo  org>
AuthorDate: Tue Oct  3 06:17:36 2023 +
Commit: Miroslav Å ulc  gentoo  org>
CommitDate: Tue Oct  3 06:17:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e7809f

media-tv/kodi: updated bundled tarballs

Closes: https://bugs.gentoo.org/876766
Signed-off-by: Miroslav Å ulc  gentoo.org>

 media-tv/kodi/Manifest | 6 +++---
 media-tv/kodi/kodi-.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index f5c5af7c5b95..d37004f2967f 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -2,8 +2,8 @@ DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b41
 DIST ffmpeg-kodi-5.1.2-Nexus-Alpha3.tar.gz 14416966 BLAKE2B 
fe35ef6a9aa2d60a2b34432ae8063850003d550208f223ea43af8ebcaa73e6993639e8cfe8a38676bac79e6b1816bd791b75b66ef58ff4d740bc9a5e0e7f9b78
 SHA512 
ce60852b8456d6f4bfc60de0ceadb33034d9b3eea8c0bc84d8b7199984ecbf334a2c4d9b42eade439d0ef30ce22e3b2ca0a49d4df837a18cd3136b4343ed3113
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
-DIST libdvdcss-1.4.3-Next-Nexus-Alpha2.tar.gz 102251 BLAKE2B 
c7499013a44e81e1aac736f40802db4bc2a8f70664f4d15a81b9c717861894d99a0e2b58ec922ed2f80f9335cc7647b2607daee2a297252827b17075a50ae739
 SHA512 
a8cc334036888599feaafc7e563ca079a22e52ca3d0a5f5579571f95fe27d22778f390c86b72912a1bacb0ea6b8a6008ff9d47b32383e3eac810e6ba92e8dea1
+DIST libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz 102124 BLAKE2B 
2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c
 SHA512 
d3be3bfc13c5ea56d8db745c2aab090c99760684fe4c8f62a13d266feb319e9180ceeecf8116bfd2ed90d9accba2c11dbbf93b61ad00f69a40812ebf4eabcdda
 DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 
7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355
 SHA512 
11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72
-DIST libdvdnav-6.1.1-Next-Nexus-Alpha2.tar.gz 128896 BLAKE2B 
021da81f82da0a6a47dfa1019ef07f1879cb3fcc41e790726b0afd5ba0591d24c58399c28f8e3e9b60fe4b078853236e1cb49c0c7a57c1508e6cc4d2f8ecaabd
 SHA512 
01c415a561ea8bd9d568ad2668fbf8bc54304557e413776e1b841145cad3f7b9991a6772af7bac408b2cb87c6236c378e79c1c023a58b280a6c92fee151f0fb1
+DIST libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz 128547 BLAKE2B 
db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c
 SHA512 
51e6fc033121241354a5f0b3fc9a430577ae3ff6bb7f31445aa548ef4893037fb80eea3b2c6774c81e9ebaf9c45e9b490c98c2c65eb38f9f7daba84b236f7e1d
 DIST libdvdread-6.0.0-Leia-Alpha-3.tar.gz 130649 BLAKE2B 
0c206acdaf0776841ab792c74e023af07d9539eb72e03ae164382a31ed950f60e5e15f1d055979d28f1398924471b294d11f064b11b8373353b3962a3777ff3c
 SHA512 
b3419ba0a1a2dd70f1bb6236afdfe1c6e88c9ad4264198b289e3bba9375e077cecf7f89848c7b09debaa445327f3507101f3d157e692f7a7163b2bb52643e1e7
-DIST libdvdread-6.1.3-Next-Nexus-Alpha2.tar.gz 110631 BLAKE2B 
f84f6ac77ba3fb94cf513d602c79014eb34c7d16a4c7c091a6054d7e121175b8c53a8f1339a6e5baa2d9687e8b6d8439ce76781c49612d26593a20d5ede6a388
 SHA512 
f96e365ac6788c538b5ed54c5330ef8625962e77c27098b5cbd21332fed5cbafd422f2a997499bc17aa814849fa44b131942278547207e6611a491b0ee05b91a
+DIST libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz 110513 BLAKE2B 
c94feb5a03a12efa5b7767965118d2500a088299ea36f3b82e46d157e45893e6b04503cb50f179ca681bac914457607fab26acfa6e304752b355c407578572d1
 SHA512 
629a41157d07b8ec0ea1fe89ae5ec48f63047472a862782b805c531ae31a0376fc4dc15175f8280c3ef91d7fa977bacebb1b51232640034a34bab2293210fc5e

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 183c1ec9bc1a..c7e3de971fcd 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -4,9 +4,9 @@
 EAPI=7
 
 PYTHON_REQ_USE="sqlite,ssl"
-LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2"
-LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2"
-LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2"
+LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2-2"
+LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2-2"
+LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2-2"
 FFMPEG_VERSION="5.1.2"
 CODENAME="Nexus"
 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-07-15 Thread Sam James
commit: 869e0fcfcc3cc765e9e363dc470d3f7358a31511
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 15 07:23:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 15 07:23:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=869e0fcf

media-tv/kodi: cleanup stale Python variables

Bug: https://bugs.gentoo.org/907605
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 01c313a8a371..183c1ec9bc1a 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -298,8 +298,6 @@ src_configure() {

-Dlibdvdread_URL="${DISTDIR}/libdvdread-${LIBDVDREAD_VERSION}.tar.gz"

-Dlibdvdnav_URL="${DISTDIR}/libdvdnav-${LIBDVDNAV_VERSION}.tar.gz"

-Dlibdvdcss_URL="${DISTDIR}/libdvdcss-${LIBDVDCSS_VERSION}.tar.gz"
-   -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
-   -DPYTHON_LIBRARY="$(python_get_library_path)"
-DPYTHON_VER="${EPYTHON#python}"
-DAPP_RENDER_SYSTEM="$(usex gles gles gl)"
-DCORE_PLATFORM_NAME="${core_platform_name}"



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-07-13 Thread Sam James
commit: ea0d9ca351e58f7d50cd11ff2b3ca141d966d500
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 13 09:31:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 13 09:32:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0d9ca3

media-tv/kodi: respect chosen Python for build

Thanks to Steffen Hau for investigating.

Closes: https://bugs.gentoo.org/907605
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 420ba665d2d3..01c313a8a371 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -300,6 +300,7 @@ src_configure() {

-Dlibdvdcss_URL="${DISTDIR}/libdvdcss-${LIBDVDCSS_VERSION}.tar.gz"
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
-DPYTHON_LIBRARY="$(python_get_library_path)"
+   -DPYTHON_VER="${EPYTHON#python}"
-DAPP_RENDER_SYSTEM="$(usex gles gles gl)"
-DCORE_PLATFORM_NAME="${core_platform_name}"
)



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-06-10 Thread Andreas Sturmlechner
commit: 0e806861b7f77eb1752a2af5f20ef07b2d48e762
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon May 29 09:28:49 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jun 10 22:56:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e806861

media-tv/kodi: Switch IUSE=pulseaudio to media-libs/libpulse

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-tv/kodi/kodi-19..ebuild | 2 +-
 media-tv/kodi/kodi-.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-tv/kodi/kodi-19..ebuild 
b/media-tv/kodi/kodi-19..ebuild
index 0f68427abb55..d681aed3210c 100644
--- a/media-tv/kodi/kodi-19..ebuild
+++ b/media-tv/kodi/kodi-19..ebuild
@@ -124,7 +124,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
raspberry-pi? (
|| ( media-libs/raspberrypi-userland 
media-libs/raspberrypi-userland-bin 
media-libs/mesa[egl(+),gles2,video_cards_vc4] )
)
-   pulseaudio? ( media-sound/pulseaudio )
+   pulseaudio? ( media-libs/libpulse )
samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
>=sys-libs/zlib-1.2.11
udf? ( >=dev-libs/libudfread-1.0.0 )

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 36b5d8798b0b..420ba665d2d3 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -123,7 +123,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
|| ( media-libs/raspberrypi-userland 
media-libs/raspberrypi-userland-bin 
media-libs/mesa[egl(+),gles2,video_cards_vc4] )
)
pipewire? ( media-video/pipewire )
-   pulseaudio? ( media-sound/pulseaudio )
+   pulseaudio? ( media-libs/libpulse )
samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
>=sys-libs/zlib-1.2.11
udf? ( >=dev-libs/libudfread-1.0.0 )



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-05-31 Thread Joonas Niilola
commit: 7a1b8c9f3a0a587e91f079520cb8db9099753f16
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed May 31 07:46:00 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 31 07:51:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1b8c9f

media-tv/kodi: add subslot binder for net-libs/libmicrohttpd

Signed-off-by: Joonas Niilola  gentoo.org>

 media-tv/kodi/{kodi-19.5.ebuild => kodi-19.5-r1.ebuild} | 2 +-
 media-tv/kodi/kodi-19..ebuild   | 2 +-
 media-tv/kodi/kodi-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5-r1.ebuild
similarity index 99%
rename from media-tv/kodi/kodi-19.5.ebuild
rename to media-tv/kodi/kodi-19.5-r1.ebuild
index 6dffb81372ec..3b704862e6d4 100644
--- a/media-tv/kodi/kodi-19.5.ebuild
+++ b/media-tv/kodi/kodi-19.5-r1.ebuild
@@ -146,7 +146,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=dev-libs/wayland-protocols-1.7
>=x11-libs/libxkbcommon-0.4.1
)
-   webserver? ( >=net-libs/libmicrohttpd-0.9.55[messages(+)] )
+   webserver? ( >=net-libs/libmicrohttpd-0.9.55:=[messages(+)] )
X? (
media-libs/mesa[X]
!gles? ( media-libs/libglvnd[X] )

diff --git a/media-tv/kodi/kodi-19..ebuild 
b/media-tv/kodi/kodi-19..ebuild
index 840bbfa1621d..0f68427abb55 100644
--- a/media-tv/kodi/kodi-19..ebuild
+++ b/media-tv/kodi/kodi-19..ebuild
@@ -146,7 +146,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=dev-libs/wayland-protocols-1.7
>=x11-libs/libxkbcommon-0.4.1
)
-   webserver? ( >=net-libs/libmicrohttpd-0.9.55[messages(+)] )
+   webserver? ( >=net-libs/libmicrohttpd-0.9.55:=[messages(+)] )
X? (
media-libs/mesa[X]
!gles? ( media-libs/libglvnd[X] )

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 245639840c31..36b5d8798b0b 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -145,7 +145,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=dev-libs/wayland-protocols-1.7
>=x11-libs/libxkbcommon-0.4.1
)
-   webserver? ( >=net-libs/libmicrohttpd-0.9.75[messages(+)] )
+   webserver? ( >=net-libs/libmicrohttpd-0.9.75:=[messages(+)] )
X? (
media-libs/mesa[X]
!gles? ( media-libs/libglvnd[X] )



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2023-05-30 Thread Sam James
commit: 57ce221edfeafd9b91be2ce4aacbedda83f62215
Author: Sam James  gentoo  org>
AuthorDate: Wed May 31 03:06:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 31 03:06:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ce221e

media-tv/kodi: fix build w/ new flatbuffers

Closes: https://bugs.gentoo.org/907420
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/files/kodi-19.5-flatbuffers.patch | 35 +
 media-tv/kodi/kodi-19.5.ebuild  | 13 -
 2 files changed, 42 insertions(+), 6 deletions(-)

diff --git a/media-tv/kodi/files/kodi-19.5-flatbuffers.patch 
b/media-tv/kodi/files/kodi-19.5-flatbuffers.patch
new file mode 100644
index ..3e8f00c1449f
--- /dev/null
+++ b/media-tv/kodi/files/kodi-19.5-flatbuffers.patch
@@ -0,0 +1,35 @@
+https://github.com/xbmc/xbmc/pull/23334
+
+From 07d8c98a0a65e005b85ef70e06eb1b9bbe7f764c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Markus=20H=C3=A4rer?= 
+Date: Sun, 28 May 2023 00:49:40 +0200
+Subject: [PATCH] SavestateFlatBuffer: Remove forward declararion of
+ FlatBufferBuilder
+
+This caused a compiler error with recent faltbuffers because the type changed:
+
+In file included from 
xbmc/cores/RetroPlayer/savestates/SavestateDatabase.cpp:12:
+xbmc/cores/RetroPlayer/savestates/SavestateFlatBuffer.h:19:7: error: 
definition of type 'FlatBufferBuilder' conflicts with type alias of the same 
name
+class FlatBufferBuilder;
+  ^
+/usr/include/flatbuffers/flatbuffer_builder.h:1414:7: note: 
'FlatBufferBuilder' declared here
+using FlatBufferBuilder = FlatBufferBuilderImpl;
+  ^
+1 error generated.
+
+(cherry picked from commit 351184d7e4e3edc447d04a297769eb41a477ba68)
+--- a/xbmc/cores/RetroPlayer/savestates/SavestateFlatBuffer.h
 b/xbmc/cores/RetroPlayer/savestates/SavestateFlatBuffer.h
+@@ -14,11 +14,6 @@
+ 
+ #include 
+ 
+-namespace flatbuffers
+-{
+-class FlatBufferBuilder;
+-}
+-
+ namespace KODI
+ {
+ namespace RETRO
+

diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5.ebuild
index 2a49d55230af..6dffb81372ec 100644
--- a/media-tv/kodi/kodi-19.5.ebuild
+++ b/media-tv/kodi/kodi-19.5.ebuild
@@ -33,12 +33,6 @@ fi
 
 inherit autotools cmake desktop libtool linux-info pax-utils python-single-r1 
xdg
 
-PATCHES=(
-   "${FILESDIR}/${PN}-19.4-atomic.patch"
-   "${FILESDIR}/${PN}-19.4-dav1d-1.0.0.patch"
-   "${FILESDIR}/${PN}-19.5-gcc-13.patch"
-)
-
 DESCRIPTION="A free and open source media-player and entertainment hub"
 HOMEPAGE="https://kodi.tv/ https://kodi.wiki/";
 
@@ -195,6 +189,13 @@ In some cases Kodi needs to access multicast addresses.
 Please consider enabling IP_MULTICAST under Networking options.
 "
 
+PATCHES=(
+   "${FILESDIR}/${PN}-19.4-atomic.patch"
+   "${FILESDIR}/${PN}-19.4-dav1d-1.0.0.patch"
+   "${FILESDIR}/${PN}-19.5-gcc-13.patch"
+   "${FILESDIR}/${PN}-19.5-flatbuffers.patch"
+)
+
 pkg_setup() {
check_extra_config
python-single-r1_pkg_setup



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/

2023-05-14 Thread Andreas Sturmlechner
commit: c437dbd042a0f90923bdc39776740c4d6119e14a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun May 14 09:20:20 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun May 14 10:27:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c437dbd0

media-tv/kodi: drop 19.4-r4

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-tv/kodi/Manifest|   1 -
 media-tv/kodi/files/kodi-19.4-fmt-9.patch |  74 --
 media-tv/kodi/kodi-19.4-r4.ebuild | 371 --
 3 files changed, 446 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 21f467d53b27..f5c5af7c5b95 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -1,6 +1,5 @@
 DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b419d9333cf75b00e291f1ea7447cbdc579ee2f860de7c436c924253600f3fbd6e3faaabe97aaf46db083a5bbd2f5f03badcca5d643e89
 SHA512 
d3719253d674b16638b873545583b82fba3176803c81ba8bcb37e90456dd956f1c2ee8996493840cff2d61c6399f06ed0524a759f46e4ce174bce23e9c6eda4a
 DIST ffmpeg-kodi-5.1.2-Nexus-Alpha3.tar.gz 14416966 BLAKE2B 
fe35ef6a9aa2d60a2b34432ae8063850003d550208f223ea43af8ebcaa73e6993639e8cfe8a38676bac79e6b1816bd791b75b66ef58ff4d740bc9a5e0e7f9b78
 SHA512 
ce60852b8456d6f4bfc60de0ceadb33034d9b3eea8c0bc84d8b7199984ecbf334a2c4d9b42eade439d0ef30ce22e3b2ca0a49d4df837a18cd3136b4343ed3113
-DIST kodi-19.4-Matrix.tar.gz 53487622 BLAKE2B 
75432f0fe225d10548c9cbce1ec5a1722ce75e9bc6f19ba9a8deffc50874be94ca1552c5bd75b3ea1712344ebdf6f5934bca3ee315e6acccd2141df7de3304e9
 SHA512 
2804c57d85877873dae8e62f083b86f51fceebb802819523654a231f50f9850022956e1a9b91702e7c8b3f7ab437ceea7b10319239a8289dbf877ce94bba07c9
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2.tar.gz 102251 BLAKE2B 
c7499013a44e81e1aac736f40802db4bc2a8f70664f4d15a81b9c717861894d99a0e2b58ec922ed2f80f9335cc7647b2607daee2a297252827b17075a50ae739
 SHA512 
a8cc334036888599feaafc7e563ca079a22e52ca3d0a5f5579571f95fe27d22778f390c86b72912a1bacb0ea6b8a6008ff9d47b32383e3eac810e6ba92e8dea1

diff --git a/media-tv/kodi/files/kodi-19.4-fmt-9.patch 
b/media-tv/kodi/files/kodi-19.4-fmt-9.patch
deleted file mode 100644
index b60d9ccc93aa..
--- a/media-tv/kodi/files/kodi-19.4-fmt-9.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 6e081841981af8fc0d88d4f549456fd93b7ae2ac Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum 
-Date: Wed, 6 Jul 2022 22:48:35 +1000
-Subject: [PATCH 1/2] GLUtils: cast as char as formatting of non-void pointers
- is disallowed
-

- xbmc/utils/GLUtils.cpp | 10 +-
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/xbmc/utils/GLUtils.cpp b/xbmc/utils/GLUtils.cpp
-index 1ef804709ff56..c36dcf6a20fec 100644
 a/xbmc/utils/GLUtils.cpp
-+++ b/xbmc/utils/GLUtils.cpp
-@@ -148,27 +148,27 @@ void _VerifyGLState(const char* szfile, const char* 
szfunction, int lineno)
- void LogGraphicsInfo()
- {
- #if defined(HAS_GL) || defined(HAS_GLES)
--  const GLubyte *s;
-+  const char* s;
- 
--  s = glGetString(GL_VENDOR);
-+  s = reinterpret_cast(glGetString(GL_VENDOR));
-   if (s)
- CLog::Log(LOGINFO, "GL_VENDOR = %s", s);
-   else
- CLog::Log(LOGINFO, "GL_VENDOR = NULL");
- 
--  s = glGetString(GL_RENDERER);
-+  s = reinterpret_cast(glGetString(GL_RENDERER));
-   if (s)
- CLog::Log(LOGINFO, "GL_RENDERER = %s", s);
-   else
- CLog::Log(LOGINFO, "GL_RENDERER = NULL");
- 
--  s = glGetString(GL_VERSION);
-+  s = reinterpret_cast(glGetString(GL_VERSION));
-   if (s)
- CLog::Log(LOGINFO, "GL_VERSION = %s", s);
-   else
- CLog::Log(LOGINFO, "GL_VERSION = NULL");
- 
--  s = glGetString(GL_SHADING_LANGUAGE_VERSION);
-+  s = reinterpret_cast(glGetString(GL_SHADING_LANGUAGE_VERSION));
-   if (s)
- CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = %s", s);
-   else
-
-From 6a504c306b743b73225bd81e490ef7dc9fae2c25 Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum 
-Date: Mon, 11 Jul 2022 09:39:02 +
-Subject: [PATCH 2/2] WinSystemX11: cast as char as formatting of non-void
- pointers is disallowed
-

- xbmc/windowing/X11/WinSystemX11.cpp | 5 -
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/xbmc/windowing/X11/WinSystemX11.cpp 
b/xbmc/windowing/X11/WinSystemX11.cpp
-index 8a18288fd8af0..033c0f77bf454 100644
 a/xbmc/windowing/X11/WinSystemX11.cpp

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-05-14 Thread Sam James
commit: 20aeeb9d995c452f213ce7b34df37e7b2e4d8c6a
Author: Sam James  gentoo  org>
AuthorDate: Sun May 14 09:15:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 14 09:15:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20aeeb9d

media-tv/kodi: Stabilize 19.5 x86, #893520

Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-19.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5.ebuild
index 3f033734ff91..2a49d55230af 100644
--- a/media-tv/kodi/kodi-19.5.ebuild
+++ b/media-tv/kodi/kodi-19.5.ebuild
@@ -27,7 +27,7 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm arm64 ~riscv x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/

2023-05-09 Thread Sam James
commit: 37860b731a185b464776c611e9a106e4db93beca
Author: Andrew Udvare  gmail  com>
AuthorDate: Mon May  8 22:42:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 10 01:26:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37860b73

media-tv/kodi: fix build with USE vaapi with GCC 13

Closes: https://bugs.gentoo.org/905644
Signed-off-by: Andrew Udvare  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30943
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/files/kodi-19.5-gcc-13.patch | 12 
 1 file changed, 12 insertions(+)

diff --git a/media-tv/kodi/files/kodi-19.5-gcc-13.patch 
b/media-tv/kodi/files/kodi-19.5-gcc-13.patch
index 130c3c225486..268ebc2737f7 100644
--- a/media-tv/kodi/files/kodi-19.5-gcc-13.patch
+++ b/media-tv/kodi/files/kodi-19.5-gcc-13.patch
@@ -56,3 +56,15 @@ Bug: https://bugs.gentoo.org/892503
  #include 
  #include 
  namespace KODI
+diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h 
b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h
+index 66d1bf0200..dcd60698d6 100644
+--- a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h
 b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h
+@@ -9,6 +9,7 @@
+ #pragma once
+ 
+ #include 
++#include 
+ 
+ #if defined(HAS_GL)
+ // always define GL_GLEXT_PROTOTYPES before include gl headers



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-05-02 Thread Sam James
commit: 13869cf61f1f7b26a20811fda02619380b656b76
Author: Sam James  gentoo  org>
AuthorDate: Wed May  3 05:20:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  3 05:22:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13869cf6

media-tv/kodi: enable py3.11

As noted in the bug, taking a punt on this given I don't see any upstream
commits indicating it doesn't work.

Closes: https://bugs.gentoo.org/905076
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-19.5.ebuild| 2 +-
 media-tv/kodi/kodi-19..ebuild | 2 +-
 media-tv/kodi/kodi-.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5.ebuild
index db326e7f1d0a..3f033734ff91 100644
--- a/media-tv/kodi/kodi-19.5.ebuild
+++ b/media-tv/kodi/kodi-19.5.ebuild
@@ -10,7 +10,7 @@ LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3"
 FFMPEG_VERSION="4.3.2"
 CODENAME="Matrix"
 FFMPEG_KODI_VERSION="19.1"
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{10..11} )
 SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz

diff --git a/media-tv/kodi/kodi-19..ebuild 
b/media-tv/kodi/kodi-19..ebuild
index 46037f8a406b..840bbfa1621d 100644
--- a/media-tv/kodi/kodi-19..ebuild
+++ b/media-tv/kodi/kodi-19..ebuild
@@ -10,7 +10,7 @@ LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3"
 FFMPEG_VERSION="4.3.2"
 CODENAME="Matrix"
 FFMPEG_KODI_VERSION="19.1"
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{10..11} )
 SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index d83f9fc2f23a..245639840c31 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -10,7 +10,7 @@ LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2"
 FFMPEG_VERSION="5.1.2"
 CODENAME="Nexus"
 FFMPEG_KODI_VERSION="Alpha3"
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{10..11} )
 SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-04-16 Thread Matt Turner
commit: 3e4fbbde9fa4378ea8f8d8d0fcb3ea4ec3fb0a1a
Author: Sebastian Parborg  gmail  com>
AuthorDate: Tue Mar  7 16:58:40 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Apr 17 01:25:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4fbbde

media-tv/kodi: Drop old versions

Signed-off-by: Sebastian Parborg  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-tv/kodi/kodi-19.4-r3.ebuild | 370 --
 1 file changed, 370 deletions(-)

diff --git a/media-tv/kodi/kodi-19.4-r3.ebuild 
b/media-tv/kodi/kodi-19.4-r3.ebuild
deleted file mode 100644
index 7f010fb5fdd6..
--- a/media-tv/kodi/kodi-19.4-r3.ebuild
+++ /dev/null
@@ -1,370 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_REQ_USE="sqlite,ssl"
-LIBDVDCSS_VERSION="1.4.2-Leia-Beta-5"
-LIBDVDREAD_VERSION="6.0.0-Leia-Alpha-3"
-LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3"
-FFMPEG_VERSION="4.3.2"
-CODENAME="Matrix"
-FFMPEG_KODI_VERSION="19.1"
-PYTHON_COMPAT=( python3_{9,10} )
-SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
-   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
-   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
-   !system-ffmpeg? ( 
https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz
 -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/xbmc/xbmc.git";
-   EGIT_BRANCH="Matrix"
-   inherit git-r3
-else
-   MY_PV=${PV/_p/_r}
-   MY_PV=${MY_PV/_alpha/a}
-   MY_PV=${MY_PV/_beta/b}
-   MY_PV=${MY_PV/_rc/RC}
-   MY_PV="${MY_PV}-${CODENAME}"
-   MY_P="${PN}-${MY_PV}"
-   SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="amd64 ~arm arm64 x86"
-   S=${WORKDIR}/xbmc-${MY_PV}
-fi
-
-inherit autotools cmake desktop libtool linux-info pax-utils python-single-r1 
xdg
-
-PATCHES=(
-   "${FILESDIR}/${P}-dav1d-1.0.0.patch"
-)
-
-DESCRIPTION="A free and open source media-player and entertainment hub"
-HOMEPAGE="https://kodi.tv/ https://kodi.wiki/";
-
-LICENSE="GPL-2+"
-SLOT="0"
-# use flag is called libusb so that it doesn't fool people in thinking that
-# it is _required_ for USB support. Otherwise they'll disable udev and
-# that's going to be worse.
-IUSE="airplay alsa bluetooth bluray caps cec +css dav1d dbus eventclients gbm 
gles lcms libusb lirc mariadb mysql nfs +optical power-control pulseaudio 
raspberry-pi samba +system-ffmpeg test udf udev udisks upnp upower vaapi vdpau 
wayland webserver +X +xslt zeroconf"
-IUSE="${IUSE} cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 
cpu_flags_arm_neon"
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   || ( gbm wayland X )
-   ?? ( mariadb mysql )
-   bluray? ( udf )
-   udev? ( !libusb )
-   udisks? ( dbus )
-   upower? ( dbus )
-   power-control? ( dbus )
-   vdpau? (
-   X
-   !gles
-   !gbm
-   )
-   zeroconf? ( dbus )
-"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-   >=dev-libs/lzo-2.04
-   >=dev-libs/flatbuffers-1.12.0:=
-   >=media-libs/libjpeg-turbo-2.0.4:=
-   >=media-libs/libpng-1.6.26:0=
-"
-COMMON_TARGET_DEPEND="${PYTHON_DEPS}
-   airplay? (
-   >=app-pda/libplist-2.0.0
-   net-libs/shairplay
-   )
-   alsa? ( >=media-libs/alsa-lib-1.1.4.1 )
-   bluetooth? ( net-wireless/bluez )
-   bluray? ( >=media-libs/libbluray-1.1.2 )
-   caps? ( sys-libs/libcap )
-   dbus? ( sys-apps/dbus )
-   dev-db/sqlite
-   =dev-libs/fribidi-1.0.5
-   cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] )
-   dev-libs/libpcre[cxx]
-   >=dev-libs/spdlog-1.5.0:=
-   dev-libs/tinyxml[stl]
-   $(python_gen_cond_dep '
-   dev-python/pillow[${PYTHON_USEDEP}]
-   dev-python/pycryptodome[${PYTHON_USEDEP}]
-   ')
-   >=dev-libs/libcdio-2.1.0[cxx]
-   >=dev-libs/libfmt-6.1.2
-   dev-libs/libfstrcmp
-   gbm? (
-   >=dev-libs/libinput-1.10.5
-   media-libs/mesa[gbm(+)]
-   x11-libs/libxkbcommon
-   )
-   gles? (
-   !raspberry-pi? ( media-libs/mesa[gles2] )
-   )
-   lcms? ( media-libs/lcms:2 )
-   libusb? ( virtual/libusb:1 )
-   virtual/ttf-fonts
-   media-fonts/roboto
-   >=media-libs/freetype-2.10.1
-   >=media-libs/libass-0.13.4
-   !raspberry-pi? ( media-libs/mesa[egl(+)] )
-   >=media-libs/taglib-1.11.1
-   

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-03-13 Thread Sam James
commit: b1739c007917ec0ceb6ab68c91cfc3439c022724
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 13 20:50:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 13 20:50:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1739c00

media-tv/kodi: Stabilize 19.5 arm64, #893520

Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-19.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5.ebuild
index 68653e38cf72..db326e7f1d0a 100644
--- a/media-tv/kodi/kodi-19.5.ebuild
+++ b/media-tv/kodi/kodi-19.5.ebuild
@@ -27,7 +27,7 @@ else
MY_PV="${MY_PV}-${CODENAME}"
MY_P="${PN}-${MY_PV}"
SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2023-01-29 Thread Sam James
commit: b1abe11db602377ba9c72c9944feefba52160b17
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 30 03:10:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 30 03:24:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1abe11d

media-tv/kodi: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/892503
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/files/kodi-19.5-gcc-13.patch | 58 ++
 media-tv/kodi/kodi-19.5.ebuild |  1 +
 2 files changed, 59 insertions(+)

diff --git a/media-tv/kodi/files/kodi-19.5-gcc-13.patch 
b/media-tv/kodi/files/kodi-19.5-gcc-13.patch
new file mode 100644
index ..130c3c225486
--- /dev/null
+++ b/media-tv/kodi/files/kodi-19.5-gcc-13.patch
@@ -0,0 +1,58 @@
+https://bugs.gentoo.org/892503
+https://github.com/xbmc/xbmc/pull/22627
+https://github.com/xbmc/xbmc/pull/22631
+
+From 6730f62c5d709f8789e11d3f979c597fe702daa3 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sun, 29 Jan 2023 22:14:16 +
+Subject: [PATCH] windowing: X11: Add missing  include (fix build with
+ GCC 13)
+
+GCC 13 (as usual for new compiler releases) shuffles around some
+internal includes and so  etc is no longer transitively included.
+
+See https://www.gnu.org/software/gcc/gcc-13/porting_to.html.
+
+Bug: https://bugs.gentoo.org/892503
+--- a/xbmc/windowing/X11/GLContext.h
 b/xbmc/windowing/X11/GLContext.h
+@@ -8,6 +8,7 @@
+ 
+ #pragma once
+ 
++#include 
+ #include 
+ 
+ #include 
+
+--- a/xbmc/cores/VideoPlayer/VideoRenderers/ColorManager.h
 b/xbmc/cores/VideoPlayer/VideoRenderers/ColorManager.h
+@@ -12,6 +12,7 @@
+ #include 
+ #endif
+ 
++#include 
+ #include 
+ 
+ extern "C"
+--- a/xbmc/pictures/Picture.h
 b/xbmc/pictures/Picture.h
+@@ -11,6 +11,8 @@
+ #include "pictures/PictureScalingAlgorithm.h"
+ #include "utils/Job.h"
+ 
++#include 
++#include 
+ #include 
+ #include 
+ 
+--- a/xbmc/platform/Filesystem.h
 b/xbmc/platform/Filesystem.h
+@@ -8,6 +8,7 @@
+ 
+ #pragma once
+ 
++#include 
+ #include 
+ #include 
+ namespace KODI

diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5.ebuild
index bda9d573b7d2..68653e38cf72 100644
--- a/media-tv/kodi/kodi-19.5.ebuild
+++ b/media-tv/kodi/kodi-19.5.ebuild
@@ -36,6 +36,7 @@ inherit autotools cmake desktop libtool linux-info pax-utils 
python-single-r1 xd
 PATCHES=(
"${FILESDIR}/${PN}-19.4-atomic.patch"
"${FILESDIR}/${PN}-19.4-dav1d-1.0.0.patch"
+   "${FILESDIR}/${PN}-19.5-gcc-13.patch"
 )
 
 DESCRIPTION="A free and open source media-player and entertainment hub"



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-01-27 Thread Sam James
commit: 4cc4b39ea1496b0cb2eb2837230023cc927753e6
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 28 03:56:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 28 03:56:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc4b39e

media-tv/kodi: depend on older crossguid for 19.x

For master, this is fixed, but the CMake module changes are a pain to backport,
and Kodi is the only reverse dependency of crossguid anyway. So, for 20.x,
this should work (no need for <).

Closes: https://bugs.gentoo.org/892297
Signed-off-by: Sam James  gentoo.org>

 media-tv/kodi/kodi-19.4-r3.ebuild | 2 +-
 media-tv/kodi/kodi-19.4-r4.ebuild | 2 +-
 media-tv/kodi/kodi-19.5.ebuild| 2 +-
 media-tv/kodi/kodi-19..ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-tv/kodi/kodi-19.4-r3.ebuild 
b/media-tv/kodi/kodi-19.4-r3.ebuild
index fb80e98d4055..7f010fb5fdd6 100644
--- a/media-tv/kodi/kodi-19.4-r3.ebuild
+++ b/media-tv/kodi/kodi-19.4-r3.ebuild
@@ -82,7 +82,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
caps? ( sys-libs/libcap )
dbus? ( sys-apps/dbus )
dev-db/sqlite
-   dev-libs/crossguid
+   =dev-libs/fribidi-1.0.5
cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] )
dev-libs/libpcre[cxx]

diff --git a/media-tv/kodi/kodi-19.4-r4.ebuild 
b/media-tv/kodi/kodi-19.4-r4.ebuild
index fee5480e298a..319a0c88d9f9 100644
--- a/media-tv/kodi/kodi-19.4-r4.ebuild
+++ b/media-tv/kodi/kodi-19.4-r4.ebuild
@@ -84,7 +84,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
caps? ( sys-libs/libcap )
dbus? ( sys-apps/dbus )
dev-db/sqlite
-   dev-libs/crossguid
+   =dev-libs/fribidi-1.0.5
cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] )
dev-libs/libpcre[cxx]

diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5.ebuild
index f2e357770c01..bda9d573b7d2 100644
--- a/media-tv/kodi/kodi-19.5.ebuild
+++ b/media-tv/kodi/kodi-19.5.ebuild
@@ -83,7 +83,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
caps? ( sys-libs/libcap )
dbus? ( sys-apps/dbus )
dev-db/sqlite
-   dev-libs/crossguid
+   =dev-libs/fribidi-1.0.5
cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] )
dev-libs/libpcre[cxx]

diff --git a/media-tv/kodi/kodi-19..ebuild 
b/media-tv/kodi/kodi-19..ebuild
index 2e29adf1eb88..46037f8a406b 100644
--- a/media-tv/kodi/kodi-19..ebuild
+++ b/media-tv/kodi/kodi-19..ebuild
@@ -78,7 +78,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
caps? ( sys-libs/libcap )
dbus? ( sys-apps/dbus )
dev-db/sqlite
-   dev-libs/crossguid
+   =dev-libs/fribidi-1.0.5
cec? ( >=dev-libs/libcec-4.0[raspberry-pi?] )
dev-libs/libpcre[cxx]



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2023-01-12 Thread Craig Andrews
commit: d5ca54cb1180025e1bdf5a7cf68fff455f737dc1
Author: Craig Andrews  gentoo  org>
AuthorDate: Thu Jan 12 20:55:45 2023 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Thu Jan 12 20:57:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ca54cb

media-tv/kodi: - update ffmpeg version

See: https://github.com/xbmc/xbmc/pull/21248
Closes: https://bugs.gentoo.org/890375
Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/Manifest | 2 +-
 media-tv/kodi/kodi-.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 605b631aaacf..21f467d53b27 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -1,5 +1,5 @@
 DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b419d9333cf75b00e291f1ea7447cbdc579ee2f860de7c436c924253600f3fbd6e3faaabe97aaf46db083a5bbd2f5f03badcca5d643e89
 SHA512 
d3719253d674b16638b873545583b82fba3176803c81ba8bcb37e90456dd956f1c2ee8996493840cff2d61c6399f06ed0524a759f46e4ce174bce23e9c6eda4a
-DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d55341c5fdb540474e197b85062228ab4b314c8309ec11985aa7f10519fc6106529e8e58c86eafe268190894be8532d0e0b9065fa6
 SHA512 
8beb04d577b5251e74b0d52f4d130997a8ba94bbd488c7c8309e6b45095c27807e150212888ce3a384b23dff52f8df1a7bde5407bae924ddc363f8125c0616c5
+DIST ffmpeg-kodi-5.1.2-Nexus-Alpha3.tar.gz 14416966 BLAKE2B 
fe35ef6a9aa2d60a2b34432ae8063850003d550208f223ea43af8ebcaa73e6993639e8cfe8a38676bac79e6b1816bd791b75b66ef58ff4d740bc9a5e0e7f9b78
 SHA512 
ce60852b8456d6f4bfc60de0ceadb33034d9b3eea8c0bc84d8b7199984ecbf334a2c4d9b42eade439d0ef30ce22e3b2ca0a49d4df837a18cd3136b4343ed3113
 DIST kodi-19.4-Matrix.tar.gz 53487622 BLAKE2B 
75432f0fe225d10548c9cbce1ec5a1722ce75e9bc6f19ba9a8deffc50874be94ca1552c5bd75b3ea1712344ebdf6f5934bca3ee315e6acccd2141df7de3304e9
 SHA512 
2804c57d85877873dae8e62f083b86f51fceebb802819523654a231f50f9850022956e1a9b91702e7c8b3f7ab437ceea7b10319239a8289dbf877ce94bba07c9
 DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 4e5506aed931..d83f9fc2f23a 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,9 +7,9 @@ PYTHON_REQ_USE="sqlite,ssl"
 LIBDVDCSS_VERSION="1.4.3-Next-Nexus-Alpha2"
 LIBDVDREAD_VERSION="6.1.3-Next-Nexus-Alpha2"
 LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2"
-FFMPEG_VERSION="4.4.1"
+FFMPEG_VERSION="5.1.2"
 CODENAME="Nexus"
-FFMPEG_KODI_VERSION="Alpha1"
+FFMPEG_KODI_VERSION="Alpha3"
 PYTHON_COMPAT=( python3_11 )
 SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2022-12-24 Thread Craig Andrews
commit: 85bb55ba19bee88d0592268318a817e8768299d8
Author: Craig Andrews  gentoo  org>
AuthorDate: Sat Dec 24 17:32:19 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Sat Dec 24 17:34:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bb55ba

media-tv/kodi: add 19.5

Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/Manifest |   1 +
 media-tv/kodi/kodi-19.5.ebuild | 370 +
 2 files changed, 371 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 7f8762b2f10b..605b631aaacf 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -1,6 +1,7 @@
 DIST ffmpeg-kodi-4.3.2-Matrix-19.1.tar.gz 13490949 BLAKE2B 
90007f2c4bac0e0a52b419d9333cf75b00e291f1ea7447cbdc579ee2f860de7c436c924253600f3fbd6e3faaabe97aaf46db083a5bbd2f5f03badcca5d643e89
 SHA512 
d3719253d674b16638b873545583b82fba3176803c81ba8bcb37e90456dd956f1c2ee8996493840cff2d61c6399f06ed0524a759f46e4ce174bce23e9c6eda4a
 DIST ffmpeg-kodi-4.4.1-Nexus-Alpha1.tar.gz 13725564 BLAKE2B 
51d310e7000aeba657d55341c5fdb540474e197b85062228ab4b314c8309ec11985aa7f10519fc6106529e8e58c86eafe268190894be8532d0e0b9065fa6
 SHA512 
8beb04d577b5251e74b0d52f4d130997a8ba94bbd488c7c8309e6b45095c27807e150212888ce3a384b23dff52f8df1a7bde5407bae924ddc363f8125c0616c5
 DIST kodi-19.4-Matrix.tar.gz 53487622 BLAKE2B 
75432f0fe225d10548c9cbce1ec5a1722ce75e9bc6f19ba9a8deffc50874be94ca1552c5bd75b3ea1712344ebdf6f5934bca3ee315e6acccd2141df7de3304e9
 SHA512 
2804c57d85877873dae8e62f083b86f51fceebb802819523654a231f50f9850022956e1a9b91702e7c8b3f7ab437ceea7b10319239a8289dbf877ce94bba07c9
+DIST kodi-19.5-Matrix.tar.gz 53496968 BLAKE2B 
89855e4d59faa5734e945e50267c2ec8d8e8bef91ecfa49ae49dd99f749a59609b55c57821042939082a8f98ea95f7edc3de0fa0494e218d454c67b79807ef87
 SHA512 
b560c068491a7f62894167da99be082f0e6a8a840cbfe1fb0cef5c844cda959bd3b5479a435b58616bb2a8454083ad393a4d49de05fbbdb0817a0fad9726e52f
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdcss-1.4.3-Next-Nexus-Alpha2.tar.gz 102251 BLAKE2B 
c7499013a44e81e1aac736f40802db4bc2a8f70664f4d15a81b9c717861894d99a0e2b58ec922ed2f80f9335cc7647b2607daee2a297252827b17075a50ae739
 SHA512 
a8cc334036888599feaafc7e563ca079a22e52ca3d0a5f5579571f95fe27d22778f390c86b72912a1bacb0ea6b8a6008ff9d47b32383e3eac810e6ba92e8dea1
 DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 
7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355
 SHA512 
11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72

diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5.ebuild
new file mode 100644
index ..d936f613c924
--- /dev/null
+++ b/media-tv/kodi/kodi-19.5.ebuild
@@ -0,0 +1,370 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_REQ_USE="sqlite,ssl"
+LIBDVDCSS_VERSION="1.4.2-Leia-Beta-5"
+LIBDVDREAD_VERSION="6.0.0-Leia-Alpha-3"
+LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3"
+FFMPEG_VERSION="4.3.2"
+CODENAME="Matrix"
+FFMPEG_KODI_VERSION="19.1"
+PYTHON_COMPAT=( python3_{8,9,10} )
+SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
+   !system-ffmpeg? ( 
https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz
 -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/xbmc/xbmc.git";
+   EGIT_BRANCH="Matrix"
+   inherit git-r3
+else
+   MY_PV=${PV/_p/_r}
+   MY_PV=${MY_PV/_alpha/a}
+   MY_PV=${MY_PV/_beta/b}
+   MY_PV=${MY_PV/_rc/RC}
+   MY_PV="${MY_PV}-${CODENAME}"
+   MY_P="${PN}-${MY_PV}"
+   SRC_URI+=" https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
+   KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
+   S=${WORKDIR}/xbmc-${MY_PV}
+fi
+
+inherit autotools cmake desktop libtool linux-info pax-utils python-single-r1 
xdg
+
+PATCHES=(
+   "${FILESDIR}/${PN}-19.4-atomic.patch"
+   "${FILESDIR}/${PN}-19.4-dav1d-1.0.0.patch"
+)
+
+DESCRIPTION="A free and open source media-player and entertainment hub"
+HOMEPAGE="https://kodi.tv/ https://kodi.wiki/";
+
+LICENSE="GPL-2+"
+SLOT="0"
+# use flag is called 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/

2022-12-17 Thread Craig Andrews
commit: ea3f9b515f106ef3b8a48009ddc7057acf5ea7b2
Author: V3n3RiX  koprulu  sector>
AuthorDate: Fri Dec 16 22:00:54 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Sat Dec 17 19:38:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3f9b51

media-tv/kodi: mesa 22.3.0 compatibility

Closes: https://bugs.gentoo.org/885419
Closes: https://github.com/gentoo/gentoo/pull/28683
Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch | 12 
 media-tv/kodi/kodi-19.4-r3.ebuild |  5 +
 media-tv/kodi/kodi-19.4-r4.ebuild |  5 +
 3 files changed, 22 insertions(+)

diff --git a/media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch 
b/media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch
new file mode 100644
index ..e9ff90dfe55d
--- /dev/null
+++ b/media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch
@@ -0,0 +1,12 @@
+--- xbmc/xbmc/windowing/X11/GLContextEGL.h
 xbmc/xbmc/windowing/X11/GLContextEGL.h
+@@ -13,7 +13,7 @@
+ #include "threads/CriticalSection.h"
+ 
+ #include 
+-#include 
++#include 
+ #include 
+ 
+ class CGLContextEGL : public CGLContext
+

diff --git a/media-tv/kodi/kodi-19.4-r3.ebuild 
b/media-tv/kodi/kodi-19.4-r3.ebuild
index caecc50cdfca..cc58afabb027 100644
--- a/media-tv/kodi/kodi-19.4-r3.ebuild
+++ b/media-tv/kodi/kodi-19.4-r3.ebuild
@@ -208,6 +208,11 @@ src_unpack() {
 }
 
 src_prepare() {
+   # https://bugs.gentoo.org/885419
+   if has_version ">=media-libs/mesa-22.3.0"; then
+   PATCHES+=( "${FILESDIR}/${P}-fix-mesa-22.3.0-build.patch" )
+   fi
+
cmake_src_prepare
 
# avoid long delays when powerkit isn't running #348580

diff --git a/media-tv/kodi/kodi-19.4-r4.ebuild 
b/media-tv/kodi/kodi-19.4-r4.ebuild
index 3fcd9b13f6b0..d295604a6976 100644
--- a/media-tv/kodi/kodi-19.4-r4.ebuild
+++ b/media-tv/kodi/kodi-19.4-r4.ebuild
@@ -209,6 +209,11 @@ src_unpack() {
 }
 
 src_prepare() {
+   # https://bugs.gentoo.org/885419
+   if has_version ">=media-libs/mesa-22.3.0"; then
+   PATCHES+=( "${FILESDIR}/${P}-fix-mesa-22.3.0-build.patch" )
+   fi
+
cmake_src_prepare
 
# avoid long delays when powerkit isn't running #348580



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/

2022-11-23 Thread Craig Andrews
commit: 9851c1beff92a96d5935bd72eff257c3c72250e2
Author: Craig Andrews  gentoo  org>
AuthorDate: Wed Nov 23 13:21:18 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Nov 23 13:21:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9851c1be

media-tv/kodi: fix kodi-19.4-dav1d-1.0.0.patch

Signed-off-by: Craig Andrews  gentoo.org>

Closes: https://github.com/gentoo/gentoo/pull/28398

 media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch 
b/media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch
index e1d69a983c35..b37ace0f31ec 100644
--- a/media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch
+++ b/media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch
@@ -6,7 +6,7 @@ diff -Nur a/cmake/modules/FindFFMPEG.cmake 
b/cmake/modules/FindFFMPEG.cmake
  
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/CMakeLists.txt
   &&
 +  # patch internal ffmpeg, fix build against 
dav1d 1.0.0
-+  patch -p1 < 
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/build-fix-for-dav1d-1.0.0.patch
++  patch -p1 < 
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/build-fix-for-dav1d-1.0.0.patch 
&&
  ${CMAKE_COMMAND} -E copy
  
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/FindGnuTls.cmake
  )



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/

2022-11-22 Thread Craig Andrews
commit: 6c45cb2f21571bc67827dce5be44eba75c18330d
Author: V3n3RiX  koprulu  sector>
AuthorDate: Tue Nov 22 19:27:24 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Nov 23 06:01:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c45cb2f

media-tv/kodi : fix build with dav1d 1.0.0

Closes: https://github.com/gentoo/gentoo/pull/28389
Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch | 94 +
 media-tv/kodi/kodi-19.4-r3.ebuild   |  6 +-
 media-tv/kodi/kodi-19.4-r4.ebuild   |  3 +-
 3 files changed, 101 insertions(+), 2 deletions(-)

diff --git a/media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch 
b/media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch
new file mode 100644
index ..e1d69a983c35
--- /dev/null
+++ b/media-tv/kodi/files/kodi-19.4-dav1d-1.0.0.patch
@@ -0,0 +1,94 @@
+diff -Nur a/cmake/modules/FindFFMPEG.cmake b/cmake/modules/FindFFMPEG.cmake
+--- a/cmake/modules/FindFFMPEG.cmake   2022-03-02 18:38:51.0 +
 b/cmake/modules/FindFFMPEG.cmake   2022-11-22 19:15:38.690434650 +
+@@ -275,6 +275,8 @@
+   PATCH_COMMAND ${CMAKE_COMMAND} -E copy
+ 
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/CMakeLists.txt
+  &&
++  # patch internal ffmpeg, fix build against 
dav1d 1.0.0
++  patch -p1 < 
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/build-fix-for-dav1d-1.0.0.patch
+ ${CMAKE_COMMAND} -E copy
+ 
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/FindGnuTls.cmake
+ )
+diff -Nur a/tools/depends/target/ffmpeg/build-fix-for-dav1d-1.0.0.patch 
b/tools/depends/target/ffmpeg/build-fix-for-dav1d-1.0.0.patch
+--- a/tools/depends/target/ffmpeg/build-fix-for-dav1d-1.0.0.patch  
1970-01-01 01:00:00.0 +0100
 b/tools/depends/target/ffmpeg/build-fix-for-dav1d-1.0.0.patch  
2022-11-22 19:12:09.566420470 +
+@@ -0,0 +1,78 @@
++From 2546e1ed27f92a840a2cf319e3c1833799974cf1 Mon Sep 17 00:00:00 2001
++From: BlackEagle 
++Date: Fri, 29 Apr 2022 14:33:12 +0200
++Subject: [PATCH] add build fix for dav1d 1.0.0
++
++Taken from 
https://github.com/FFmpeg/FFmpeg/commit/e204846ec16c1ab34c7f3a681734cf5190433018
++
++add FF_DAV1D_VERSION_AT_LEAST
++
++Extracted from 
https://github.com/FFmpeg/FFmpeg/commit/7ee17ec7e46afef0e0af20af196292ec75f50b62
++
++Signed-off-by: BlackEagle 
++---
++ libavcodec/libdav1d.c | 24 ++--
++ 1 file changed, 22 insertions(+), 2 deletions(-)
++
++diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c
++index bbb3ec1e6c..08b4af8ac8 100644
++--- a/libavcodec/libdav1d.c
+ b/libavcodec/libdav1d.c
++@@ -30,6 +30,9 @@
++ #include "decode.h"
++ #include "internal.h"
++ 
+++#define FF_DAV1D_VERSION_AT_LEAST(x,y) \
+++(DAV1D_API_VERSION_MAJOR > (x) || DAV1D_API_VERSION_MAJOR == (x) && 
DAV1D_API_VERSION_MINOR >= (y))
+++
++ typedef struct Libdav1dContext {
++ AVClass *class;
++ Dav1dContext *c;
++@@ -140,6 +143,15 @@ static av_cold int libdav1d_init(AVCodecContext *c)
++ if (dav1d->operating_point >= 0)
++ s.operating_point = dav1d->operating_point;
++ 
+++#if FF_DAV1D_VERSION_AT_LEAST(6,0)
+++if (dav1d->frame_threads || dav1d->tile_threads)
+++s.n_threads = FFMAX(dav1d->frame_threads, dav1d->tile_threads);
+++else
+++s.n_threads = FFMIN(threads, DAV1D_MAX_THREADS);
+++s.max_frame_delay = (c->flags & AV_CODEC_FLAG_LOW_DELAY) ? 1 : 
s.n_threads;
+++av_log(c, AV_LOG_DEBUG, "Using %d threads, %d max_frame_delay\n",
+++   s.n_threads, s.max_frame_delay);
+++#else
++ s.n_tile_threads = dav1d->tile_threads
++  ? dav1d->tile_threads
++  : FFMIN(floor(sqrt(threads)), DAV1D_MAX_TILE_THREADS);
++@@ -148,6 +160,7 @@ static av_cold int libdav1d_init(AVCodecContext *c)
++   : FFMIN(ceil(threads / s.n_tile_threads), 
DAV1D_MAX_FRAME_THREADS);
++ av_log(c, AV_LOG_DEBUG, "Using %d frame threads, %d tile threads\n",
++s.n_frame_threads, s.n_tile_threads);
+++#endif
++ 
++ res = dav1d_open(&dav1d->c, &s);
++ if (res < 0)
++@@ -384,11 +397,18 @@ static av_cold int libdav1d_close(AVCodecContext *c)
++ return 0;
++ }
++ 
+++#ifndef DAV1D_MAX_FRAME_THREADS
+++#define DAV1D_MAX_FRAME_THREADS DAV1D_MAX_THREADS
+++#endif
+++#ifndef DAV1D_MAX_TILE_THREADS
+++#define DAV1D_MAX_TILE_THREADS DAV1D_MAX_THREADS
+++#endif
+++
++ #define OFFSET(x) offsetof(Libdav1dContext, x)
++ #define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM
++ static const AVOption libdav1d_options[] = {
++-{ "tilethreads", "Tile threads", OFFSET(tile_threads), AV_OPT_TYPE_INT, 
{ .i64 = 0 }, 0, DAV1D_MAX_TILE_THREADS, VD },
++-{ 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2022-11-15 Thread Craig Andrews
commit: 8b2209a98a005db9ddb13fd601ff85128729fd8c
Author: Craig Andrews  gentoo  org>
AuthorDate: Tue Nov 15 18:02:45 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Tue Nov 15 18:03:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b2209a9

media-tv/kodi: - updates

See: https://kodi.tv/article/kodi-nexus-beta-1/

Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/kodi-.ebuild | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index b98fc959bf7f..4e5506aed931 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -10,7 +10,7 @@ LIBDVDNAV_VERSION="6.1.1-Next-Nexus-Alpha2"
 FFMPEG_VERSION="4.4.1"
 CODENAME="Nexus"
 FFMPEG_KODI_VERSION="Alpha1"
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_11 )
 SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
@@ -62,7 +62,7 @@ RESTRICT="!test? ( test )"
 COMMON_DEPEND="
>=dev-libs/lzo-2.04
>=dev-libs/flatbuffers-1.11.0:=
-   >=media-libs/libjpeg-turbo-2.0.4:=
+   >=media-libs/libjpeg-turbo-2.1.4:=
>=media-libs/libpng-1.6.26:0=
 "
 COMMON_TARGET_DEPEND="${PYTHON_DEPS}
@@ -72,7 +72,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
)
alsa? ( >=media-libs/alsa-lib-1.1.4.1 )
bluetooth? ( net-wireless/bluez )
-   bluray? ( >=media-libs/libbluray-1.1.2 )
+   bluray? ( >=media-libs/libbluray-1.3.2 )
caps? ( sys-libs/libcap )
dbus? ( sys-apps/dbus )
dev-db/sqlite
@@ -87,7 +87,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
dev-python/pycryptodome[${PYTHON_USEDEP}]
')
>=dev-libs/libcdio-2.1.0[cxx]
-   >=dev-libs/libfmt-6.1.2
+   >=dev-libs/libfmt-9.1.0
dev-libs/libfstrcmp
gbm? (
>=dev-libs/libinput-1.10.5
@@ -116,7 +116,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
mysql? ( dev-db/mysql-connector-c:= )
mariadb? ( dev-db/mariadb-connector-c:= )
>=net-misc/curl-7.68.0[http2]
-   nfs? ( >=net-fs/libnfs-2.0.0:= )
+   nfs? ( >=net-fs/libnfs-5.0.2:= )
!gles? ( media-libs/glu )
>=dev-libs/openssl-1.1.0:0=
raspberry-pi? (
@@ -145,7 +145,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
>=dev-libs/wayland-protocols-1.7
>=x11-libs/libxkbcommon-0.4.1
)
-   webserver? ( >=net-libs/libmicrohttpd-0.9.55[messages(+)] )
+   webserver? ( >=net-libs/libmicrohttpd-0.9.75[messages(+)] )
X? (
media-libs/mesa[X]
!gles? ( media-libs/libglvnd[X] )
@@ -157,7 +157,7 @@ COMMON_TARGET_DEPEND="${PYTHON_DEPS}
x11-libs/libdrm
xslt? (
dev-libs/libxslt
-   >=dev-libs/libxml2-2.9.4
+   >=dev-libs/libxml2-2.10.1
)
zeroconf? ( net-dns/avahi[dbus] )
 "



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/

2022-10-09 Thread Craig Andrews
commit: 0468c3cfd5be1bf3ed12af647c8d9432a0defb70
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri Oct  7 20:23:58 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Mon Oct 10 01:47:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0468c3cf

media-tv/kodi: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/27683
Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/files/kodi-19.1-fmt-8.patch | 28 
 1 file changed, 28 deletions(-)

diff --git a/media-tv/kodi/files/kodi-19.1-fmt-8.patch 
b/media-tv/kodi/files/kodi-19.1-fmt-8.patch
deleted file mode 100644
index ea82d007910d..
--- a/media-tv/kodi/files/kodi-19.1-fmt-8.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://github.com/xbmc/xbmc/pull/19904
-
-From 18ff80a9c169fb969b75e2143d9f1f234b71a730 Mon Sep 17 00:00:00 2001
-From: Craig Andrews 
-Date: Thu, 24 Jun 2021 20:41:11 -0400
-Subject: [PATCH] [utils] include fmt/xchar.h
-
-fmt 8 moved wchar/custom char overloads to xchar.h, so for fmt 8 
compatibility, xchar.h must be included
-
-See 
https://github.com/fmtlib/fmt/commit/76ee490468212f8705a1421b4c88f8f814b2d351

- xbmc/utils/StringUtils.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/xbmc/utils/StringUtils.h b/xbmc/utils/StringUtils.h
-index ca6f82953d90a..2dc5c3f03af2f 100644
 a/xbmc/utils/StringUtils.h
-+++ b/xbmc/utils/StringUtils.h
-@@ -36,6 +36,9 @@
- #if FMT_VERSION >= 4
- #include 
- #endif
-+#if FMT_VERSION >= 8
-+#include 
-+#endif
- 
- #include "XBDateTime.h"
- #include "utils/params_check_macros.h"



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2022-10-06 Thread Craig Andrews
commit: 9bf48b41a6703bfd516c3e1b3588c9f1dc8bf241
Author: Craig Andrews  gentoo  org>
AuthorDate: Thu Oct  6 15:44:13 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Thu Oct  6 15:44:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf48b41

media-tv/kodi: Fix IndirectInherits warning

The warning addressed is:
IndirectInherits: libtool: indirect inherit usage: 'elibtoolize'

Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/kodi-19.4-r3.ebuild | 2 +-
 media-tv/kodi/kodi-19.4-r4.ebuild | 2 +-
 media-tv/kodi/kodi-19..ebuild | 2 +-
 media-tv/kodi/kodi-.ebuild| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-tv/kodi/kodi-19.4-r3.ebuild 
b/media-tv/kodi/kodi-19.4-r3.ebuild
index 7798ffa250be..99447cce97f9 100644
--- a/media-tv/kodi/kodi-19.4-r3.ebuild
+++ b/media-tv/kodi/kodi-19.4-r3.ebuild
@@ -31,7 +31,7 @@ else
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 
-inherit autotools cmake desktop linux-info pax-utils python-single-r1 xdg
+inherit autotools cmake desktop libtool linux-info pax-utils python-single-r1 
xdg
 
 DESCRIPTION="A free and open source media-player and entertainment hub"
 HOMEPAGE="https://kodi.tv/ https://kodi.wiki/";

diff --git a/media-tv/kodi/kodi-19.4-r4.ebuild 
b/media-tv/kodi/kodi-19.4-r4.ebuild
index 773c97496ad7..e17bbefc08c3 100644
--- a/media-tv/kodi/kodi-19.4-r4.ebuild
+++ b/media-tv/kodi/kodi-19.4-r4.ebuild
@@ -31,7 +31,7 @@ else
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 
-inherit autotools cmake desktop linux-info pax-utils python-single-r1 xdg
+inherit autotools cmake desktop libtool linux-info pax-utils python-single-r1 
xdg
 
 PATCHES=(
"${FILESDIR}/${P}-fmt-9.patch"

diff --git a/media-tv/kodi/kodi-19..ebuild 
b/media-tv/kodi/kodi-19..ebuild
index 140bee7bfbb6..f8f7f358e293 100644
--- a/media-tv/kodi/kodi-19..ebuild
+++ b/media-tv/kodi/kodi-19..ebuild
@@ -31,7 +31,7 @@ else
S=${WORKDIR}/xbmc-${MY_PV}
 fi
 
-inherit autotools cmake desktop linux-info pax-utils python-single-r1 xdg
+inherit autotools cmake desktop libtool linux-info pax-utils python-single-r1 
xdg
 
 DESCRIPTION="A free and open source media-player and entertainment hub"
 HOMEPAGE="https://kodi.tv/ https://kodi.wiki/";

diff --git a/media-tv/kodi/kodi-.ebuild b/media-tv/kodi/kodi-.ebuild
index 80eeab3ee14e..52c630fb14fa 100644
--- a/media-tv/kodi/kodi-.ebuild
+++ b/media-tv/kodi/kodi-.ebuild
@@ -29,7 +29,7 @@ else
S=${WORKDIR}/xbmc-${MY_PV}-${CODENAME}
 fi
 
-inherit autotools cmake desktop linux-info pax-utils python-single-r1 xdg
+inherit autotools cmake desktop libtool linux-info pax-utils python-single-r1 
xdg
 
 DESCRIPTION="A free and open source media-player and entertainment hub"
 HOMEPAGE="https://kodi.tv/ https://kodi.wiki/";



  1   2   3   4   5   >