summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-12-12 17:20:16 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-12-12 17:22:08 +0000
commit8b80bdcd268ec80946c882d647159b3a64070325 (patch)
tree43a511e07f917dbc4f1b2076dda36dfa4225770a /media-tv/dtv-scan-tables
parentmedia-tv/ivtvplayer: Revbump to use libv4l[utils] instead of v4l-utils (diff)
downloadgentoo-8b80bdcd268ec80946c882d647159b3a64070325.tar.gz
gentoo-8b80bdcd268ec80946c882d647159b3a64070325.tar.bz2
gentoo-8b80bdcd268ec80946c882d647159b3a64070325.zip
media-tv/dtv-scan-tables: Bump to use libv4l[utils] instead of v4l-utils
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-tv/dtv-scan-tables')
-rw-r--r--media-tv/dtv-scan-tables/Manifest1
-rw-r--r--media-tv/dtv-scan-tables/dtv-scan-tables-0_p20220430.ebuild32
-rw-r--r--media-tv/dtv-scan-tables/dtv-scan-tables-9999.ebuild6
3 files changed, 36 insertions, 3 deletions
diff --git a/media-tv/dtv-scan-tables/Manifest b/media-tv/dtv-scan-tables/Manifest
index b70789f0d09e..2f0ad221414f 100644
--- a/media-tv/dtv-scan-tables/Manifest
+++ b/media-tv/dtv-scan-tables/Manifest
@@ -1 +1,2 @@
DIST dtv-scan-tables-2021-04-30-4181e93a30ab.tar.bz2 272870 BLAKE2B b9672235ad2ed826205278ffd06ed793126f743fe2b0b8af4369c1cb24825662e579f9246a287df1d61efad7985e2e18d59097d359fe84626149464bfc253bc5 SHA512 c15c07937cabefad731f4b3f8b6e9f993e500f7c59b17ef5e5c46f9bb86f9cbdf748f7d875c363c641ed9f3333a03b5033cc7d0272e96323d36be944ea35379d
+DIST dtv-scan-tables-2022-04-30-57ed29822750.tar.bz2 277444 BLAKE2B dd9d74f5daa1633262e44329d3122231123255ecba4f944c8afb2ed1120e7319b371960a719622608f4059085adcd18644fdaeb27b38d233d18ed35b1d4bde80 SHA512 2f5b76bca43f2749c452978143dec6e069aa4ea6283ac9ceac95bb950dbc589b4ed9cec2874b16d31408790b17e25d48e82aa958ac9c4440b26b0dbcde25f0cb
diff --git a/media-tv/dtv-scan-tables/dtv-scan-tables-0_p20220430.ebuild b/media-tv/dtv-scan-tables/dtv-scan-tables-0_p20220430.ebuild
new file mode 100644
index 000000000000..0bf6ab15bdeb
--- /dev/null
+++ b/media-tv/dtv-scan-tables/dtv-scan-tables-0_p20220430.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV#9999} != ${PV} ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.linuxtv.org/dtv-scan-tables.git"
+else
+ COMMIT="57ed29822750"
+ SRC_URI="https://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-${PV:3:4}-${PV:7:2}-${PV:9:2}-${COMMIT}.tar.bz2"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+ S="${WORKDIR}/usr/share/dvb"
+fi
+
+DESCRIPTION="Digital TV scan tables in v3 and v5 format"
+HOMEPAGE="https://linuxtv.org/"
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+
+BDEPEND="media-libs/libv4l[dvb,utils(-)]"
+
+DOCS=( README )
+
+src_compile() {
+ emake dvbv3 dvbv5
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" install install_v3
+ einstalldocs
+}
diff --git a/media-tv/dtv-scan-tables/dtv-scan-tables-9999.ebuild b/media-tv/dtv-scan-tables/dtv-scan-tables-9999.ebuild
index d30627e88e3f..c93edd734d77 100644
--- a/media-tv/dtv-scan-tables/dtv-scan-tables-9999.ebuild
+++ b/media-tv/dtv-scan-tables/dtv-scan-tables-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
if [[ ${PV#9999} != ${PV} ]]; then
inherit git-r3
@@ -18,7 +18,7 @@ HOMEPAGE="https://linuxtv.org/"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
-BDEPEND=">=media-tv/v4l-utils-1.4[dvb(+)]"
+BDEPEND="media-libs/libv4l[dvb,utils(-)]"
DOCS=( README )