diff options
author | David Seifert <soap@gentoo.org> | 2022-07-29 23:38:22 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-07-29 23:38:22 +0200 |
commit | db14af220396e76af001dcc0cab6cd019e2539b2 (patch) | |
tree | 723bcc5c0d84b184362c2154503f6d1b56f6b7ef /media-sound/rexima | |
parent | media-sound/mup: drop 6.6 (diff) | |
download | gentoo-db14af220396e76af001dcc0cab6cd019e2539b2.tar.gz gentoo-db14af220396e76af001dcc0cab6cd019e2539b2.tar.bz2 gentoo-db14af220396e76af001dcc0cab6cd019e2539b2.zip |
media-sound/rexima: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/rexima')
-rw-r--r-- | media-sound/rexima/files/rexima-1.4-makefile.patch | 24 | ||||
-rw-r--r-- | media-sound/rexima/rexima-1.4-r2.ebuild (renamed from media-sound/rexima/rexima-1.4-r1.ebuild) | 20 |
2 files changed, 32 insertions, 12 deletions
diff --git a/media-sound/rexima/files/rexima-1.4-makefile.patch b/media-sound/rexima/files/rexima-1.4-makefile.patch new file mode 100644 index 000000000000..9c70493b4cd5 --- /dev/null +++ b/media-sound/rexima/files/rexima-1.4-makefile.patch @@ -0,0 +1,24 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,9 @@ + # Makefile - makefile for rexima + +-CC=gcc +-CFLAGS=-O -Wall ++PKG_CONFIG ?= pkg-config ++CFLAGS += -Wall ++CPPFLAGS += $(shell $(PKG_CONFIG) --cflags ncurses) ++LDLIBS = $(shell $(PKG_CONFIG) --libs ncurses) + + # Set BINDIR to directory for binary, + # MANDIR to directory for man page. +@@ -16,9 +18,6 @@ + + all: rexima + +-rexima: rexima.o +- $(CC) $(CFLAGS) -o rexima rexima.o -lncurses +- + installdirs: + /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR) + diff --git a/media-sound/rexima/rexima-1.4-r1.ebuild b/media-sound/rexima/rexima-1.4-r2.ebuild index 60fcf194acd7..72dfeb4e8a71 100644 --- a/media-sound/rexima/rexima-1.4-r1.ebuild +++ b/media-sound/rexima/rexima-1.4-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit toolchain-funcs @@ -12,19 +12,15 @@ SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/apps/sound/mixers/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc sparc x86" -IUSE="" -RDEPEND="sys-libs/ncurses:0=" -DEPEND="${RDEPEND} - virtual/pkgconfig" +RDEPEND="sys-libs/ncurses:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -src_configure() { - tc-export CC +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) - cat > Makefile <<- _EOF_ || die - LDLIBS=$($(tc-getPKG_CONFIG) --libs ncurses) - all: rexima - _EOF_ +src_configure() { + tc-export CC PKG_CONFIG } src_install() { |