Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/v4l-utils/
Date: Wed, 27 Feb 2019 16:30:48
Message-Id: 1551285030.1b6d257fa26de30ac47421443a8eb1aea6ab4453.aballier@gentoo
1 commit: 1b6d257fa26de30ac47421443a8eb1aea6ab4453
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 27 13:18:23 2019 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 27 16:30:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6d257f
7
8 media-tv/v4l-utils: Add opengl useflag
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 media-tv/v4l-utils/v4l-utils-1.16.3.ebuild | 8 +++++---
14 1 file changed, 5 insertions(+), 3 deletions(-)
15
16 diff --git a/media-tv/v4l-utils/v4l-utils-1.16.3.ebuild b/media-tv/v4l-utils/v4l-utils-1.16.3.ebuild
17 index ebf0e836501..8c1466e3ee7 100644
18 --- a/media-tv/v4l-utils/v4l-utils-1.16.3.ebuild
19 +++ b/media-tv/v4l-utils/v4l-utils-1.16.3.ebuild
20 @@ -11,14 +11,13 @@ SRC_URI="http://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2"
21 LICENSE="GPL-2+ LGPL-2.1+"
22 SLOT="0"
23 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
24 -IUSE="qt5"
25 +IUSE="opengl qt5"
26
27 RDEPEND=">=media-libs/libv4l-${PV}[jpeg]
28 qt5? (
29 dev-qt/qtcore:5
30 dev-qt/qtgui:5
31 - dev-qt/qtopengl:5
32 - virtual/opengl
33 + opengl? ( dev-qt/qtopengl:5[-gles2(-)] virtual/opengl )
34 media-libs/alsa-lib
35 )
36 virtual/libudev
37 @@ -39,6 +38,9 @@ src_configure() {
38 UIC="$(pkg-config --variable=host_bins Qt5Core)/uic" \
39 RCC="$(pkg-config --variable=host_bins Qt5Core)/rcc" \
40 )
41 + if use !opengl; then
42 + sed -e 's/Qt5OpenGL/DiSaBlEd/g' -i configure || die
43 + fi
44 fi
45 # Hard disable the flags that apply only to the libs.
46 econf \