commit:     002612edc8b404763cfc8913f989fd887fb485d8
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Wed Apr 30 17:58:20 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  1 01:25:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002612ed

dev-libs/libcec: remove cubox use flag

These headers may have never existed in the gentoo tree, older versions just
silently compiled causing breakage elsewhere. Now the situation has
improved in 7.0.0 where it will fail to configure without the headers
present atleast. But this doesn't address the fact that these headers are
still elusive.

These headers were most likely available in an android fork of the
kernel at some time and some other related headers are in an out of tree
module beagle-nxp-hdmi which was last updated in 2012 and was never in
the gentoo tree.

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

 dev-libs/libcec/libcec-6.0.2-r2.ebuild | 5 +++--
 dev-libs/libcec/libcec-7.0.0.ebuild    | 5 +++--
 dev-libs/libcec/metadata.xml           | 1 -
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/dev-libs/libcec/libcec-6.0.2-r2.ebuild 
b/dev-libs/libcec/libcec-6.0.2-r2.ebuild
index df3bc14eb531..34046941a2bb 100644
--- a/dev-libs/libcec/libcec-6.0.2-r2.ebuild
+++ b/dev-libs/libcec/libcec-6.0.2-r2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~riscv x86"
-IUSE="cubox exynos kernel-cec python tools udev +xrandr"
+IUSE="exynos kernel-cec python tools udev +xrandr"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND=">=dev-libs/libplatform-2.0.0
@@ -73,7 +73,8 @@ src_configure() {
                -DHAVE_LIBUDEV=$(usex udev ON OFF)
                -DSKIP_PYTHON_WRAPPER=$(usex python OFF ON)
                -DHAVE_EXYNOS_API=$(usex exynos ON OFF)
-               -DHAVE_TDA995X_API=$(usex cubox ON OFF)
+               # bug 922690 and bug 955124
+               -DHAVE_TDA995X_API=OFF
                -DHAVE_RPI_API=OFF
        )
 

diff --git a/dev-libs/libcec/libcec-7.0.0.ebuild 
b/dev-libs/libcec/libcec-7.0.0.ebuild
index 25686fccbef0..9a26800de71c 100644
--- a/dev-libs/libcec/libcec-7.0.0.ebuild
+++ b/dev-libs/libcec/libcec-7.0.0.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-IUSE="cubox exynos kernel-cec python tools udev +xrandr"
+IUSE="exynos kernel-cec python tools udev +xrandr"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND=">=dev-libs/libplatform-2.0.0
@@ -71,7 +71,8 @@ src_configure() {
                -DHAVE_LIBUDEV=$(usex udev)
                -DHAVE_RANDR=$(usex xrandr)
                -DHAVE_RPI_API=OFF
-               -DHAVE_TDA995X_API=$(usex cubox)
+               # bug 922690 and bug 955124
+               -DHAVE_TDA995X_API=OFF
                -DHAVE_EXYNOS_API=$(usex exynos)
                -DHAVE_LINUX_API=$(usex kernel-cec)
 

diff --git a/dev-libs/libcec/metadata.xml b/dev-libs/libcec/metadata.xml
index d85d93ab8403..785f8f1546b0 100644
--- a/dev-libs/libcec/metadata.xml
+++ b/dev-libs/libcec/metadata.xml
@@ -3,7 +3,6 @@
 <pkgmetadata>
   <!-- maintainer-needed -->
   <use>
-    <flag name="cubox">Enable support for enable support for the TDA995x</flag>
     <flag name="exynos">Enable support for Exynos chipsets</flag>
     <flag name="xrandr">Enable detection of active HDMI using xrandr 
extensions</flag>
     <flag name="kernel-cec">Enable support for Linux kernel CEC 
framework</flag>

Reply via email to