commit:     5af465417e07f95953f913f4e9028e23d4b60961
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Jul 16 18:09:50 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 17 21:00:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af46541

media-video/super_demux: EAPI7, improve ebuild

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

 media-video/super_demux/super_demux-0.3-r1.ebuild | 26 +++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/media-video/super_demux/super_demux-0.3-r1.ebuild 
b/media-video/super_demux/super_demux-0.3-r1.ebuild
new file mode 100644
index 00000000000..5e64d973faf
--- /dev/null
+++ b/media-video/super_demux/super_demux-0.3-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="DVB transport stream TS to ES demultiplexer"
+HOMEPAGE="http://panteltje.com/panteltje/dvd/";
+SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=( "${FILESDIR}/${P}.diff" )
+
+src_compile() {
+       append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+       dobin super_demux
+       dodoc CHANGES README
+}

Reply via email to