Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/dtv-scan-tables/
Date: Sun, 26 Nov 2017 22:51:05
Message-Id: 1511736639.eb84f08c04519b2273a8d6729039e783b70eafc1.chewi@gentoo
1 commit: eb84f08c04519b2273a8d6729039e783b70eafc1
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 26 22:49:59 2017 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 26 22:50:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb84f08c
7
8 media-tv/dtv-scan-tables: New package to supersede linuxtv-dvb-apps
9
10 This doesn't need to block linuxtv-dvb-apps as they install the tables
11 into different directories.
12
13 Closes: https://bugs.gentoo.org/503028
14 Package-Manager: Portage-2.3.16, Repoman-2.3.6
15
16 media-tv/dtv-scan-tables/Manifest | 1 +
17 .../dtv-scan-tables-0_p20171003.ebuild | 32 ++++++++++++++++++++++
18 .../dtv-scan-tables/dtv-scan-tables-9999.ebuild | 32 ++++++++++++++++++++++
19 media-tv/dtv-scan-tables/metadata.xml | 8 ++++++
20 4 files changed, 73 insertions(+)
21
22 diff --git a/media-tv/dtv-scan-tables/Manifest b/media-tv/dtv-scan-tables/Manifest
23 new file mode 100644
24 index 00000000000..c7943ec318a
25 --- /dev/null
26 +++ b/media-tv/dtv-scan-tables/Manifest
27 @@ -0,0 +1 @@
28 +DIST dtv-scan-tables-2017-10-03-c1986d5148d8.tar.bz2 168709 BLAKE2B fb4a7ad5b6892a7e7eed1d57ebb49b1f4493076f6f744953d2d5c51c0e1cf7fdaf864ad050c578c2697f5b11d72c245b96ee369522cb58d38a1a2cef035099a7 SHA512 e2b0cf8f52b536be6a532b4a2896421a8150fdc19613e92c92d0c8275fcfd306cb091db32fa26f97bbec0a51ef4ba61b5f98e8c974280a3f6dd36b67a3bf4aad
29
30 diff --git a/media-tv/dtv-scan-tables/dtv-scan-tables-0_p20171003.ebuild b/media-tv/dtv-scan-tables/dtv-scan-tables-0_p20171003.ebuild
31 new file mode 100644
32 index 00000000000..08c15c3ef58
33 --- /dev/null
34 +++ b/media-tv/dtv-scan-tables/dtv-scan-tables-0_p20171003.ebuild
35 @@ -0,0 +1,32 @@
36 +# Copyright 1999-2017 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +
41 +if [[ ${PV#9999} != ${PV} ]]; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://git.linuxtv.org/dtv-scan-tables.git"
44 +else
45 + COMMIT="c1986d5148d8"
46 + SRC_URI="https://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-${PV:3:4}-${PV:7:2}-${PV:9:2}-${COMMIT}.tar.bz2"
47 + KEYWORDS="~amd64 ~arm ~x86"
48 + S="${WORKDIR}/usr/share/dvb"
49 +fi
50 +
51 +DESCRIPTION="Digital TV scan tables in v3 and v5 format"
52 +HOMEPAGE="https://linuxtv.org/"
53 +LICENSE="GPL-2 LGPL-2.1"
54 +SLOT="0"
55 +
56 +DEPEND=">=media-tv/v4l-utils-1.4"
57 +
58 +DOCS=( README )
59 +
60 +src_compile() {
61 + emake dvbv3 dvbv5
62 +}
63 +
64 +src_install() {
65 + emake PREFIX="${ED}usr" install install_v3
66 + einstalldocs
67 +}
68
69 diff --git a/media-tv/dtv-scan-tables/dtv-scan-tables-9999.ebuild b/media-tv/dtv-scan-tables/dtv-scan-tables-9999.ebuild
70 new file mode 100644
71 index 00000000000..08c15c3ef58
72 --- /dev/null
73 +++ b/media-tv/dtv-scan-tables/dtv-scan-tables-9999.ebuild
74 @@ -0,0 +1,32 @@
75 +# Copyright 1999-2017 Gentoo Foundation
76 +# Distributed under the terms of the GNU General Public License v2
77 +
78 +EAPI=6
79 +
80 +if [[ ${PV#9999} != ${PV} ]]; then
81 + inherit git-r3
82 + EGIT_REPO_URI="https://git.linuxtv.org/dtv-scan-tables.git"
83 +else
84 + COMMIT="c1986d5148d8"
85 + SRC_URI="https://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-${PV:3:4}-${PV:7:2}-${PV:9:2}-${COMMIT}.tar.bz2"
86 + KEYWORDS="~amd64 ~arm ~x86"
87 + S="${WORKDIR}/usr/share/dvb"
88 +fi
89 +
90 +DESCRIPTION="Digital TV scan tables in v3 and v5 format"
91 +HOMEPAGE="https://linuxtv.org/"
92 +LICENSE="GPL-2 LGPL-2.1"
93 +SLOT="0"
94 +
95 +DEPEND=">=media-tv/v4l-utils-1.4"
96 +
97 +DOCS=( README )
98 +
99 +src_compile() {
100 + emake dvbv3 dvbv5
101 +}
102 +
103 +src_install() {
104 + emake PREFIX="${ED}usr" install install_v3
105 + einstalldocs
106 +}
107
108 diff --git a/media-tv/dtv-scan-tables/metadata.xml b/media-tv/dtv-scan-tables/metadata.xml
109 new file mode 100644
110 index 00000000000..54be7ff7e5d
111 --- /dev/null
112 +++ b/media-tv/dtv-scan-tables/metadata.xml
113 @@ -0,0 +1,8 @@
114 +<?xml version="1.0" encoding="UTF-8"?>
115 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
116 +<pkgmetadata>
117 + <maintainer type="person">
118 + <email>chewi@g.o</email>
119 + <name>James Le Cuirot</name>
120 + </maintainer>
121 +</pkgmetadata>