diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
commit | e3872864be25f7421015bef2732fa57c0c9fb726 (patch) | |
tree | 9cb29a544215119b5c5538e37211b994ce1c87ae /media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild | |
parent | 480486b52ea64765faf696c88b2c6a26a5a454d4 (diff) |
gentoo resync : 04.08.2018
Diffstat (limited to 'media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild')
-rw-r--r-- | media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
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 000000000000..e53d8d04db30 --- /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 +} |