Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/super_demux/
Date: Tue, 17 Jul 2018 21:01:08
Message-Id: 1531861241.30230dfcf44f4e44ccab4ae5a78053ad35363266.asturm@gentoo
1 commit: 30230dfcf44f4e44ccab4ae5a78053ad35363266
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 17 20:50:53 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 17 21:00:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30230dfc
7
8 media-video/super_demux: Use append-cflags
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 media-video/super_demux/super_demux-0.3-r1.ebuild | 26 -----------------------
13 media-video/super_demux/super_demux-0.3.ebuild | 16 ++++++--------
14 2 files changed, 6 insertions(+), 36 deletions(-)
15
16 diff --git a/media-video/super_demux/super_demux-0.3-r1.ebuild b/media-video/super_demux/super_demux-0.3-r1.ebuild
17 deleted file mode 100644
18 index 5e64d973faf..00000000000
19 --- a/media-video/super_demux/super_demux-0.3-r1.ebuild
20 +++ /dev/null
21 @@ -1,26 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -inherit toolchain-funcs flag-o-matic
28 -
29 -DESCRIPTION="DVB transport stream TS to ES demultiplexer"
30 -HOMEPAGE="http://panteltje.com/panteltje/dvd/"
31 -SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~x86"
36 -
37 -PATCHES=( "${FILESDIR}/${P}.diff" )
38 -
39 -src_compile() {
40 - append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
41 - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
42 -}
43 -
44 -src_install() {
45 - dobin super_demux
46 - dodoc CHANGES README
47 -}
48
49 diff --git a/media-video/super_demux/super_demux-0.3.ebuild b/media-video/super_demux/super_demux-0.3.ebuild
50 index 9e79e39bedc..c033ffc41c5 100644
51 --- a/media-video/super_demux/super_demux-0.3.ebuild
52 +++ b/media-video/super_demux/super_demux-0.3.ebuild
53 @@ -1,11 +1,9 @@
54 -# Copyright 1999-2010 Gentoo Foundation
55 +# Copyright 1999-2018 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57
58 -EAPI="2"
59 +EAPI=7
60
61 -inherit eutils toolchain-funcs flag-o-matic
62 -
63 -IUSE=""
64 +inherit flag-o-matic toolchain-funcs
65
66 DESCRIPTION="DVB transport stream TS to ES demultiplexer"
67 HOMEPAGE="http://panteltje.com/panteltje/dvd/"
68 @@ -15,13 +13,11 @@ LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71
72 -src_prepare() {
73 - epatch "${FILESDIR}/${P}.diff"
74 -}
75 +PATCHES=( "${FILESDIR}/${P}.diff" )
76
77 src_compile() {
78 - append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
79 - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
80 + append-cflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
81 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
82 }
83
84 src_install() {