diff options
author | Johannes Huber <johu@gentoo.org> | 2017-01-30 16:00:35 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-01-30 16:00:47 +0100 |
commit | 538563772eca2dd73461edb4133c4bba62d73e12 (patch) | |
tree | 6eaed353cae160663537b8afd390298dce6b2cbe /media-plugins/frei0r-plugins | |
parent | media-plugins/frei0r-plugins: Remove 1.4 (diff) | |
download | gentoo-538563772eca2dd73461edb4133c4bba62d73e12.tar.gz gentoo-538563772eca2dd73461edb4133c4bba62d73e12.tar.bz2 gentoo-538563772eca2dd73461edb4133c4bba62d73e12.zip |
media-plugins/frei0r-plugins: EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-plugins/frei0r-plugins')
-rw-r--r-- | media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild index 992ae7314aca..541c06a3a734 100644 --- a/media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild +++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.5.0.ebuild @@ -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 } |