diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-22 09:26:58 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-22 10:21:14 +0200 |
commit | 15a4dc4f16bc10323188f9f0a684557eb1edb4b9 (patch) | |
tree | 24b90b300520ea6a03aca7c545d799abc21cc162 /media-video/mpgtx/mpgtx-1.3.1-r2.ebuild | |
parent | media-video/acidrip: Port to EAPI 8 (diff) | |
download | gentoo-15a4dc4f16bc10323188f9f0a684557eb1edb4b9.tar.gz gentoo-15a4dc4f16bc10323188f9f0a684557eb1edb4b9.tar.bz2 gentoo-15a4dc4f16bc10323188f9f0a684557eb1edb4b9.zip |
media-video/mpgtx: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-video/mpgtx/mpgtx-1.3.1-r2.ebuild')
-rw-r--r-- | media-video/mpgtx/mpgtx-1.3.1-r2.ebuild | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild index 11bb99459f44..5068956f28e9 100644 --- a/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild +++ b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild @@ -1,27 +1,25 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Command line MPEG audio/video/system file toolbox" SRC_URI="mirror://sourceforge/mpgtx/${P}.tar.gz" HOMEPAGE="http://mpgtx.sourceforge.net/" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" -IUSE="" -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-configure.patch \ - "${FILESDIR}"/${P}-dont-ignore-cxx-flags.patch - tc-export CXX -} +PATCHES=( + "${FILESDIR}"/${P}-configure.patch + "${FILESDIR}"/${P}-dont-ignore-cxx-flags.patch +) src_configure() { + tc-export CXX ./configure --parachute || die } @@ -37,11 +35,11 @@ src_install() { doman man/mpgtx.1 man/tagmp3.1 - dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgcat.1 - dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgjoin.1 - dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpginfo.1 - dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgsplit.1 - dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgdemux.1 + dosym mpgtx.1 /usr/share/man/man1/mpgcat.1 + dosym mpgtx.1 /usr/share/man/man1/mpgjoin.1 + dosym mpgtx.1 /usr/share/man/man1/mpginfo.1 + dosym mpgtx.1 /usr/share/man/man1/mpgsplit.1 + dosym mpgtx.1 /usr/share/man/man1/mpgdemux.1 - dodoc AUTHORS ChangeLog README TODO + einstalldocs } |