public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-video/mpglen/
@ 2019-08-18 11:42 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2019-08-18 11:42 UTC (permalink / raw
  To: gentoo-commits

commit:     5e7d1d670b89859dc8cb8f6446df7b072a646384
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 18 11:41:16 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 18 11:41:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7d1d67

media-video/mpglen: Port to EAPI 7

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-video/mpglen/Manifest          |  2 +-
 media-video/mpglen/mpglen-0.1.ebuild | 27 +++++++++++++++------------
 2 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/media-video/mpglen/Manifest b/media-video/mpglen/Manifest
index 298f3c8ae21..20990831fc0 100644
--- a/media-video/mpglen/Manifest
+++ b/media-video/mpglen/Manifest
@@ -1 +1 @@
-DIST mpglen.tar.gz 10149 BLAKE2B 479fbaad9c635fc47dce9dd8191b8c2df4c9da115a2a7c30d59e6c5e65751bc7a757c311f98f222dbaf633f25a0c7bfde0f8600e27ac8aefae5e45ae01abcac4 SHA512 10c3550e14fb0d76360f8b99e8e82f7ca951cffc14921a6ffce5a949bf10d0c1d7d2dcafaf61c85123fecf5432139332a10f0f54e9c04ef99584578294d812a2
+DIST mpglen-0.1.tar.gz 10149 BLAKE2B 479fbaad9c635fc47dce9dd8191b8c2df4c9da115a2a7c30d59e6c5e65751bc7a757c311f98f222dbaf633f25a0c7bfde0f8600e27ac8aefae5e45ae01abcac4 SHA512 10c3550e14fb0d76360f8b99e8e82f7ca951cffc14921a6ffce5a949bf10d0c1d7d2dcafaf61c85123fecf5432139332a10f0f54e9c04ef99584578294d812a2

diff --git a/media-video/mpglen/mpglen-0.1.ebuild b/media-video/mpglen/mpglen-0.1.ebuild
index 0da5b94f898..d366cc724bf 100644
--- a/media-video/mpglen/mpglen-0.1.ebuild
+++ b/media-video/mpglen/mpglen-0.1.ebuild
@@ -1,34 +1,37 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="A program to scan through a MPEG file and count the number of GOPs and frames"
 HOMEPAGE="http://www.iamnota.net/mpglen/"
-SRC_URI="http://www.iamnota.net/mpglen/${PN}.tar.gz"
+SRC_URI="mirror://gentoo/${PN}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
 
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-	echo 'all: mpglen' > Makefile
+src_prepare() {
+	default
+
+	# awful Makefile, just rely on implicit rules
+	rm Makefile || die
+}
+
+src_configure() {
 	append-lfs-flags
+	tc-export CC
 }
 
 src_compile() {
-	tc-export CC
-	emake || die "emake failed"
+	emake mpglen
 }
 
 src_install () {
-	dobin ${PN} || die
+	dobin ${PN}
 	dodoc AUTHORS Changelog README
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-18 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-18 11:42 [gentoo-commits] repo/gentoo:master commit in: media-video/mpglen/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox