From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libv4l/
Date: Mon, 29 Jul 2024 21:39:45 +0000 (UTC) [thread overview]
Message-ID: <1722289020.6506a50b9708d6c271eb6dcd1e7149abfcce7d23.chewi@gentoo> (raw)
commit: 6506a50b9708d6c271eb6dcd1e7149abfcce7d23
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 21:25:45 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 21:37:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6506a50b
media-libs/libv4l: Version bump to 1.28.1
Sorry, there is no way to forcibly choose Qt5 over Qt6, and I don't think
upstream would want to add an option for it.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
media-libs/libv4l/Manifest | 1 +
media-libs/libv4l/libv4l-1.28.1.ebuild | 147 +++++++++++++++++++++++++++++++++
2 files changed, 148 insertions(+)
diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest
index 2d64c6e9ce38..f91463d984b7 100644
--- a/media-libs/libv4l/Manifest
+++ b/media-libs/libv4l/Manifest
@@ -1,2 +1,3 @@
DIST v4l-utils-1.22.1.tar.bz2 2086238 BLAKE2B a3f01a17ea7c8925c74dd883d30b42f54b7926d253dac79e4cadaba43abc33672804257b3b92e5aa640ead6b5aaaa2458f05e21642044d7dea77e5580a8dbe9a SHA512 8a634d8995d13f453dfaf90ca5d0dfb26f2f4b10a0d200d76a949c46f77040d12fc0a5b35e05d7b1ba68bcfc85a445be5a5ab1d4a7d4eabfe3a254038ccc6170
DIST v4l-utils-1.26.1.tar.xz 1192312 BLAKE2B 84a6b5737447fa332b64af8fdc2ecb308865528bc16487e55a4ccc00a76288239432b299ab2225829530db9158b0449f64e2e1c3fb782c7495da55ea8e7a171a SHA512 a3b12b311977afec410db8b430696e923a24e04f003a5891cc77ddeb667d0b98666a06d31a439c95ce57d9e9c9c2593c5e9dd9e7cf2be002adb95db5b8f00ac8
+DIST v4l-utils-1.28.1.tar.xz 1246516 BLAKE2B a68728ab6802754cd766453375e212624ee731a7fc9b0d0da6a4c62ce19e75968c5bdbefa33d2977d439a23f36f5c8ff83efc44dae65eed206a31ef19ea57363 SHA512 6493c97f59af5fe0ffa4bb815ebac4531f5ea2b0612c2035c7f00a888ce686ee0aeeaef982553ff9ad6441c39dac63e6c718b1bedb0541cb2ce2e3c2f91ab12f
diff --git a/media-libs/libv4l/libv4l-1.28.1.ebuild b/media-libs/libv4l/libv4l-1.28.1.ebuild
new file mode 100644
index 000000000000..4a917d98578e
--- /dev/null
+++ b/media-libs/libv4l/libv4l-1.28.1.ebuild
@@ -0,0 +1,147 @@
+# Copyright 1999-2024 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"
+S="${WORKDIR}/${MY_P}"
+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 qt6 tracer +utils"
+
+REQUIRED_USE="
+ bpf? ( utils )
+ qt5? ( utils )
+ qt6? ( 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:=
+ )
+ qt6? (
+ dev-qt/qtbase:6[gui,opengl,widgets,-gles2-only]
+ dev-qt/qt5compat:6
+ media-libs/alsa-lib
+ virtual/opengl
+ )
+ !qt6? ( qt5? (
+ !dev-qt/qtbase:6
+ 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
+ )
+ !<media-tv/v4l-utils-1.26
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+ bpf? ( sys-devel/clang:*[llvm_targets_BPF] )
+ doc? ( app-text/doxygen )
+ utils? (
+ dev-lang/perl
+ qt6? ( dev-qt/qtbase:6 )
+ !qt6? ( qt5? ( dev-qt/qtcore:5 ) )
+ )
+"
+
+# 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
+ 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 tracer v4l2-tracer)
+ $(meson_native_use_bool utils v4l-utils)
+ -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
+ -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
+ -Dudevdir="${EPREFIX}$(get_udevdir)"
+ $(meson_native_use_feature doc doxygen-doc)
+ $(meson_native_use_bool doc doxygen-html)
+ $(meson_native_use_bool doc doxygen-man)
+ )
+ if multilib_is_native_abi && { use qt6 || use qt5; }; then
+ emesonargs+=(
+ -Dqv4l2=enabled
+ -Dqvidcap=enabled
+ )
+ else
+ emesonargs+=(
+ -Dqv4l2=disabled
+ -Dqvidcap=disabled
+ )
+ fi
+ 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
+}
next reply other threads:[~2024-07-29 21:39 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 21:39 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-24 15:03 [gentoo-commits] repo/gentoo:master commit in: media-libs/libv4l/ Arthur Zamarin
2024-09-23 9:42 Arthur Zamarin
2024-09-23 9:22 Arthur Zamarin
2024-09-23 9:13 Arthur Zamarin
2024-09-23 9:13 Arthur Zamarin
2024-09-23 0:39 Sam James
2024-09-23 0:39 Sam James
2024-07-30 22:01 James Le Cuirot
2024-07-29 20:47 James Le Cuirot
2024-07-29 20:47 James Le Cuirot
2024-07-26 19:11 Sam James
2024-07-26 19:11 Sam James
2024-07-26 19:11 Sam James
2024-07-26 14:12 Arthur Zamarin
2024-07-26 14:12 Arthur Zamarin
2024-07-26 14:12 Arthur Zamarin
2024-07-26 14:12 Arthur Zamarin
2023-12-12 23:48 James Le Cuirot
2023-12-12 23:48 James Le Cuirot
2023-03-18 23:38 James Le Cuirot
2022-04-02 13:55 James Le Cuirot
2022-04-02 12:04 Arthur Zamarin
2022-04-01 6:53 Arthur Zamarin
2022-03-31 19:37 Arthur Zamarin
2022-03-28 6:53 Agostino Sarubbo
2022-03-28 6:51 Agostino Sarubbo
2022-03-27 1:07 Sam James
2022-03-27 1:07 Sam James
2021-10-24 20:22 James Le Cuirot
2021-08-02 12:33 Marek Szuba
2021-01-05 20:51 Sam James
2021-01-03 12:10 Sergei Trofimovich
2021-01-03 11:51 Sergei Trofimovich
2021-01-03 9:14 Sam James
2020-12-29 23:15 Sam James
2020-12-29 21:24 Sam James
2020-12-27 22:58 Sam James
2020-12-27 22:39 Sam James
2020-08-23 16:42 James Le Cuirot
2020-05-28 22:24 James Le Cuirot
2020-05-02 12:40 David Seifert
2020-03-11 23:50 Andrey Utkin
2019-08-19 11:37 Agostino Sarubbo
2019-08-14 17:59 Aaron Bauman
2019-08-14 8:53 Agostino Sarubbo
2019-08-12 18:22 Andrey Utkin
2019-06-06 7:14 Agostino Sarubbo
2019-06-05 18:23 Andrey Utkin
2019-06-05 18:23 Andrey Utkin
2019-04-09 14:36 Mikle Kolyada
2019-03-11 18:05 Andrey Utkin
2019-02-28 20:22 Lars Wendler
2019-02-26 18:36 Alexis Ballier
2019-02-26 18:36 Alexis Ballier
2018-07-28 0:49 Mikle Kolyada
2018-01-13 12:16 Alexis Ballier
2017-12-08 22:49 James Le Cuirot
2017-05-30 10:54 Alexis Ballier
2017-04-25 12:58 Alexis Ballier
2017-04-25 12:58 Alexis Ballier
2017-03-16 8:36 Michael Weber
2017-01-31 16:06 Jeroen Roovers
2017-01-20 11:05 Agostino Sarubbo
2017-01-17 14:24 Agostino Sarubbo
2017-01-15 15:50 Agostino Sarubbo
2017-01-11 10:35 Agostino Sarubbo
2016-07-25 19:25 Michael Palimaka
2016-06-26 18:30 Markus Meier
2016-06-19 14:39 Tobias Klausmann
2016-06-17 13:39 Alexandre Rostovtsev
2016-03-15 2:52 Mike Frysinger
2016-03-15 2:33 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1722289020.6506a50b9708d6c271eb6dcd1e7149abfcce7d23.chewi@gentoo \
--to=chewi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox