commit:     aeef2c27041a599b08534bb601bcf095b2e0e3a0
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jul 19 07:20:44 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Jul 21 21:56:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeef2c27

media-video/m2vrequantizer: EAPI 7 bump and improve ebuild.

Closes: https://github.com/gentoo/gentoo/pull/9283

 .../m2vrequantizer-0.0.2_pre20060306-r1.ebuild     | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git 
a/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild 
b/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild
new file mode 100644
index 00000000000..e7d607277c1
--- /dev/null
+++ b/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_P="${PN/m2vr/M2VR}-20060306"
+
+DESCRIPTION="Tool to requantize mpeg2 videos"
+HOMEPAGE="http://www.metakine.com/products/dvdremaster/modules.html";
+SRC_URI="mirror://vdrfiles/requant/${MY_P}.tgz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+S="${WORKDIR}/M2VRequantiser"
+
+src_prepare() {
+       default
+       sed -i "s:#elif defined(__i386__):#elif defined(__i386__) || 
defined(__amd64__):" main.c || die
+}
+
+src_compile() {
+       $(tc-getCC) -c ${CFLAGS} main.c -o requant.o || die
+       $(tc-getCC) ${CFLAGS} ${LDFLAGS} requant.o -o requant -lm || die
+}
+
+src_install() {
+       dobin requant
+}

Reply via email to