1 |
commit: 6b3fad27b0187e52a632e1a79b1ac101f0a63736 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 18 22:41:50 2023 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 18 23:38:17 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3fad27 |
7 |
|
8 |
media-libs/libv4l: Version bump to 1.24.1 |
9 |
|
10 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
11 |
|
12 |
media-libs/libv4l/Manifest | 1 + |
13 |
media-libs/libv4l/libv4l-1.24.1.ebuild | 74 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 75 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest |
17 |
index eaca215a25f2..9a88ad1c15fe 100644 |
18 |
--- a/media-libs/libv4l/Manifest |
19 |
+++ b/media-libs/libv4l/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST v4l-utils-1.22.1.tar.bz2 2086238 BLAKE2B a3f01a17ea7c8925c74dd883d30b42f54b7926d253dac79e4cadaba43abc33672804257b3b92e5aa640ead6b5aaaa2458f05e21642044d7dea77e5580a8dbe9a SHA512 8a634d8995d13f453dfaf90ca5d0dfb26f2f4b10a0d200d76a949c46f77040d12fc0a5b35e05d7b1ba68bcfc85a445be5a5ab1d4a7d4eabfe3a254038ccc6170 |
22 |
+DIST v4l-utils-1.24.1.tar.bz2 2238340 BLAKE2B 1702918699d47b17467e012c2b1875c58851175c1007351a3b40d0b0fa40437eb695efa9e21afe3351f66780899d45798eef7f23c90a4831bface70a245b8a54 SHA512 1e82ba125285e875bf4a216adedab9147009e6af1aadd79a3a1770231d3c96ec29245b33e75f69a9ce1b25011e71746db242c778ac3369148de1e9de2e318663 |
23 |
|
24 |
diff --git a/media-libs/libv4l/libv4l-1.24.1.ebuild b/media-libs/libv4l/libv4l-1.24.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..f740eb8669a1 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/libv4l/libv4l-1.24.1.ebuild |
29 |
@@ -0,0 +1,74 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit autotools linux-info multilib-minimal |
36 |
+ |
37 |
+MY_P="v4l-utils-${PV}" |
38 |
+ |
39 |
+DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package" |
40 |
+HOMEPAGE="https://git.linuxtv.org/v4l-utils.git" |
41 |
+SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1+" |
44 |
+SLOT="0/0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="dvb jpeg" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dvb? ( virtual/libudev[${MULTILIB_USEDEP}] ) |
50 |
+ !elibc_glibc? ( sys-libs/argp-standalone ) |
51 |
+ jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) |
52 |
+ !media-tv/v4l2-ctl |
53 |
+ !<media-tv/ivtv-utils-1.4.0-r2 |
54 |
+" |
55 |
+ |
56 |
+DEPEND=" |
57 |
+ ${RDEPEND} |
58 |
+" |
59 |
+ |
60 |
+BDEPEND=" |
61 |
+ sys-devel/gettext |
62 |
+ virtual/pkgconfig |
63 |
+" |
64 |
+ |
65 |
+S="${WORKDIR}/${MY_P}" |
66 |
+ |
67 |
+pkg_setup() { |
68 |
+ CONFIG_CHECK="~SHMEM" |
69 |
+ linux-info_pkg_setup |
70 |
+} |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ default |
74 |
+ eautoreconf |
75 |
+} |
76 |
+ |
77 |
+multilib_src_configure() { |
78 |
+ # Hard disable the flags that apply only to the utils. |
79 |
+ ECONF_SOURCE=${S} \ |
80 |
+ econf \ |
81 |
+ --disable-static \ |
82 |
+ $(use_enable dvb libdvbv5) \ |
83 |
+ --disable-qv4l2 \ |
84 |
+ --disable-qvidcap \ |
85 |
+ --disable-v4l-utils \ |
86 |
+ $(use_with jpeg) \ |
87 |
+ $(use_with dvb libudev) |
88 |
+} |
89 |
+ |
90 |
+multilib_src_compile() { |
91 |
+ emake -C lib |
92 |
+} |
93 |
+ |
94 |
+multilib_src_install() { |
95 |
+ emake -j1 -C lib DESTDIR="${D}" install |
96 |
+} |
97 |
+ |
98 |
+multilib_src_install_all() { |
99 |
+ dodoc ChangeLog README.lib* TODO |
100 |
+ |
101 |
+ # no static archives |
102 |
+ find "${D}" -name '*.la' -delete || die |
103 |
+} |