summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-20 10:12:46 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-20 10:12:46 +0100
commit354d4400f899f83c8676e14847234cea8cf6dece (patch)
treeeb8dde9a991aeca0ed9097b62a9bffc5b1f84c67 /media-libs
parent65eaf930de19d41dc30c6435b1e115fb7dca5355 (diff)
media-libs/libv4l : version && EAPI bump
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libv4l/Manifest2
-rw-r--r--media-libs/libv4l/libv4l-1.16.6-r314.ebuild (renamed from media-libs/libv4l/libv4l-1.16.3-r1337.ebuild)24
2 files changed, 14 insertions, 12 deletions
diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest
index 8b168bf1..9552a52b 100644
--- a/media-libs/libv4l/Manifest
+++ b/media-libs/libv4l/Manifest
@@ -1 +1 @@
-DIST v4l-utils-1.16.3.tar.bz2 1894961 BLAKE2B 71c674abbb3415e592354998e1baa3eedbb4be21757bef80b463ea987e9fc231789e6b333b37d0d9916cb30729e04951dc9f1755ab00a82502fdc415b00cb9a2 SHA512 404672d18d94861c6957ea3a15a6a48f238d3859940810952a5a8cc33b57f1a360d1a19af28405c01b073c0ece90c5995a71dbe6544b30bdb8eace7daeb4bc0b
+DIST v4l-utils-1.16.6.tar.bz2 1893768 BLAKE2B f31cf794f6949fa2c1f45db8bae99a10a5fbc67af356889f636ab03cfd04011a82939a10f01145c56001b91655664530cfbda7d64c523752b8bb77159a1c80ab SHA512 f011218591e32b0ca3239373d9ea4739d7cfe3a6bef5f8a996253cea9b9d836ba488132e2a1b8f6f61cd69f1bcecc20e4b5c26f9c95a2a912e17c400b9fa9b58
diff --git a/media-libs/libv4l/libv4l-1.16.3-r1337.ebuild b/media-libs/libv4l/libv4l-1.16.6-r314.ebuild
index 1b956928..2d060fa5 100644
--- a/media-libs/libv4l/libv4l-1.16.3-r1337.ebuild
+++ b/media-libs/libv4l/libv4l-1.16.6-r314.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
-inherit eutils libtool linux-info multilib-minimal
+inherit libtool linux-info multilib-minimal
MY_P="v4l-utils-${PV}"
@@ -13,23 +13,24 @@ SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1+"
SLOT="0/0"
-KEYWORDS="~amd64"
+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/libudev
+ !elibc_glibc? ( sys-libs/argp-standalone )
+ virtual/libudev[${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}
+"
+BDEPEND="virtual/pkgconfig
+ sys-devel/gettext"
PATCHES=( "${FILESDIR}/sdlcam-only-build-if-using-jpeg.patch" )
+S=${WORKDIR}/${MY_P}
+
pkg_setup() {
CONFIG_CHECK="~SHMEM"
linux-info_pkg_setup
@@ -46,6 +47,7 @@ multilib_src_configure() {
econf \
--disable-static \
--disable-qv4l2 \
+ --disable-qvidcap \
--disable-v4l-utils \
$(use_with jpeg)
}
@@ -60,5 +62,5 @@ multilib_src_install() {
multilib_src_install_all() {
dodoc ChangeLog README.lib* TODO
- prune_libtool_files --all
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
}