Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/cpvts/
Date: Sun, 27 Oct 2019 12:10:21
Message-Id: 1572177984.2ba8b7f4c872fb56ad28c03e80e1cb1024a2f7f6.sping@gentoo
1 commit: 2ba8b7f4c872fb56ad28c03e80e1cb1024a2f7f6
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 27 12:04:53 2019 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 27 12:06:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba8b7f4
7
8 media-video/cpvts: EAPI 7
9
10 Bug: https://bugs.gentoo.org/697264
11 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
12 Package-Manager: Portage-2.3.78, Repoman-2.3.16
13
14 media-video/cpvts/cpvts-1.2-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++
15 1 file changed, 39 insertions(+)
16
17 diff --git a/media-video/cpvts/cpvts-1.2-r1.ebuild b/media-video/cpvts/cpvts-1.2-r1.ebuild
18 new file mode 100644
19 index 00000000000..0138d6ee6d0
20 --- /dev/null
21 +++ b/media-video/cpvts/cpvts-1.2-r1.ebuild
22 @@ -0,0 +1,39 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit eutils toolchain-funcs
29 +
30 +IUSE=""
31 +
32 +S="${WORKDIR}/${PN}"
33 +
34 +DESCRIPTION="raw copy title sets from a DVD to your harddisc"
35 +SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz"
36 +HOMEPAGE="http://www.lallafa.de/bp/cpvts.html"
37 +
38 +SLOT="0"
39 +LICENSE="GPL-2"
40 +KEYWORDS="~amd64 ~ppc ~x86"
41 +
42 +DEPEND="media-libs/libdvdread"
43 +RDEPEND="${DEPEND}"
44 +
45 +PATCHES=(
46 + "${FILESDIR}/${P}-dvdread.patch"
47 +)
48 +
49 +echodo() {
50 + echo "$@"
51 + "$@" || die "failed"
52 +}
53 +
54 +src_compile () {
55 + echodo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,-rpath,/usr/lib -o cpvts \
56 + cpvts.c -lm -ldvdread
57 +}
58 +
59 +src_install () {
60 + dobin ${PN}
61 +}