summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2011-01-22 23:55:50 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2011-01-22 23:55:50 +0000
commitffb89d1cccee80af408744d2b99d4e095597d09b (patch)
tree9ab76912b629bfc8caec0f1a295a1534756bf922 /media-video/m2vrequantizer
parentclean up; eapi=2; stable x86 amd64, wrt bug #287052 (diff)
downloadgentoo-2-ffb89d1cccee80af408744d2b99d4e095597d09b.tar.gz
gentoo-2-ffb89d1cccee80af408744d2b99d4e095597d09b.tar.bz2
gentoo-2-ffb89d1cccee80af408744d2b99d4e095597d09b.zip
eapi=2; LDFLAGS wrt #337882; moved 2060306 to 0.0.2_pre20060306 to fix versionsconflict, wrt #198960
(Portage version: 2.1.9.25/cvs/Linux i686, RepoMan options: --force)
Diffstat (limited to 'media-video/m2vrequantizer')
-rw-r--r--media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild7
-rw-r--r--media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild (renamed from media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild)16
2 files changed, 13 insertions, 10 deletions
diff --git a/media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild b/media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild
index 4590d7f70937..f6f233c087ba 100644
--- a/media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild
+++ b/media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild,v 1.3 2007/11/27 11:55:55 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild,v 1.4 2011/01/22 23:55:50 hd_brummy Exp $
+
+EAPI="2"
REQUANT="M2VRequantizer"
REQUANT_VN="20030925"
@@ -16,6 +18,7 @@ LICENSE="GPL-2"
IUSE=""
DEPEND=""
+RDEPEND="${DEPEND}"
S=${WORKDIR}/${JAU_FILE}
@@ -28,7 +31,7 @@ src_compile() {
cd "${WORKDIR}/${REQUANT}-${REQUANT_VN}/src"
gcc -c ${CFLAGS} main.c -o requant.o
- gcc ${CFLAGS} requant.o -o requant -lm
+ gcc ${CFLAGS} ${LDFLAGS} requant.o -o requant -lm
}
src_install() {
diff --git a/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild b/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild
index e282fb5a21e6..46b55b623f1f 100644
--- a/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild
+++ b/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild,v 1.8 2008/11/09 15:20:41 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild,v 1.1 2011/01/22 23:55:50 hd_brummy Exp $
-MY_P="${PN/m2vr/M2VR}-${PV}"
+EAPI="2"
+
+MY_P="${PN/m2vr/M2VR}-20060306"
DESCRIPTION="Tool to requantize mpeg2 videos"
HOMEPAGE="http://www.metakine.com/products/dvdremaster/modules.html"
@@ -13,14 +15,12 @@ SLOT="0"
LICENSE="GPL-2"
IUSE=""
-DEPEND="!media-video/requant"
+DEPEND=""
+RDEPEND="${DEPEND}"
S=${WORKDIR}/M2VRequantiser
-src_unpack() {
-
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i "s:#elif defined(__i386__):#elif defined(__i386__) || defined(__amd64__):" main.c
}
@@ -28,7 +28,7 @@ src_unpack() {
src_compile() {
gcc -c ${CFLAGS} main.c -o requant.o
- gcc ${CFLAGS} requant.o -o requant -lm
+ gcc ${CFLAGS} ${LDFLAGS} requant.o -o requant -lm
}
src_install() {