summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-06-28 13:18:54 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-28 13:18:54 +0200
commit3701f4f7f33e9a686bf00e292f64a7d7738abc3f (patch)
tree0de7b2a0224a7a831386304bbc62a06c1f9cd4ff /media-plugins/frei0r-plugins
parentvirtual/cblas: keyword ~arm64 (diff)
downloadgentoo-3701f4f7f33e9a686bf00e292f64a7d7738abc3f.tar.gz
gentoo-3701f4f7f33e9a686bf00e292f64a7d7738abc3f.tar.bz2
gentoo-3701f4f7f33e9a686bf00e292f64a7d7738abc3f.zip
media-plugins/frei0r-plugins: bump to 1.6.1
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-plugins/frei0r-plugins')
-rw-r--r--media-plugins/frei0r-plugins/Manifest1
-rw-r--r--media-plugins/frei0r-plugins/frei0r-plugins-1.6.1.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-plugins/frei0r-plugins/Manifest b/media-plugins/frei0r-plugins/Manifest
index 82273b1119b..8b69c3b32b3 100644
--- a/media-plugins/frei0r-plugins/Manifest
+++ b/media-plugins/frei0r-plugins/Manifest
@@ -1,2 +1,3 @@
DIST frei0r-plugins-1.5.0.tar.gz 1519006 SHA256 781cf84a6c2a9a3252f54d2967b57f6de75a31fc1684371e112638c981f72b60 SHA512 9be0384421ff5ac9000dcda9acefb5cb2b6dc05ea72d9771fae990cb5fad4424dcef8dd15c1e5031a89169f914af8c7a30e47934ad007a3bc0150f3c005bc6bf WHIRLPOOL c582118da0d832edd10bf3e4473edb5ff352d67d723d84381befda0cee7deaaeb5f200b5db49603055d620921669d9e0346a7654db2f12e8d922419e7456eaf3
DIST frei0r-plugins-1.6.0.tar.gz 1090145 SHA256 ab2d7254f3a822944252f6c85453eeb8b38fd9368e087034c8d47d68fe6e36fe SHA512 0736c3e874d9406777e9dd1d7010e6ddd87c656df6d803d2dc689e1d6ee0d053aaaab5991484b58d142f14fe52f8dc51a31d2a6604f06d567fbb3414cb62645d WHIRLPOOL eecbf00dc9cfc9929b6a550e39a0e938b096a221b7b30213e616528c3c3a1a8bf78cd4765a5d40d03196fe1a00040d089490ed35aa6a9fab5b33333b728e7420
+DIST frei0r-plugins-1.6.1.tar.gz 1103969 SHA256 e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e SHA512 843790389e6de83817d1c3744a91d3365864bb0c22cf6598707ccba5ec8933f6209434011cde1303e16edd89f6cde2f22aa1fb6eca3548d892a2c77332c44aac WHIRLPOOL 4b05f48d2ee0cdab6af16a2c3ff656e1bf764ad495214ea6653b20b9df6a1104ca40c86f25abddd7b4a1c3f015294986022a3026c824c67b7d099b0bedf2e5cc
diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.6.1.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.6.1.ebuild
new file mode 100644
index 00000000000..6c92b93da41
--- /dev/null
+++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.6.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils multilib
+
+DESCRIPTION="A minimalistic plugin API for video effects"
+HOMEPAGE="http://www.dyne.org/software/frei0r/"
+SRC_URI="http://files.dyne.org/frei0r/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="doc +facedetect +scale0tilt"
+
+RDEPEND="x11-libs/cairo
+ facedetect? ( >=media-libs/opencv-2.3.0:= )
+ scale0tilt? ( >=media-libs/gavl-1.2.0 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+DOCS=( AUTHORS.txt ChangeLog.txt README.txt TODO.txt )
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ local f=CMakeLists.txt
+
+ sed -i \
+ -e '/set(CMAKE_C_FLAGS/d' \
+ -e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \
+ ${f} || die
+
+ # https://bugs.gentoo.org/418243
+ sed -i \
+ -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \
+ src/filter/*/${f} || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITHOUT_OPENCV=$(usex !facedetect)
+ -DWITHOUT_GAVL=$(usex !scale0tilt)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use doc; then
+ pushd doc
+ doxygen || die
+ popd
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ use doc && dodoc -r doc/html
+}