diff options
author | Alexis Ballier <aballier@gentoo.org> | 2019-02-27 14:18:23 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2019-02-27 17:30:30 +0100 |
commit | 1b6d257fa26de30ac47421443a8eb1aea6ab4453 (patch) | |
tree | e3667538cf374075873718c880602ddf903d1cc4 /media-tv | |
parent | www-client/vivaldi-snapshot: Old (diff) | |
download | gentoo-1b6d257fa26de30ac47421443a8eb1aea6ab4453.tar.gz gentoo-1b6d257fa26de30ac47421443a8eb1aea6ab4453.tar.bz2 gentoo-1b6d257fa26de30ac47421443a8eb1aea6ab4453.zip |
media-tv/v4l-utils: Add opengl useflag
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/v4l-utils/v4l-utils-1.16.3.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-tv/v4l-utils/v4l-utils-1.16.3.ebuild b/media-tv/v4l-utils/v4l-utils-1.16.3.ebuild index ebf0e8365010..8c1466e3ee74 100644 --- a/media-tv/v4l-utils/v4l-utils-1.16.3.ebuild +++ b/media-tv/v4l-utils/v4l-utils-1.16.3.ebuild @@ -11,14 +11,13 @@ SRC_URI="http://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2" LICENSE="GPL-2+ LGPL-2.1+" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="qt5" +IUSE="opengl qt5" RDEPEND=">=media-libs/libv4l-${PV}[jpeg] qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 - dev-qt/qtopengl:5 - virtual/opengl + opengl? ( dev-qt/qtopengl:5[-gles2(-)] virtual/opengl ) media-libs/alsa-lib ) virtual/libudev @@ -39,6 +38,9 @@ src_configure() { UIC="$(pkg-config --variable=host_bins Qt5Core)/uic" \ RCC="$(pkg-config --variable=host_bins Qt5Core)/rcc" \ ) + if use !opengl; then + sed -e 's/Qt5OpenGL/DiSaBlEd/g' -i configure || die + fi fi # Hard disable the flags that apply only to the libs. econf \ |