summaryrefslogtreecommitdiff
path: root/media-video/mpglen
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /media-video/mpglen
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'media-video/mpglen')
-rw-r--r--media-video/mpglen/Manifest4
-rw-r--r--media-video/mpglen/mpglen-0.1.ebuild27
2 files changed, 17 insertions, 14 deletions
diff --git a/media-video/mpglen/Manifest b/media-video/mpglen/Manifest
index 540de8b9cffb..9313fc610933 100644
--- a/media-video/mpglen/Manifest
+++ b/media-video/mpglen/Manifest
@@ -1,3 +1,3 @@
-DIST mpglen.tar.gz 10149 BLAKE2B 479fbaad9c635fc47dce9dd8191b8c2df4c9da115a2a7c30d59e6c5e65751bc7a757c311f98f222dbaf633f25a0c7bfde0f8600e27ac8aefae5e45ae01abcac4 SHA512 10c3550e14fb0d76360f8b99e8e82f7ca951cffc14921a6ffce5a949bf10d0c1d7d2dcafaf61c85123fecf5432139332a10f0f54e9c04ef99584578294d812a2
-EBUILD mpglen-0.1.ebuild 648 BLAKE2B b6b06cdee5a3e7dfd51d246da834543d6de6dcd23f0e61dae4e35f73fe82ff9fc47910871ba4c84cff1266e58d7ba1eba2dcf2d017550f2f15b3a9323df2792c SHA512 3c759e398edc72c222478ece689c3cb8125348d26ea74d3625407a50a41b041150666b941d86458511a1c058037e4f9414f5fb584eb497a9597d52c8a7711b4f
+DIST mpglen-0.1.tar.gz 10149 BLAKE2B 479fbaad9c635fc47dce9dd8191b8c2df4c9da115a2a7c30d59e6c5e65751bc7a757c311f98f222dbaf633f25a0c7bfde0f8600e27ac8aefae5e45ae01abcac4 SHA512 10c3550e14fb0d76360f8b99e8e82f7ca951cffc14921a6ffce5a949bf10d0c1d7d2dcafaf61c85123fecf5432139332a10f0f54e9c04ef99584578294d812a2
+EBUILD mpglen-0.1.ebuild 662 BLAKE2B 62447f089f591f667646f4efb414cd1f13171f96552aae8f10fa90eae0c65c5735ec057058c1b27e968f1ee0d1666009426265d955e4756e30b5142f8333e065 SHA512 4d52124c02410d73314690b9dda0df0494b9f93bfc556de2579eea90204692aea13441aa0cf0536a111087cb2ab92677c15ee592a2c462640651f4f1ce797dd5
MISC metadata.xml 219 BLAKE2B bca5749b6f2d3541ba2d2635b59056f9ecdc46553991dec3ee5a7bc9f26393bdae62755418850d3cbda0eeb65b7f72029ddf09d4f088b21c84d407d0e6eaa098 SHA512 24793c7fd0e2cef8fa5a0efd9bd55fed1e62ff6810199a969d4c0b869bac9b9ec79b288105b73b1b99734320bb13569a8ee00516b5452dd67d91d14dd17038e2
diff --git a/media-video/mpglen/mpglen-0.1.ebuild b/media-video/mpglen/mpglen-0.1.ebuild
index 0da5b94f898a..d366cc724bfa 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
}