From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C363138334 for ; Sat, 21 Jul 2018 21:56:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74601E07EA; Sat, 21 Jul 2018 21:56:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 411B5E07EF for ; Sat, 21 Jul 2018 21:56:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48EC9335D2B for ; Sat, 21 Jul 2018 21:56:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C61CA37F for ; Sat, 21 Jul 2018 21:56:13 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1532210165.aeef2c27041a599b08534bb601bcf095b2e0e3a0.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/m2vrequantizer/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306-r1.ebuild X-VCS-Directories: media-video/m2vrequantizer/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: aeef2c27041a599b08534bb601bcf095b2e0e3a0 X-VCS-Branch: master Date: Sat, 21 Jul 2018 21:56:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4dffce9c-aaf8-4aea-a38c-4068d8239741 X-Archives-Hash: 37595dabcea0a0b79ab684f762af7666 commit: aeef2c27041a599b08534bb601bcf095b2e0e3a0 Author: Michael Mair-Keimberger gmail com> AuthorDate: Thu Jul 19 07:20:44 2018 +0000 Commit: Patrice Clement gentoo 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 +}