commit:     96ece491f6e85ea9f66be9d94a2878acaec8d893
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 18 21:17:17 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 19 00:16:05 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ece491

media-video/cclive: update EAPI 7 -> 8, fix build w/ boost-1.89

Closes: https://bugs.gentoo.org/963410
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-video/cclive/cclive-0.9.3-r3.ebuild          | 45 ++++++++++++++++++++++
 .../cclive/files/cclive-0.9.3-boost-1.89.patch     | 10 +++++
 .../files/cclive-0.9.3-disable-silent-rules.patch  | 23 +++++++++++
 3 files changed, 78 insertions(+)

diff --git a/media-video/cclive/cclive-0.9.3-r3.ebuild 
b/media-video/cclive/cclive-0.9.3-r3.ebuild
new file mode 100644
index 000000000000..4ecd79e454e0
--- /dev/null
+++ b/media-video/cclive/cclive-0.9.3-r3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="Command line tool for extracting videos from various websites"
+HOMEPAGE="https://cclive.sourceforge.net/";
+SRC_URI="https://downloads.sourceforge.net/${PN}/${PV:0:3}/${P}.tar.xz";
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+
+RDEPEND="
+       >=media-libs/libquvi-0.4.0:0=
+       >=dev-cpp/glibmm-2.24:2
+       dev-libs/boost:=
+       >=dev-libs/glib-2.24:2
+       >=net-misc/curl-7.20
+       >=dev-libs/libpcre-8.02[cxx]"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       app-arch/xz-utils
+       >=dev-build/boost-m4-0.4_p20221019-r1
+       virtual/pkgconfig"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-iostream.patch #527658
+       "${FILESDIR}"/${P}-boost-1.67.patch #671768
+       "${FILESDIR}"/${P}-disable-silent-rules.patch
+       "${FILESDIR}"/${P}-boost-1.89.patch #963410
+)
+
+src_prepare() {
+       rm m4/boost.m4 || die
+       default
+       eautoreconf
+}
+
+src_configure() {
+       append-cxxflags -std=c++11 #567174
+       econf --disable-ccl
+}

diff --git a/media-video/cclive/files/cclive-0.9.3-boost-1.89.patch 
b/media-video/cclive/files/cclive-0.9.3-boost-1.89.patch
new file mode 100644
index 000000000000..81e1d9d51635
--- /dev/null
+++ b/media-video/cclive/files/cclive-0.9.3-boost-1.89.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -73,7 +73,6 @@
+ BOOST_PROGRAM_OPTIONS
+ BOOST_IOSTREAMS
+ BOOST_FILESYSTEM
+-BOOST_SYSTEM
+ 
+ # Checks for header files.
+ AC_CHECK_HEADERS([sys/ioctl.h unistd.h sys/types.h sys/stat.h signal.h])

diff --git a/media-video/cclive/files/cclive-0.9.3-disable-silent-rules.patch 
b/media-video/cclive/files/cclive-0.9.3-disable-silent-rules.patch
new file mode 100644
index 000000000000..2daf703805c6
--- /dev/null
+++ b/media-video/cclive/files/cclive-0.9.3-disable-silent-rules.patch
@@ -0,0 +1,23 @@
+Source: 
https://github.com/mogaal/cclive/blob/master/debian/patches/fix-rpath.diff
+
+Description: Do not set rpath
+Author: Ansgar Burchardt <[email protected]>
+Origin: vendor
+Last-Update: 2013-09-20
+
+Do not set rpath for Boost libraries.  While at it, also disable silent rules
+to make finding problems easier.
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -17,8 +17,8 @@
+ AC_DEFINE_UNQUOTED([CANONICAL_TARGET], "$target", [...])
+ AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [...])
+ 
+-AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror dist-xz no-dist-gzip tar-ustar])
+-AM_SILENT_RULES([yes])
++AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror dist-xz no-dist-gzip tar-ustar 
subdir-objects])
++AM_SILENT_RULES([no])
+ 
+ # GNU Automake 1.12 requires this macro. Earlier versions do not
+ # recognize this macro. Work around this.

Reply via email to