summaryrefslogtreecommitdiff
path: root/media-tv/v4l-utils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
commite68d405c5d712af4387159df07e226217bdda049 (patch)
tree009ab0f3d427f0813e62930d71802cb054c07e30 /media-tv/v4l-utils
parent401101f9c8077911929d3f2b60a37098460a5d89 (diff)
gentoo resync : 06.04.2022
Diffstat (limited to 'media-tv/v4l-utils')
-rw-r--r--media-tv/v4l-utils/Manifest5
-rw-r--r--media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch52
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.20.0.ebuild116
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.22.1.ebuild4
4 files changed, 3 insertions, 174 deletions
diff --git a/media-tv/v4l-utils/Manifest b/media-tv/v4l-utils/Manifest
index 85fee1b8e7c2..8e6189b32b70 100644
--- a/media-tv/v4l-utils/Manifest
+++ b/media-tv/v4l-utils/Manifest
@@ -1,6 +1,3 @@
-AUX v4l-utils-1.20.0-automagic.patch 1603 BLAKE2B f17cf8a132a96bf48abd33d8dab488c8acb58fe2fdba145c0457e331e0ab40cbc5710e11afb8443dcfd2bc752d8e331b36f4200886c32f9ddff56481633f5c67 SHA512 a603eae9b9bec5f45320cf66f8a6c8dfbc6070505bf0b250d1e4efa6530c7dce1656810c6bf63a83f20a0fd0e039c7150db13b2719947517505619e22b254c32
-DIST v4l-utils-1.20.0.tar.bz2 2030419 BLAKE2B 218082b88c42dcb9da3dbdd81b184c0e7402ca7ba35678a2905e16c11db1fe7065a19ec84b5fd57e2ed4718965c3e8097f8e8bdd04a38a485716efe3ec62e42a SHA512 179ca8dbbf7af5fa4870b70f17645d7834fe6ba52670ae6b58473efa257db0cd812ce14f16574cc4491c0bcb218835e4c29f1354882a151687eecec97852fc63
DIST v4l-utils-1.22.1.tar.bz2 2086238 BLAKE2B a3f01a17ea7c8925c74dd883d30b42f54b7926d253dac79e4cadaba43abc33672804257b3b92e5aa640ead6b5aaaa2458f05e21642044d7dea77e5580a8dbe9a SHA512 8a634d8995d13f453dfaf90ca5d0dfb26f2f4b10a0d200d76a949c46f77040d12fc0a5b35e05d7b1ba68bcfc85a445be5a5ab1d4a7d4eabfe3a254038ccc6170
-EBUILD v4l-utils-1.20.0.ebuild 2779 BLAKE2B fa000969d7af8f938f096cb8136b96c5fa342d1a499952939e31c879e99148450f70d228052741f902acc3e195cd137f39ad7af89197bfe4823847dea56ae589 SHA512 11b7a270d5631672a6a61ee3bdca45e6415962b9c92fbf9ba6e215cbfbf0f1f185a301abe819b284e7fa150b27e19b56c466a7997db948fe91b58c293286a4a1
-EBUILD v4l-utils-1.22.1.ebuild 2709 BLAKE2B 41b79ad0afd87e2907a7030ed15050ef9202d27cab661b83fc72583ff515174cce0604659935b91887c972153c2b338ad637e318ac643d20e288d3d932ce1d50 SHA512 734ee79b4b66433cf1e0ba898dad56b3a76860a87611a85b449512f9b38089f7f8209a593c593fb1705bae729598c0d86c81e6ede85a596ad159c310099d3d38
+EBUILD v4l-utils-1.22.1.ebuild 2702 BLAKE2B 981890ae66984abe90d454fe5fc8dd87a6e8278503c0e35f865e3e9178c0674408ab2ae467aee4fe67cff2e15e069626e45d11e1f22f92964188be63972119e5 SHA512 72017e6e5672b2d0b3cdd4671d29da9e4037866ea455d7b22038a1ce5d4f50d47fea68c97062673348a4978173aec57301a577cf3473c3f5b45d6f7a6ba69d94
MISC metadata.xml 323 BLAKE2B 79c864de29f9e92372f16bc835f1d260bc7de2c2c809c625806cc18611c50d992abc69de9b8754afa683fabd6a9422e4eb619d87490d4cf5ae1142f05af3557f SHA512 89ec71cc2961d7a6787e4d0e95c959823d1068602ea6cbeac7065ffe926e6c218ad7984c32271131e2624f49f314507cccf1a639e68e3669481d979dcc50bdc7
diff --git a/media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch b/media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch
deleted file mode 100644
index 017513bcb907..000000000000
--- a/media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From e018720a49b96535613ca9173750ce2271608cd5 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Sun, 23 Aug 2020 16:33:21 +0100
-Subject: [PATCH] configure.ac: Add --without-libudev option to avoid automagic
- dep
-
-Signed-off-by: James Le Cuirot <chewi@gentoo.org>
----
- configure.ac | 27 +++++++++++++++++----------
- 1 file changed, 17 insertions(+), 10 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index d9f43ab5..e6134d08 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -291,16 +291,23 @@ else
- AC_MSG_WARN(ALSA library not available)
- fi
-
--PKG_CHECK_MODULES(libudev, libudev, have_libudev=yes, have_libudev=no)
--if test "x$have_libudev" = "xyes"; then
-- AC_DEFINE([HAVE_LIBUDEV], [], [Use libudev])
-- LIBUDEV_CFLAGS="$libudev_CFLAGS"
-- LIBUDEV_LIBS="$libudev_LIBS"
-- AC_SUBST(LIBUDEV_CFLAGS)
-- AC_SUBST(LIBUDEV_LIBS)
--else
-- AC_MSG_WARN(udev library not available)
--fi
-+AC_ARG_WITH([libudev],
-+ AS_HELP_STRING([--without-libudev], [Do not use udev library]),
-+ [],
-+ [with_libudev=yes])
-+
-+have_libudev=no
-+
-+AS_IF([test "x$with_libudev" != xno -o "x$enable_libdvbv5" != xno],
-+ [PKG_CHECK_MODULES(libudev, libudev, have_libudev=yes, [])
-+ AS_IF([test "x$have_libudev" = xyes],
-+ [AC_DEFINE([HAVE_LIBUDEV], [], [Use libudev])
-+ LIBUDEV_CFLAGS="$libudev_CFLAGS"
-+ LIBUDEV_LIBS="$libudev_LIBS"
-+ AC_SUBST(LIBUDEV_CFLAGS)
-+ AC_SUBST(LIBUDEV_LIBS)],
-+ AC_MSG_WARN(udev library not available)
-+ )])
-
- AC_SUBST([JPEG_LIBS])
-
---
-2.26.2
-
diff --git a/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild b/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild
deleted file mode 100644
index d10a82913bc4..000000000000
--- a/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic udev xdg
-
-DESCRIPTION="Separate utilities ebuild from upstream v4l-utils package"
-HOMEPAGE="https://git.linuxtv.org/v4l-utils.git"
-SRC_URI="https://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ppc ~ppc64 ~sparc x86"
-IUSE="+bpf dvb opengl qt5 +udev"
-
-RDEPEND="
- >=media-libs/libv4l-${PV}[dvb?,jpeg]
- >=virtual/jpeg-0-r2:0=
- bpf? ( virtual/libelf:= )
- udev? ( virtual/libudev )
- qt5? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- opengl? ( dev-qt/qtopengl:5[-gles2(-)] virtual/opengl )
- media-libs/alsa-lib
- )
- !media-tv/v4l2-ctl
- !<media-tv/ivtv-utils-1.4.0-r2
-"
-
-DEPEND="
- ${RDEPEND}
-"
-
-BDEPEND="
- sys-devel/gettext
- virtual/pkgconfig
- bpf? ( sys-devel/clang:*[llvm_targets_BPF] )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-automagic.patch
-)
-
-# Not really prebuilt but BPF objects make our QA checks go crazy.
-QA_PREBUILT="*/rc_keymaps/protocols/*.o"
-
-check_llvm() {
- if [[ ${MERGE_TYPE} != binary ]] && use bpf; then
- local clang=${ac_cv_prog_CLANG:-${CLANG:-clang}}
- ${clang} -target bpf -print-supported-cpus &>/dev/null ||
- die "${clang} does not support the BPF target. Please check LLVM_TARGETS."
- fi
-}
-
-pkg_pretend() {
- has_version -b sys-devel/clang && check_llvm
-}
-
-pkg_setup() {
- check_llvm
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- append-cxxflags -std=c++14
-
- if use qt5; then
- local qt5_paths=( \
- MOC="$($(tc-getPKG_CONFIG) --variable=host_bins Qt5Core)/moc" \
- UIC="$($(tc-getPKG_CONFIG) --variable=host_bins Qt5Core)/uic" \
- RCC="$($(tc-getPKG_CONFIG) --variable=host_bins Qt5Core)/rcc" \
- )
- if ! use opengl; then
- sed -e 's/Qt5OpenGL/DiSaBlEd/g' -i configure || die
- fi
- fi
-
- # Hard disable the flags that apply only to the libs.
- econf \
- --disable-static \
- $(use_enable dvb libdvbv5) \
- $(use_enable qt5 qv4l2) \
- $(use_enable qt5 qvidcap) \
- $(use_enable bpf) \
- --with-jpeg \
- $(use_with udev libudev) \
- --with-udevdir="$(get_udevdir)" \
- "${qt5_paths[@]}"
-}
-
-src_install() {
- emake -C utils DESTDIR="${D}" install
- emake -C contrib DESTDIR="${D}" install
-
- dodoc README
- newdoc utils/libv4l2util/TODO TODO.libv4l2util
- newdoc utils/libmedia_dev/README README.libmedia_dev
- newdoc utils/dvb/README README.dvb
- newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if [[ -n ${REPLACING_VERSIONS} ]] && ver_test 1.20.0 -ge ${REPLACING_VERSIONS%% *}; then
- ewarn "WARNING! ir-keytable has changed significantly from version 1.20.0 so"
- ewarn "you may need to take action to avoid breakage. See"
- ewarn "https://bugs.gentoo.org/767175 for more details."
- fi
-}
diff --git a/media-tv/v4l-utils/v4l-utils-1.22.1.ebuild b/media-tv/v4l-utils/v4l-utils-1.22.1.ebuild
index 65a827a5b6d4..b8517c0d787b 100644
--- a/media-tv/v4l-utils/v4l-utils-1.22.1.ebuild
+++ b/media-tv/v4l-utils/v4l-utils-1.22.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 sparc x86"
IUSE="+bpf dvb opengl qt5 +udev"
RDEPEND="