Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libv4l/
Date: Tue, 30 May 2017 10:54:04
Message-Id: 1496141626.495e6f08f67ca4141442a0622c0c4972de87266a.aballier@gentoo
1 commit: 495e6f08f67ca4141442a0622c0c4972de87266a
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 30 10:44:19 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue May 30 10:53:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495e6f08
7
8 media-libs/libv4l: bump to 1.12.5
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-libs/libv4l/Manifest | 1 +
13 media-libs/libv4l/libv4l-1.12.5.ebuild | 57 ++++++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest
17 index 10315468c98..54a4ed4786b 100644
18 --- a/media-libs/libv4l/Manifest
19 +++ b/media-libs/libv4l/Manifest
20 @@ -1,4 +1,5 @@
21 DIST v4l-utils-1.10.0.tar.bz2 1335798 SHA256 78ead27ee58a701d7c6342303cf4520bdd4a2b88a7813bc99a0b389307e4336b SHA512 1c9d70c7a6c4eddd72951786b76d69b6bed682763a33d1a4ffd393e1589add353124af51fa976e4c362f98e8d5baba9e8fa8d50b27e99cd0363fc5c8e57d7a73 WHIRLPOOL 3f9d8a0a3e4e39aa55e67f1217fcaa50d48a5520818011dced7703ca6f2f14f327756c4e02de0b2491bef456a5486fbdd021cc8188903a5a59cbb56778a4706b
22 DIST v4l-utils-1.10.1.tar.bz2 1352235 SHA256 6147ccc29fe7dd3c5c3994d613c4f2a099bac8b44694a96e5cf4d7caca8336c0 SHA512 524bfd4e93e82f2dd55f0baa3e8be5850d4675b46fd0197b6d1287fc0d502c6b5c64bdf461af9630345f2d847d6aa5b6dc483693cee452da0b6729f156a5d98d WHIRLPOOL 5bd3624acf46f5e79f7ee8f114ec9c5d27bfb25adf9a74c1265b4ff08fe55a828a53e6a58f3ed15dc18f3adcd98e07ac5fc21237ede347944f333a6015d964f6
23 DIST v4l-utils-1.12.3.tar.bz2 1588049 SHA256 5a47dd6f0e7dfe902d94605c01d385a4a4e87583ff5856d6f181900ea81cf46e SHA512 6d0269d900c5dad08499ee551ce1507b8b750895f48423ccd534db51cf68794b59a279743fd22dc6da0c092ca31ef744aa564f26b6d6252cbbc7a62e2e1c714a WHIRLPOOL 1d5606defb85981ef6ab91536a1dd4ebe674bb89fff6fcbbc35a1bae00e9a7dd8e14abac10bb59947a0bdfcdec98259af48cd0b252f4ad75fff101e6030ba57a
24 +DIST v4l-utils-1.12.5.tar.bz2 1588944 SHA256 0618162ddb0b57fe7c45407d4d66ed79e3a134cdbc9e72598d34e61d3359e20d SHA512 ed2e7545a728360b9684db68330885b498a3a5611f49b80e54da72109d9ba2aa75e85f89f085ff0a6f077b17c880101fa5b78c9dff8a0df2eac1866bd80a04ea WHIRLPOOL 07d2c8184812366998134f3bda7c5a2f2888780f84324e6da342a43f7da824655db6d6a929c910f5569ec33774acc36542811ffe6cf74676b70e910c6c84d293
25 DIST v4l-utils-1.6.2.tar.bz2 1148309 SHA256 d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a16496be7d SHA512 e14442e1b3660d0cb0844f1a5a88f855bc8532df9e72e1b2afd348a7c077ad25657f832d0fd47d3f567bfd399fd82c5a749d075ac9ecb911ea462685e31aa0b2 WHIRLPOOL bd1b825354ca52e62e8c5f83d43bfd2cec63611c65d6b2709a7274fd15ae0fa21345d2b95a073c0b3a33b7c94b304562f1efcf112e1357a58515bd0d6f37f396
26
27 diff --git a/media-libs/libv4l/libv4l-1.12.5.ebuild b/media-libs/libv4l/libv4l-1.12.5.ebuild
28 new file mode 100644
29 index 00000000000..b0f08c4dd70
30 --- /dev/null
31 +++ b/media-libs/libv4l/libv4l-1.12.5.ebuild
32 @@ -0,0 +1,57 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="6"
37 +
38 +inherit eutils linux-info multilib-minimal
39 +
40 +MY_P="v4l-utils-${PV}"
41 +
42 +DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package"
43 +HOMEPAGE="https://git.linuxtv.org/v4l-utils.git"
44 +SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2"
45 +
46 +LICENSE="LGPL-2.1+"
47 +SLOT="0/0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
49 +IUSE="jpeg"
50 +
51 +# The libraries only link to -ljpeg, therefore multilib depend only for virtual/jpeg.
52 +RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
53 + virtual/libudev
54 + !media-tv/v4l2-ctl
55 + !<media-tv/ivtv-utils-1.4.0-r2"
56 +DEPEND="${RDEPEND}
57 + sys-devel/gettext
58 + virtual/os-headers
59 + virtual/pkgconfig"
60 +
61 +S=${WORKDIR}/${MY_P}
62 +
63 +pkg_setup() {
64 + CONFIG_CHECK="~SHMEM"
65 + linux-info_pkg_setup
66 +}
67 +
68 +multilib_src_configure() {
69 + # Hard disable the flags that apply only to the utils.
70 + ECONF_SOURCE=${S} \
71 + econf \
72 + --disable-static \
73 + --disable-qv4l2 \
74 + --disable-v4l-utils \
75 + $(use_with jpeg)
76 +}
77 +
78 +multilib_src_compile() {
79 + emake -C lib
80 +}
81 +
82 +multilib_src_install() {
83 + emake -j1 -C lib DESTDIR="${D}" install
84 +}
85 +
86 +multilib_src_install_all() {
87 + dodoc ChangeLog README.lib* TODO
88 + prune_libtool_files --all
89 +}