commit:     c66aa25eb069c2965964285e4293b50a75ea18eb
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Dec 22 18:35:43 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 23:06:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c66aa25e

media-video/vcdimager: EAPI8 bump, fix 724838, fix LICENSE

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/724838
Closes: https://bugs.gentoo.org/721024
Closes: https://github.com/gentoo/gentoo/pull/34427
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 media-video/vcdimager/vcdimager-2.0.1.ebuild | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/media-video/vcdimager/vcdimager-2.0.1.ebuild 
b/media-video/vcdimager/vcdimager-2.0.1.ebuild
index 065c2eb6c8ae..ef677b24f99a 100644
--- a/media-video/vcdimager/vcdimager-2.0.1.ebuild
+++ b/media-video/vcdimager/vcdimager-2.0.1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit autotools multilib-minimal
+inherit autotools multilib-minimal toolchain-funcs
 
 DESCRIPTION="GNU VCDimager"
 HOMEPAGE="https://www.gnu.org/software/vcdimager/";
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="static-libs +xml"
@@ -19,9 +19,8 @@ RDEPEND="
        dev-libs/popt
        xml? ( dev-libs/libxml2:2 )
 "
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 DOCS=( AUTHORS BUGS ChangeLog FAQ HACKING NEWS README THANKS TODO )
 
@@ -39,6 +38,11 @@ src_prepare() {
                -e 's/noinst_PROGRAMS =/check_PROGRAMS =/' \
                example/Makefile.am || die
 
+       # don't call nm directly. Bug #724838
+       sed -i \
+               -e "s|nm|$(tc-getNM)|" \
+               lib/Makefile.am || die
+
        eautoreconf
 }
 

Reply via email to