1 |
commit: cb1a0753a132eabe58242eb9acefc3a7ab57642c |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 2 13:53:40 2022 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 13:53:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb1a0753 |
7 |
|
8 |
media-tv/v4l-utils: Drop old 1.20.0 |
9 |
|
10 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
11 |
|
12 |
media-tv/v4l-utils/Manifest | 1 - |
13 |
media-tv/v4l-utils/v4l-utils-1.20.0.ebuild | 116 ----------------------------- |
14 |
2 files changed, 117 deletions(-) |
15 |
|
16 |
diff --git a/media-tv/v4l-utils/Manifest b/media-tv/v4l-utils/Manifest |
17 |
index b7cae8ef2396..eaca215a25f2 100644 |
18 |
--- a/media-tv/v4l-utils/Manifest |
19 |
+++ b/media-tv/v4l-utils/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST v4l-utils-1.20.0.tar.bz2 2030419 BLAKE2B 218082b88c42dcb9da3dbdd81b184c0e7402ca7ba35678a2905e16c11db1fe7065a19ec84b5fd57e2ed4718965c3e8097f8e8bdd04a38a485716efe3ec62e42a SHA512 179ca8dbbf7af5fa4870b70f17645d7834fe6ba52670ae6b58473efa257db0cd812ce14f16574cc4491c0bcb218835e4c29f1354882a151687eecec97852fc63 |
22 |
DIST v4l-utils-1.22.1.tar.bz2 2086238 BLAKE2B a3f01a17ea7c8925c74dd883d30b42f54b7926d253dac79e4cadaba43abc33672804257b3b92e5aa640ead6b5aaaa2458f05e21642044d7dea77e5580a8dbe9a SHA512 8a634d8995d13f453dfaf90ca5d0dfb26f2f4b10a0d200d76a949c46f77040d12fc0a5b35e05d7b1ba68bcfc85a445be5a5ab1d4a7d4eabfe3a254038ccc6170 |
23 |
|
24 |
diff --git a/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild b/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index d10a82913bc4..000000000000 |
27 |
--- a/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,116 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-inherit autotools flag-o-matic udev xdg |
36 |
- |
37 |
-DESCRIPTION="Separate utilities ebuild from upstream v4l-utils package" |
38 |
-HOMEPAGE="https://git.linuxtv.org/v4l-utils.git" |
39 |
-SRC_URI="https://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2" |
40 |
- |
41 |
-LICENSE="GPL-2+ LGPL-2.1+" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~alpha amd64 arm arm64 ppc ~ppc64 ~sparc x86" |
44 |
-IUSE="+bpf dvb opengl qt5 +udev" |
45 |
- |
46 |
-RDEPEND=" |
47 |
- >=media-libs/libv4l-${PV}[dvb?,jpeg] |
48 |
- >=virtual/jpeg-0-r2:0= |
49 |
- bpf? ( virtual/libelf:= ) |
50 |
- udev? ( virtual/libudev ) |
51 |
- qt5? ( |
52 |
- dev-qt/qtcore:5 |
53 |
- dev-qt/qtgui:5 |
54 |
- opengl? ( dev-qt/qtopengl:5[-gles2(-)] virtual/opengl ) |
55 |
- media-libs/alsa-lib |
56 |
- ) |
57 |
- !media-tv/v4l2-ctl |
58 |
- !<media-tv/ivtv-utils-1.4.0-r2 |
59 |
-" |
60 |
- |
61 |
-DEPEND=" |
62 |
- ${RDEPEND} |
63 |
-" |
64 |
- |
65 |
-BDEPEND=" |
66 |
- sys-devel/gettext |
67 |
- virtual/pkgconfig |
68 |
- bpf? ( sys-devel/clang:*[llvm_targets_BPF] ) |
69 |
-" |
70 |
- |
71 |
-PATCHES=( |
72 |
- "${FILESDIR}"/${P}-automagic.patch |
73 |
-) |
74 |
- |
75 |
-# Not really prebuilt but BPF objects make our QA checks go crazy. |
76 |
-QA_PREBUILT="*/rc_keymaps/protocols/*.o" |
77 |
- |
78 |
-check_llvm() { |
79 |
- if [[ ${MERGE_TYPE} != binary ]] && use bpf; then |
80 |
- local clang=${ac_cv_prog_CLANG:-${CLANG:-clang}} |
81 |
- ${clang} -target bpf -print-supported-cpus &>/dev/null || |
82 |
- die "${clang} does not support the BPF target. Please check LLVM_TARGETS." |
83 |
- fi |
84 |
-} |
85 |
- |
86 |
-pkg_pretend() { |
87 |
- has_version -b sys-devel/clang && check_llvm |
88 |
-} |
89 |
- |
90 |
-pkg_setup() { |
91 |
- check_llvm |
92 |
-} |
93 |
- |
94 |
-src_prepare() { |
95 |
- default |
96 |
- eautoreconf |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- append-cxxflags -std=c++14 |
101 |
- |
102 |
- if use qt5; then |
103 |
- local qt5_paths=( \ |
104 |
- MOC="$($(tc-getPKG_CONFIG) --variable=host_bins Qt5Core)/moc" \ |
105 |
- UIC="$($(tc-getPKG_CONFIG) --variable=host_bins Qt5Core)/uic" \ |
106 |
- RCC="$($(tc-getPKG_CONFIG) --variable=host_bins Qt5Core)/rcc" \ |
107 |
- ) |
108 |
- if ! use opengl; then |
109 |
- sed -e 's/Qt5OpenGL/DiSaBlEd/g' -i configure || die |
110 |
- fi |
111 |
- fi |
112 |
- |
113 |
- # Hard disable the flags that apply only to the libs. |
114 |
- econf \ |
115 |
- --disable-static \ |
116 |
- $(use_enable dvb libdvbv5) \ |
117 |
- $(use_enable qt5 qv4l2) \ |
118 |
- $(use_enable qt5 qvidcap) \ |
119 |
- $(use_enable bpf) \ |
120 |
- --with-jpeg \ |
121 |
- $(use_with udev libudev) \ |
122 |
- --with-udevdir="$(get_udevdir)" \ |
123 |
- "${qt5_paths[@]}" |
124 |
-} |
125 |
- |
126 |
-src_install() { |
127 |
- emake -C utils DESTDIR="${D}" install |
128 |
- emake -C contrib DESTDIR="${D}" install |
129 |
- |
130 |
- dodoc README |
131 |
- newdoc utils/libv4l2util/TODO TODO.libv4l2util |
132 |
- newdoc utils/libmedia_dev/README README.libmedia_dev |
133 |
- newdoc utils/dvb/README README.dvb |
134 |
- newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance |
135 |
-} |
136 |
- |
137 |
-pkg_postinst() { |
138 |
- xdg_pkg_postinst |
139 |
- |
140 |
- if [[ -n ${REPLACING_VERSIONS} ]] && ver_test 1.20.0 -ge ${REPLACING_VERSIONS%% *}; then |
141 |
- ewarn "WARNING! ir-keytable has changed significantly from version 1.20.0 so" |
142 |
- ewarn "you may need to take action to avoid breakage. See" |
143 |
- ewarn "https://bugs.gentoo.org/767175 for more details." |
144 |
- fi |
145 |
-} |