summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-03-21 18:51:55 +0000
committerJustin Lecher <jlec@gentoo.org>2015-03-21 18:51:55 +0000
commita9befc795afbb26fbc12619bb3f66a01225d8aed (patch)
treefc4e3750167a9960d35577a7692ec932af2b4331 /media-video/mpgtx
parentuse dobin instead of exeinto /usr/bin/ && doexe (diff)
downloadgentoo-2-a9befc795afbb26fbc12619bb3f66a01225d8aed.tar.gz
gentoo-2-a9befc795afbb26fbc12619bb3f66a01225d8aed.tar.bz2
gentoo-2-a9befc795afbb26fbc12619bb3f66a01225d8aed.zip
Drop old; Bump to EAPI=5
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'media-video/mpgtx')
-rw-r--r--media-video/mpgtx/ChangeLog10
-rw-r--r--media-video/mpgtx/mpgtx-1.3.1-r2.ebuild48
-rw-r--r--media-video/mpgtx/mpgtx-1.3.1.ebuild49
3 files changed, 56 insertions, 51 deletions
diff --git a/media-video/mpgtx/ChangeLog b/media-video/mpgtx/ChangeLog
index 8cbb568b2317..da3e3b415be9 100644
--- a/media-video/mpgtx/ChangeLog
+++ b/media-video/mpgtx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/mpgtx
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpgtx/ChangeLog,v 1.18 2010/01/14 21:08:10 maekke Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpgtx/ChangeLog,v 1.19 2015/03/21 18:51:55 jlec Exp $
+
+*mpgtx-1.3.1-r2 (21 Mar 2015)
+
+ 21 Mar 2015; Justin Lecher <jlec@gentoo.org> +mpgtx-1.3.1-r2.ebuild,
+ -mpgtx-1.3.1.ebuild:
+ Drop old; Bump to EAPI=5
14 Jan 2010; Markus Meier <maekke@gentoo.org> mpgtx-1.3.1-r1.ebuild:
x86 stable, bug #298661
diff --git a/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..e4bb8c58491f
--- /dev/null
+++ b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild,v 1.1 2015/03/21 18:51:55 jlec Exp $
+
+EAPI=5
+
+inherit eutils 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"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-configure.patch \
+ "${FILESDIR}"/${P}-dont-ignore-cxx-flags.patch
+ tc-export CXX
+}
+
+src_configure() {
+ ./configure --parachute || die
+}
+
+src_install() {
+ dobin mpgtx
+
+ dosym mpgtx /usr/bin/mpgjoin
+ dosym mpgtx /usr/bin/mpgsplit
+ dosym mpgtx /usr/bin/mpgcat
+ dosym mpgtx /usr/bin/mpginfo
+ dosym mpgtx /usr/bin/mpgdemux
+ dosym mpgtx /usr/bin/tagmp3
+
+ 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
+
+ dodoc AUTHORS ChangeLog README TODO
+}
diff --git a/media-video/mpgtx/mpgtx-1.3.1.ebuild b/media-video/mpgtx/mpgtx-1.3.1.ebuild
deleted file mode 100644
index 8901a24e7627..000000000000
--- a/media-video/mpgtx/mpgtx-1.3.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpgtx/mpgtx-1.3.1.ebuild,v 1.6 2007/02/28 22:17:33 genstef Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="mpgtx a command line MPEG audio/video/system file toolbox"
-SRC_URI="mirror://sourceforge/mpgtx/${P}.tar.gz"
-HOMEPAGE="http://mpgtx.sourceforge.net/"
-
-KEYWORDS="amd64 ~ppc x86"
-IUSE=""
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND=""
-
-src_compile() {
- ./configure --parachute --prefix=/usr
-
- if [ "$(gcc-major-version)" -eq "3" -a "$(gcc-minor-version)" -ge "4" ] || \
- [ "$(gcc-major-version)" -ge "4" ]; then
- sed -i "s:-O3:-O3 -fno-unit-at-a-time:" Makefile
- fi
-
- emake || die "emake failed"
-}
-
-src_install() {
- exeinto /usr/bin
- doexe mpgtx
-
- dosym /usr/bin/mpgtx /usr/bin/mpgjoin
- dosym /usr/bin/mpgtx /usr/bin/mpgsplit
- dosym /usr/bin/mpgtx /usr/bin/mpgcat
- dosym /usr/bin/mpgtx /usr/bin/mpginfo
- dosym /usr/bin/mpgtx /usr/bin/mpgdemux
- dosym /usr/bin/mpgtx /usr/bin/tagmp3
-
- 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
-
- dodoc AUTHORS ChangeLog README TODO
-}