media-plugins/frei0r-plugins: EAPI 6
authorJohannes Huber <johu@gentoo.org>
Mon, 30 Jan 2017 15:00:35 +0000 (16:00 +0100)
committerJohannes Huber <johu@gentoo.org>
Mon, 30 Jan 2017 15:00:47 +0000 (16:00 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild

index 992ae7314aca75fbbd9fae889ed219a3c3a500d6..541c06a3a7347776ce03c4f3b0dd33a815258021 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=6
+
 inherit cmake-utils multilib
 
 DESCRIPTION="A minimalistic plugin API for video effects"
@@ -24,6 +25,8 @@ DEPEND="${RDEPEND}
 DOCS=( AUTHORS.txt ChangeLog.txt README.txt TODO.txt )
 
 src_prepare() {
+       cmake-utils_src_prepare
+
        local f=CMakeLists.txt
 
        sed -i \
@@ -38,10 +41,11 @@ src_prepare() {
 }
 
 src_configure() {
-        local mycmakeargs=(
-               $(cmake-utils_use "!facedetect" "WITHOUT_OPENCV" )
-               $(cmake-utils_use "!scale0tilt" "WITHOUT_GAVL"   )
-        )
+       local mycmakeargs=(
+               -DWITHOUT_OPENCV=$(usex !facedetect)
+               -DWITHOUT_GAVL=$(usex !scale0tilt)
+       )
+
        cmake-utils_src_configure
 }
 
@@ -58,5 +62,5 @@ src_compile() {
 src_install() {
        cmake-utils_src_install
 
-       use doc && dohtml -r doc/html
+       use doc && dodoc -r doc/html
 }