summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-25 14:49:55 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-25 14:57:55 +0200
commit4e5065dc2ee64905184879fd167c5e8b2eaf18f9 (patch)
treea2fee7687fa2bf7f55d85cf340f2e82a766b669b /media-libs/libv4l
parentkde-apps/konsole: backport patch from upstream solving --new-tab regression (diff)
downloadgentoo-4e5065dc2ee64905184879fd167c5e8b2eaf18f9.tar.gz
gentoo-4e5065dc2ee64905184879fd167c5e8b2eaf18f9.tar.bz2
gentoo-4e5065dc2ee64905184879fd167c5e8b2eaf18f9.zip
media-libs/libv4l: Bump to 1.12.3
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-libs/libv4l')
-rw-r--r--media-libs/libv4l/Manifest1
-rw-r--r--media-libs/libv4l/libv4l-1.12.3.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest
index ba815c277af7..10315468c986 100644
--- a/media-libs/libv4l/Manifest
+++ b/media-libs/libv4l/Manifest
@@ -1,3 +1,4 @@
DIST v4l-utils-1.10.0.tar.bz2 1335798 SHA256 78ead27ee58a701d7c6342303cf4520bdd4a2b88a7813bc99a0b389307e4336b SHA512 1c9d70c7a6c4eddd72951786b76d69b6bed682763a33d1a4ffd393e1589add353124af51fa976e4c362f98e8d5baba9e8fa8d50b27e99cd0363fc5c8e57d7a73 WHIRLPOOL 3f9d8a0a3e4e39aa55e67f1217fcaa50d48a5520818011dced7703ca6f2f14f327756c4e02de0b2491bef456a5486fbdd021cc8188903a5a59cbb56778a4706b
DIST v4l-utils-1.10.1.tar.bz2 1352235 SHA256 6147ccc29fe7dd3c5c3994d613c4f2a099bac8b44694a96e5cf4d7caca8336c0 SHA512 524bfd4e93e82f2dd55f0baa3e8be5850d4675b46fd0197b6d1287fc0d502c6b5c64bdf461af9630345f2d847d6aa5b6dc483693cee452da0b6729f156a5d98d WHIRLPOOL 5bd3624acf46f5e79f7ee8f114ec9c5d27bfb25adf9a74c1265b4ff08fe55a828a53e6a58f3ed15dc18f3adcd98e07ac5fc21237ede347944f333a6015d964f6
+DIST v4l-utils-1.12.3.tar.bz2 1588049 SHA256 5a47dd6f0e7dfe902d94605c01d385a4a4e87583ff5856d6f181900ea81cf46e SHA512 6d0269d900c5dad08499ee551ce1507b8b750895f48423ccd534db51cf68794b59a279743fd22dc6da0c092ca31ef744aa564f26b6d6252cbbc7a62e2e1c714a WHIRLPOOL 1d5606defb85981ef6ab91536a1dd4ebe674bb89fff6fcbbc35a1bae00e9a7dd8e14abac10bb59947a0bdfcdec98259af48cd0b252f4ad75fff101e6030ba57a
DIST v4l-utils-1.6.2.tar.bz2 1148309 SHA256 d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a16496be7d SHA512 e14442e1b3660d0cb0844f1a5a88f855bc8532df9e72e1b2afd348a7c077ad25657f832d0fd47d3f567bfd399fd82c5a749d075ac9ecb911ea462685e31aa0b2 WHIRLPOOL bd1b825354ca52e62e8c5f83d43bfd2cec63611c65d6b2709a7274fd15ae0fa21345d2b95a073c0b3a33b7c94b304562f1efcf112e1357a58515bd0d6f37f396
diff --git a/media-libs/libv4l/libv4l-1.12.3.ebuild b/media-libs/libv4l/libv4l-1.12.3.ebuild
new file mode 100644
index 000000000000..e643f163eb6d
--- /dev/null
+++ b/media-libs/libv4l/libv4l-1.12.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils linux-info multilib-minimal
+
+MY_P="v4l-utils-${PV}"
+
+DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package"
+HOMEPAGE="https://git.linuxtv.org/v4l-utils.git"
+SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1+"
+SLOT="0/0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="jpeg"
+
+# The libraries only link to -ljpeg, therefore multilib depend only for virtual/jpeg.
+RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
+ virtual/udev
+ !media-tv/v4l2-ctl
+ !<media-tv/ivtv-utils-1.4.0-r2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/os-headers
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ CONFIG_CHECK="~SHMEM"
+ linux-info_pkg_setup
+}
+
+multilib_src_configure() {
+ # Hard disable the flags that apply only to the utils.
+ ECONF_SOURCE=${S} \
+ econf \
+ --disable-static \
+ --disable-qv4l2 \
+ --disable-v4l-utils \
+ $(use_with jpeg)
+}
+
+multilib_src_compile() {
+ emake -C lib
+}
+
+multilib_src_install() {
+ emake -j1 -C lib DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ dodoc ChangeLog README.lib* TODO
+ prune_libtool_files --all
+}