* [gentoo-commits] repo/gentoo:master commit in: media-video/mpgtx/, media-video/mpgtx/files/
@ 2021-10-22 8:22 Jakov Smolić
0 siblings, 0 replies; only message in thread
From: Jakov Smolić @ 2021-10-22 8:22 UTC (permalink / raw
To: gentoo-commits
commit: 15a4dc4f16bc10323188f9f0a684557eb1edb4b9
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 22 07:26:58 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Oct 22 08:21:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15a4dc4f
media-video/mpgtx: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
.../mpgtx/files/mpgtx-1.3.1-configure.patch | 4 +--
.../files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch | 4 +--
media-video/mpgtx/mpgtx-1.3.1-r2.ebuild | 30 ++++++++++------------
3 files changed, 18 insertions(+), 20 deletions(-)
diff --git a/media-video/mpgtx/files/mpgtx-1.3.1-configure.patch b/media-video/mpgtx/files/mpgtx-1.3.1-configure.patch
index ec36e76ba64..bfac4c5a016 100644
--- a/media-video/mpgtx/files/mpgtx-1.3.1-configure.patch
+++ b/media-video/mpgtx/files/mpgtx-1.3.1-configure.patch
@@ -1,5 +1,5 @@
---- configure.old 2006-12-07 19:51:08.000000000 +0100
-+++ configure 2006-12-07 19:51:02.000000000 +0100
+--- a/configure
++++ b/configure
@@ -9,7 +9,6 @@
prefix="/usr/local"
manprefix='$(PREFIX)'
diff --git a/media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch b/media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
index 3a7f5da6745..7d6004f1e0e 100644
--- a/media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
+++ b/media-video/mpgtx/files/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
@@ -1,5 +1,5 @@
---- mpgtx-1.3.1/configure.old 2006-12-09 00:26:18.000000000 +0100
-+++ mpgtx-1.3.1/configure 2006-12-09 00:28:52.000000000 +0100
+--- a/configure
++++ b/configure
@@ -11,7 +11,7 @@
#compiler flags
common_cflags="-Wall"
diff --git a/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild
index 11bb99459f4..5068956f28e 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
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-22 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-22 8:22 [gentoo-commits] repo/gentoo:master commit in: media-video/mpgtx/, media-video/mpgtx/files/ Jakov Smolić
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox