Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/frei0r-plugins/
Date: Mon, 30 Jan 2017 15:01:32
Message-Id: 1485788447.538563772eca2dd73461edb4133c4bba62d73e12.johu@gentoo
1 commit: 538563772eca2dd73461edb4133c4bba62d73e12
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 15:00:35 2017 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 15:00:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53856377
7
8 media-plugins/frei0r-plugins: EAPI 6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 .../frei0r-plugins/frei0r-plugins-1.5.0.ebuild | 18 +++++++++++-------
13 1 file changed, 11 insertions(+), 7 deletions(-)
14
15 diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild
16 index 992ae73..541c06a 100644
17 --- a/media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild
18 +++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild
19 @@ -1,8 +1,9 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 -EAPI=4
26 +EAPI=6
27 +
28 inherit cmake-utils multilib
29
30 DESCRIPTION="A minimalistic plugin API for video effects"
31 @@ -24,6 +25,8 @@ DEPEND="${RDEPEND}
32 DOCS=( AUTHORS.txt ChangeLog.txt README.txt TODO.txt )
33
34 src_prepare() {
35 + cmake-utils_src_prepare
36 +
37 local f=CMakeLists.txt
38
39 sed -i \
40 @@ -38,10 +41,11 @@ src_prepare() {
41 }
42
43 src_configure() {
44 - local mycmakeargs=(
45 - $(cmake-utils_use "!facedetect" "WITHOUT_OPENCV" )
46 - $(cmake-utils_use "!scale0tilt" "WITHOUT_GAVL" )
47 - )
48 + local mycmakeargs=(
49 + -DWITHOUT_OPENCV=$(usex !facedetect)
50 + -DWITHOUT_GAVL=$(usex !scale0tilt)
51 + )
52 +
53 cmake-utils_src_configure
54 }
55
56 @@ -58,5 +62,5 @@ src_compile() {
57 src_install() {
58 cmake-utils_src_install
59
60 - use doc && dohtml -r doc/html
61 + use doc && dodoc -r doc/html
62 }