summaryrefslogtreecommitdiff
path: root/media-video/m2vrequantizer
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/m2vrequantizer')
-rw-r--r--media-video/m2vrequantizer/Manifest2
-rw-r--r--media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild (renamed from media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild)22
2 files changed, 10 insertions, 14 deletions
diff --git a/media-video/m2vrequantizer/Manifest b/media-video/m2vrequantizer/Manifest
index de38e5adebed..ef249c564118 100644
--- a/media-video/m2vrequantizer/Manifest
+++ b/media-video/m2vrequantizer/Manifest
@@ -1,3 +1,3 @@
DIST M2VRequantizer-20060306.tgz 25576 BLAKE2B 4b5c3887b9e1b03b2b03ae83ff1c18027b37e4af8e4c5e8b5845b8467ee9828b2df30ddc061547a10274ad15685a2defc88d3303060f6b61d3e29a38b2a9c9b4 SHA512 e3173aa19301028682adb2046bc536b20ca4c3bacfa7e40e0c22a5174411831969a9ed0e6737be7dede00006ba1629fb178822001166c02c507434e66c66b861
-EBUILD m2vrequantizer-0.0.2_pre20060306.ebuild 684 BLAKE2B 97ef499cff5f3f695368827b11565b23392ff39fff34bde2b66b76de5c3d4ad810c4afeac4fc023fb04782c2f6f34e2e52f59f9807e5052778957e9b8169cf8e SHA512 421882f7bcc5acfed46d4000aa9c8548398513f345aa3d93c12898a389f9947d2422d0e9e1cb48596f9d0f3c7c7a68f3a069a2cc1b470edbddabee59fdaed8c7
+EBUILD m2vrequantizer-0.0.2_pre20060306-r1.ebuild 713 BLAKE2B f0ab82dffc00be4dbe56a2571ec6ef948ed08a8fbe33ef5f865a776be3d50c40c3ec4262b4278b58a35fbc21cd9d00aa4bbd1bead2728c65e654ea47d70cfaa7 SHA512 0448b798d72202b77227b28a00768b0a6b2b7525798847a5bda1ccfa77d0c213f388eab28a6044f6f6f94711298880cfbc62033fc7ecd408d01499495b5a94a9
MISC metadata.xml 357 BLAKE2B 2969a06704f541160af828c0e4bb2607cc86a22090e867607fd2951b08a22f45070e6c4fcf84ce22d6ec074b288ea4d8e04d42bd77dac69e3ec16600a311d1d0 SHA512 c301a1bb051eefde7856ef1462d13343fba21acfabde35a2fd9feba5c00f3aaf697b9e358132cc56114f59af0b785ffb07998d8a6d084369275cbf1b616a7fa4
diff --git a/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild b/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild
index 524ea9eceb47..e53d8d04db30 100644
--- a/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild
+++ b/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
+EAPI=7
+
+inherit toolchain-funcs
MY_P="${PN/m2vr/M2VR}-20060306"
@@ -12,25 +14,19 @@ SRC_URI="mirror://vdrfiles/requant/${MY_P}.tgz"
KEYWORDS="~amd64 x86"
SLOT="0"
LICENSE="GPL-2"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-S=${WORKDIR}/M2VRequantiser
+S="${WORKDIR}/M2VRequantiser"
src_prepare() {
-
- sed -i "s:#elif defined(__i386__):#elif defined(__i386__) || defined(__amd64__):" main.c
+ default
+ sed -i "s:#elif defined(__i386__):#elif defined(__i386__) || defined(__amd64__):" main.c || die
}
src_compile() {
-
- gcc -c ${CFLAGS} main.c -o requant.o
- gcc ${CFLAGS} ${LDFLAGS} requant.o -o requant -lm
+ $(tc-getCC) -c ${CFLAGS} main.c -o requant.o || die
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} requant.o -o requant -lm || die
}
src_install() {
-
dobin requant
}