From 3bb7e95ee0264777499149e1724a2065ef1516cb Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Tue, 12 Dec 2023 23:43:32 +0000 Subject: media-libs/libv4l: Bump to 1.26.1, drop old 1.26.0 I wait 3 weeks to package 1.26.0, then they release 1.26.1 hours later. Typical! Signed-off-by: James Le Cuirot --- media-libs/libv4l/Manifest | 2 +- media-libs/libv4l/libv4l-1.26.0.ebuild | 135 --------------------------------- media-libs/libv4l/libv4l-1.26.1.ebuild | 135 +++++++++++++++++++++++++++++++++ 3 files changed, 136 insertions(+), 136 deletions(-) delete mode 100644 media-libs/libv4l/libv4l-1.26.0.ebuild create mode 100644 media-libs/libv4l/libv4l-1.26.1.ebuild (limited to 'media-libs/libv4l') diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest index 6eb43655daa4..9e73e0f6e50a 100644 --- a/media-libs/libv4l/Manifest +++ b/media-libs/libv4l/Manifest @@ -1,3 +1,3 @@ DIST v4l-utils-1.22.1.tar.bz2 2086238 BLAKE2B a3f01a17ea7c8925c74dd883d30b42f54b7926d253dac79e4cadaba43abc33672804257b3b92e5aa640ead6b5aaaa2458f05e21642044d7dea77e5580a8dbe9a SHA512 8a634d8995d13f453dfaf90ca5d0dfb26f2f4b10a0d200d76a949c46f77040d12fc0a5b35e05d7b1ba68bcfc85a445be5a5ab1d4a7d4eabfe3a254038ccc6170 DIST v4l-utils-1.24.1.tar.bz2 2238340 BLAKE2B 1702918699d47b17467e012c2b1875c58851175c1007351a3b40d0b0fa40437eb695efa9e21afe3351f66780899d45798eef7f23c90a4831bface70a245b8a54 SHA512 1e82ba125285e875bf4a216adedab9147009e6af1aadd79a3a1770231d3c96ec29245b33e75f69a9ce1b25011e71746db242c778ac3369148de1e9de2e318663 -DIST v4l-utils-1.26.0.tar.xz 1191988 BLAKE2B 8a4899f7b0d71ca6fd4b296ce9f154c3125c59389130df2db772d66984652b135178d712cc7b39e9f53b6587a4e128e2240d28382ab3ce7d1172d939260b15e2 SHA512 7820a91beb5cfc8e3ecf54145f2503fbbbf879abf1551d5bba5d8454f5a93242daaa51ff4636959d3434aa0d352bdf35afcd5f56e0eb9ab50c8191e8f6283f4a +DIST v4l-utils-1.26.1.tar.xz 1192312 BLAKE2B 84a6b5737447fa332b64af8fdc2ecb308865528bc16487e55a4ccc00a76288239432b299ab2225829530db9158b0449f64e2e1c3fb782c7495da55ea8e7a171a SHA512 a3b12b311977afec410db8b430696e923a24e04f003a5891cc77ddeb667d0b98666a06d31a439c95ce57d9e9c9c2593c5e9dd9e7cf2be002adb95db5b8f00ac8 diff --git a/media-libs/libv4l/libv4l-1.26.0.ebuild b/media-libs/libv4l/libv4l-1.26.0.ebuild deleted file mode 100644 index 550c6a1bd084..000000000000 --- a/media-libs/libv4l/libv4l-1.26.0.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info meson-multilib systemd udev xdg - -MY_P="v4l-utils-${PV}" - -DESCRIPTION="v4l-utils libraries and optional utilities" -HOMEPAGE="https://git.linuxtv.org/v4l-utils.git" -SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.xz" - -LICENSE="LGPL-2.1+" -SLOT="0/0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="bpf doc dvb jpeg qt5 tracer +utils" - -REQUIRED_USE=" - bpf? ( utils ) - qt5? ( utils ) - tracer? ( utils ) -" - -RDEPEND=" - dvb? ( virtual/libudev[${MULTILIB_USEDEP}] ) - jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) - utils? ( - !elibc_glibc? ( sys-libs/argp-standalone ) - bpf? ( - dev-libs/libbpf:= - virtual/libelf:= - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5[-gles2-only(-),-gles2(-)] - dev-qt/qtwidgets:5 - media-libs/alsa-lib - virtual/opengl - ) - tracer? ( dev-libs/json-c:= ) - virtual/libudev - ) - !/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 - CONFIG_CHECK="~SHMEM" linux-info_pkg_setup -} - -multilib_src_configure() { - local emesonargs=( - $(meson_native_use_feature bpf) - -Dgconv=disabled - $(meson_feature jpeg) - $(meson_feature dvb libdvbv5) - $(meson_native_use_feature qt5 qv4l2) - $(meson_native_use_feature qt5 qvidcap) - $(meson_native_use_feature tracer v4l2-tracer) - $(meson_native_use_bool utils v4l-utils) - -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" - -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" - -Dudevdir="$(get_udevdir)" - $(meson_native_use_feature doc doxygen-doc) - $(meson_native_use_bool doc doxygen-html) - $(meson_native_use_bool doc doxygen-man) - ) - meson_src_configure -} - -multilib_src_install_all() { - dodoc ChangeLog README.lib* TODO - - if use utils; then - dodoc README.md - newdoc utils/dvb/README README.dvb - newdoc utils/libv4l2util/TODO TODO.libv4l2util - newdoc utils/libmedia_dev/README README.libmedia_dev - newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance - fi -} - -pkg_postinst() { - xdg_pkg_postinst - use utils && udev_reload - - if use utils && [[ -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 -} - -pkg_postrm() { - xdg_pkg_postrm - use utils && udev_reload -} diff --git a/media-libs/libv4l/libv4l-1.26.1.ebuild b/media-libs/libv4l/libv4l-1.26.1.ebuild new file mode 100644 index 000000000000..550c6a1bd084 --- /dev/null +++ b/media-libs/libv4l/libv4l-1.26.1.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info meson-multilib systemd udev xdg + +MY_P="v4l-utils-${PV}" + +DESCRIPTION="v4l-utils libraries and optional utilities" +HOMEPAGE="https://git.linuxtv.org/v4l-utils.git" +SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0/0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="bpf doc dvb jpeg qt5 tracer +utils" + +REQUIRED_USE=" + bpf? ( utils ) + qt5? ( utils ) + tracer? ( utils ) +" + +RDEPEND=" + dvb? ( virtual/libudev[${MULTILIB_USEDEP}] ) + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) + utils? ( + !elibc_glibc? ( sys-libs/argp-standalone ) + bpf? ( + dev-libs/libbpf:= + virtual/libelf:= + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5[-gles2-only(-),-gles2(-)] + dev-qt/qtwidgets:5 + media-libs/alsa-lib + virtual/opengl + ) + tracer? ( dev-libs/json-c:= ) + virtual/libudev + ) + !/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 + CONFIG_CHECK="~SHMEM" linux-info_pkg_setup +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_feature bpf) + -Dgconv=disabled + $(meson_feature jpeg) + $(meson_feature dvb libdvbv5) + $(meson_native_use_feature qt5 qv4l2) + $(meson_native_use_feature qt5 qvidcap) + $(meson_native_use_feature tracer v4l2-tracer) + $(meson_native_use_bool utils v4l-utils) + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" + -Dudevdir="$(get_udevdir)" + $(meson_native_use_feature doc doxygen-doc) + $(meson_native_use_bool doc doxygen-html) + $(meson_native_use_bool doc doxygen-man) + ) + meson_src_configure +} + +multilib_src_install_all() { + dodoc ChangeLog README.lib* TODO + + if use utils; then + dodoc README.md + newdoc utils/dvb/README README.dvb + newdoc utils/libv4l2util/TODO TODO.libv4l2util + newdoc utils/libmedia_dev/README README.libmedia_dev + newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance + fi +} + +pkg_postinst() { + xdg_pkg_postinst + use utils && udev_reload + + if use utils && [[ -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 +} + +pkg_postrm() { + xdg_pkg_postrm + use utils && udev_reload +} -- cgit v1.2.3-65-gdbad