diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2016-06-17 09:36:43 -0400 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2016-06-17 09:36:43 -0400 |
commit | d09adc753c935f487ee8fd5b8dea566dc6e95465 (patch) | |
tree | b34f07df7ce7aace123da537662fc258f123cd63 /media-libs/libv4l | |
parent | x11-wm/i3: Add missing dependency on x11-libs/xcb-util-xrm (diff) | |
download | gentoo-d09adc753c935f487ee8fd5b8dea566dc6e95465.tar.gz gentoo-d09adc753c935f487ee8fd5b8dea566dc6e95465.tar.bz2 gentoo-d09adc753c935f487ee8fd5b8dea566dc6e95465.zip |
media-libs/libv4l: bump to 1.10.1 and eapi6-ify (bug #586016)
Fixes incompatibility with libjpeg-turbo-1.5.0, reported by
Oleg and others in bug #586016.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'media-libs/libv4l')
-rw-r--r-- | media-libs/libv4l/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libv4l/libv4l-1.10.1.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest index 49ec83c48a43..ba815c277af7 100644 --- a/media-libs/libv4l/Manifest +++ b/media-libs/libv4l/Manifest @@ -1,2 +1,3 @@ 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.6.2.tar.bz2 1148309 SHA256 d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a16496be7d SHA512 e14442e1b3660d0cb0844f1a5a88f855bc8532df9e72e1b2afd348a7c077ad25657f832d0fd47d3f567bfd399fd82c5a749d075ac9ecb911ea462685e31aa0b2 WHIRLPOOL bd1b825354ca52e62e8c5f83d43bfd2cec63611c65d6b2709a7274fd15ae0fa21345d2b95a073c0b3a33b7c94b304562f1efcf112e1357a58515bd0d6f37f396 diff --git a/media-libs/libv4l/libv4l-1.10.1.ebuild b/media-libs/libv4l/libv4l-1.10.1.ebuild new file mode 100644 index 000000000000..dacf5ea51233 --- /dev/null +++ b/media-libs/libv4l/libv4l-1.10.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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}] ) + !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 +} + +src_prepare() { + eapply "${FILESDIR}"/${PN}-1.6.2-sysmacros.patch + eapply_user +} + +multilib_src_configure() { + # Hard disable the flags that apply only to the utils. + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --disable-qv4l2 \ + --disable-v4l-utils \ + --without-libudev \ + $(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 +} |