summaryrefslogtreecommitdiff
path: root/media-tv/v4l-utils
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/v4l-utils')
-rw-r--r--media-tv/v4l-utils/Manifest8
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.12.3.ebuild59
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.12.5.ebuild59
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.16.6.ebuild (renamed from media-tv/v4l-utils/v4l-utils-1.14.1.ebuild)29
4 files changed, 21 insertions, 134 deletions
diff --git a/media-tv/v4l-utils/Manifest b/media-tv/v4l-utils/Manifest
index 19213e14d8c7..94f06d441fd4 100644
--- a/media-tv/v4l-utils/Manifest
+++ b/media-tv/v4l-utils/Manifest
@@ -1,14 +1,10 @@
AUX v4l-utils-1.14.1-sysmacros.patch 808 BLAKE2B 1dc608e836120e65140ffed8f9f4d19868eafbfb2e729665ad553fc44da4386d2197eb327f3f36ffafe8af45bea7adff72808d7cd7890e05c7fe5f3ba570ff8c SHA512 593f53b92ce947b1c2f75e7e1090b3f1e9ff3c39a69fcb96c4a6f1825db947b92bf4d45b93dc14eef7f439104d4a4090ef1823a38bd5e39687587afd6657671a
AUX v4l-utils-1.6.2-sysmacros.patch 1853 BLAKE2B ed1f474be9650b0b4e5812746499935ac8a483ea71b335183c1648f97309d1d01209df1dbaf70f4e5b8e0d838ca97750bc37b4943dbeadbcac7c31ed9077969f SHA512 ea3e4a19c8b57833519b6356e647572021ac2a6a00942394a89949ff02aa3e0f70a72b0ef0f025615a7c81c0c79f1cacaa01a82161a05d806e3c8c792995353d
DIST v4l-utils-1.10.1.tar.bz2 1352235 BLAKE2B 7ececae8ad5ebd999070b0c3626fdf5b0a4bc81562d2c2a712ff9625025d3e6c4ff664ba85998dedaa1ee77295d3cea39306305c20573c07156a07ec0ac8d10a SHA512 524bfd4e93e82f2dd55f0baa3e8be5850d4675b46fd0197b6d1287fc0d502c6b5c64bdf461af9630345f2d847d6aa5b6dc483693cee452da0b6729f156a5d98d
-DIST v4l-utils-1.12.3.tar.bz2 1588049 BLAKE2B 1f76e6cd76781119beb01a1d570599cd2710a4c00ea18c380e576cb8281bab07e09cb6c1469201d0fba53b8bb5f4c4fa812dcda06203d83566216272e9abe3b0 SHA512 6d0269d900c5dad08499ee551ce1507b8b750895f48423ccd534db51cf68794b59a279743fd22dc6da0c092ca31ef744aa564f26b6d6252cbbc7a62e2e1c714a
-DIST v4l-utils-1.12.5.tar.bz2 1588944 BLAKE2B b87c24c6fdaf3e80407dd28b047c27420ff70007e12200e69395021def3abb74eec3565337a6484cf44b5a5cc7678d9bc718876424fa58d6d16d0e0c37ab59cf SHA512 ed2e7545a728360b9684db68330885b498a3a5611f49b80e54da72109d9ba2aa75e85f89f085ff0a6f077b17c880101fa5b78c9dff8a0df2eac1866bd80a04ea
-DIST v4l-utils-1.14.1.tar.bz2 1672480 BLAKE2B bc5c50fa0b339c79439b54e54f0c0e3847068931e34831a05e214e785fe4063764ef0d76838ca3216a46db072003dc5d86dd2c563fbb73d237a6b5059df93f5a SHA512 78b863f2cba409138efd6744895e6b1e730ec7cd5dfd0bd6088dd1336572a5f6d0b422fb4ec6577c6038192d0a3b28ae91d7402d5733904913749eff263c2eb1
DIST v4l-utils-1.16.3.tar.bz2 1894961 BLAKE2B 71c674abbb3415e592354998e1baa3eedbb4be21757bef80b463ea987e9fc231789e6b333b37d0d9916cb30729e04951dc9f1755ab00a82502fdc415b00cb9a2 SHA512 404672d18d94861c6957ea3a15a6a48f238d3859940810952a5a8cc33b57f1a360d1a19af28405c01b073c0ece90c5995a71dbe6544b30bdb8eace7daeb4bc0b
+DIST v4l-utils-1.16.6.tar.bz2 1893768 BLAKE2B f31cf794f6949fa2c1f45db8bae99a10a5fbc67af356889f636ab03cfd04011a82939a10f01145c56001b91655664530cfbda7d64c523752b8bb77159a1c80ab SHA512 f011218591e32b0ca3239373d9ea4739d7cfe3a6bef5f8a996253cea9b9d836ba488132e2a1b8f6f61cd69f1bcecc20e4b5c26f9c95a2a912e17c400b9fa9b58
EBUILD v4l-utils-1.10.1.ebuild 1675 BLAKE2B 69daa4e235f777b1f7005c19925f33aadc16c7d89425e061150050800399109506738157b5ca364a6ffaea398c90806c12a6208be12965236ea0f7a6370de89e SHA512 bcb4480a20b25d7c9f5d7e4cea0fa9b07e4af1fd2a3775ab932c47b49360328f07c15020f6baf309cc62fb87f28abb7ca3a299a16f43192b93976e15192511cd
-EBUILD v4l-utils-1.12.3.ebuild 1545 BLAKE2B 9d54964eceec484c2bd114ac33e32e6368897d62d99f6eec1c241e8075e5f2ccf3ea648e0fd2091db28a7e9fa2eb8816d52d2b7bd15958ab9f8d640e9fb52b76 SHA512 cfaf205be8b8bb989b99d5c6ab13f2e115ff47ccb7589b10ab40e8ea59c8fbe65928b571bb8c28415254a63a4d2ee5e82c88a4656b023df704d01f6969af906e
-EBUILD v4l-utils-1.12.5.ebuild 1545 BLAKE2B 9d54964eceec484c2bd114ac33e32e6368897d62d99f6eec1c241e8075e5f2ccf3ea648e0fd2091db28a7e9fa2eb8816d52d2b7bd15958ab9f8d640e9fb52b76 SHA512 cfaf205be8b8bb989b99d5c6ab13f2e115ff47ccb7589b10ab40e8ea59c8fbe65928b571bb8c28415254a63a4d2ee5e82c88a4656b023df704d01f6969af906e
-EBUILD v4l-utils-1.14.1.ebuild 1552 BLAKE2B 61bd6fe213efa15687d9f0eca92d38fb23a658d3697a74b1cc4abd63cba5dc17168dc94c0d0507796b68d1227021b9981f4e965df62b95099607b29838245754 SHA512 57a369741384292c80fad76b67ea99464f5716cc62526d7388afa858a730d766f2f31b6ba699bf84348ff0eabf65bfbc3e0ec9fed77cac974ccf95c31e1e2aed
EBUILD v4l-utils-1.16.3-r1.ebuild 1843 BLAKE2B 46f25960bd80a69c923cfa3ea1a62bd2eed6a2c20d5ad61164dec5ce0dbd6da656e526cbcd094b3bb40e77d6a0ba24f61f6c904887ab70fd1ca949af531fdd12 SHA512 9ea267b9ed6d2abe7d04e6a53df4a1337dcebf133f42783b7fc5ef853f26e560bf10f94965e203e14e56f8da46357275b23eed59c243823dd9dfcb2091377c42
EBUILD v4l-utils-1.16.3.ebuild 1768 BLAKE2B ed5b2f5884fa03440735d060ad8fac1931bafafb53eb14aaa68ff68a163c038592d7d099c00c0886050b7a751a1d163d09613886bd72f57e4003d55733af840b SHA512 9063665b2994026a6087f80630fc5d351f93be02d87afa69a7ddd72832185e1d06cd1163a3c2e636409845770e1cb8caf52da6cc5af4274912d2f0c38fcc3b0e
+EBUILD v4l-utils-1.16.6.ebuild 1843 BLAKE2B 7a651bc953e6576bdbb21c1659acfe66175daf9ee70c5e6f85500a680412874a3971b53284e4f5bc29ae33595ca96f5cba402d5c5a5b1f42397b25fbdcc91b9f SHA512 6892df308935d940619ba47c1975f031dbf35f0b50d0f8be7f0d141b5a81aa9477225c71faf1163383afa59e326143bd8f148459d7976da8f52983d71a3f72c7
MISC metadata.xml 326 BLAKE2B b2b3aecf2ef313c08d06033344cc470302df8031246a7a919d01419f6d40f5a708ea6cfc222a0b7b2ac442f761f90b49fb414ffe6342a500cb446cdf0c562d70 SHA512 2f4cabeecc98ba82d51fe56871e3b950be0baa58a73c11067f91a0b5dce02bde063d32617ed68ee68d4c2a0af92e6d80a306e3b95548aad6d9734d4577cfafab
diff --git a/media-tv/v4l-utils/v4l-utils-1.12.3.ebuild b/media-tv/v4l-utils/v4l-utils-1.12.3.ebuild
deleted file mode 100644
index 01e43b51166a..000000000000
--- a/media-tv/v4l-utils/v4l-utils-1.12.3.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils flag-o-matic udev
-
-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 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="qt5"
-
-RDEPEND=">=media-libs/libv4l-${PV}
- qt5? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- virtual/opengl
- media-libs/alsa-lib
- )
- virtual/libudev
- !media-tv/v4l2-ctl
- !<media-tv/ivtv-utils-1.4.0-r2"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- virtual/pkgconfig"
-
-src_configure() {
- if use qt5; then
- append-cxxflags -std=c++11
- local qt5_paths=( \
- MOC="$(pkg-config --variable=host_bins Qt5Core)/moc" \
- UIC="$(pkg-config --variable=host_bins Qt5Core)/uic" \
- RCC="$(pkg-config --variable=host_bins Qt5Core)/rcc" \
- )
- fi
- # Hard disable the flags that apply only to the libs.
- econf \
- --disable-static \
- $(use_enable qt5 qv4l2) \
- --with-udevdir="$(get_udevdir)" \
- --without-jpeg \
- "${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/xc3028-firmware/README README.xc3028-firmware
- newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance
-}
diff --git a/media-tv/v4l-utils/v4l-utils-1.12.5.ebuild b/media-tv/v4l-utils/v4l-utils-1.12.5.ebuild
deleted file mode 100644
index 01e43b51166a..000000000000
--- a/media-tv/v4l-utils/v4l-utils-1.12.5.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils flag-o-matic udev
-
-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 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="qt5"
-
-RDEPEND=">=media-libs/libv4l-${PV}
- qt5? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- virtual/opengl
- media-libs/alsa-lib
- )
- virtual/libudev
- !media-tv/v4l2-ctl
- !<media-tv/ivtv-utils-1.4.0-r2"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- virtual/pkgconfig"
-
-src_configure() {
- if use qt5; then
- append-cxxflags -std=c++11
- local qt5_paths=( \
- MOC="$(pkg-config --variable=host_bins Qt5Core)/moc" \
- UIC="$(pkg-config --variable=host_bins Qt5Core)/uic" \
- RCC="$(pkg-config --variable=host_bins Qt5Core)/rcc" \
- )
- fi
- # Hard disable the flags that apply only to the libs.
- econf \
- --disable-static \
- $(use_enable qt5 qv4l2) \
- --with-udevdir="$(get_udevdir)" \
- --without-jpeg \
- "${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/xc3028-firmware/README README.xc3028-firmware
- newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance
-}
diff --git a/media-tv/v4l-utils/v4l-utils-1.14.1.ebuild b/media-tv/v4l-utils/v4l-utils-1.16.6.ebuild
index b6aa2951a322..4cf1f9bdb063 100644
--- a/media-tv/v4l-utils/v4l-utils-1.14.1.ebuild
+++ b/media-tv/v4l-utils/v4l-utils-1.16.6.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flag-o-matic udev xdg-utils
DESCRIPTION="Separate utilities ebuild from upstream v4l-utils package"
@@ -10,26 +10,27 @@ SRC_URI="https://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="qt5"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="+bpf opengl qt5"
-RDEPEND=">=media-libs/libv4l-${PV}
+RDEPEND=">=media-libs/libv4l-${PV}[jpeg]
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
- dev-qt/qtopengl:5
- virtual/opengl
+ opengl? ( dev-qt/qtopengl:5[-gles2(-)] virtual/opengl )
media-libs/alsa-lib
)
virtual/libudev
+ >=virtual/jpeg-0-r2:0=
+ bpf? ( virtual/libelf:= )
!media-tv/v4l2-ctl
!<media-tv/ivtv-utils-1.4.0-r2"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+ bpf? ( sys-devel/clang:*[llvm_targets_BPF] )
sys-devel/gettext
virtual/pkgconfig"
-PATCHES=( "${FILESDIR}"/${PN}-1.14.1-sysmacros.patch ) #580910
-
src_configure() {
if use qt5; then
append-cxxflags -std=c++11
@@ -38,13 +39,18 @@ src_configure() {
UIC="$(pkg-config --variable=host_bins Qt5Core)/uic" \
RCC="$(pkg-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 qt5 qv4l2) \
+ $(use_enable qt5 qvidcap) \
+ $(use_enable bpf) \
--with-udevdir="$(get_udevdir)" \
- --without-jpeg \
+ --with-jpeg \
"${qt5_paths[@]}"
}
@@ -58,3 +64,6 @@ src_install() {
newdoc utils/dvb/README README.dvb
newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance
}
+
+pkg_postinst() { xdg_icon_cache_update; }
+pkg_postrm() { xdg_icon_cache_update; }