summaryrefslogtreecommitdiff
path: root/media-tv/v4l-utils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-30 16:51:50 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-30 16:51:50 +0000
commit03adf052f19cc5e0ec2d5823c485923d0395d4d0 (patch)
tree21c96a8b800aa03623f52aea10dac9c377f486f0 /media-tv/v4l-utils
parent09584a3879cc794698f02fc7f27792f7f0dd051d (diff)
media-tv/v4l-utils : make jpeg USE conditional
Diffstat (limited to 'media-tv/v4l-utils')
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild b/media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild
index 5378d34d..9a192e5c 100644
--- a/media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild
+++ b/media-tv/v4l-utils/v4l-utils-1.16.3-r1337.ebuild
@@ -11,9 +11,11 @@ SRC_URI="http://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="qt5"
+IUSE="jpeg qt5"
-RDEPEND=">=media-libs/libv4l-${PV}
+RDEPEND="
+ jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}]
+ >=media-libs/libv4l-${PV}[jpeg]
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -44,7 +46,7 @@ src_configure() {
--disable-static \
$(use_enable qt5 qv4l2) \
--with-udevdir="$(get_udevdir)" \
- --without-jpeg \
+ $(use_with jpeg) \
"${qt5_paths[@]}"
}