summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-13 18:17:27 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-13 18:17:27 +0000
commit871e941454912c3115c2037b329ca5ec2e75d5e3 (patch)
tree1dc2842a58c8f414dcbac3bcc3cee872ce596b1d /media-plugins
parentStable for amd64 wrt bug #480784 (diff)
downloadgentoo-2-871e941454912c3115c2037b329ca5ec2e75d5e3.tar.gz
gentoo-2-871e941454912c3115c2037b329ca5ec2e75d5e3.tar.bz2
gentoo-2-871e941454912c3115c2037b329ca5ec2e75d5e3.zip
version bump, update homepage, bug #469112
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/frei0r-plugins/ChangeLog9
-rw-r--r--media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild62
2 files changed, 69 insertions, 2 deletions
diff --git a/media-plugins/frei0r-plugins/ChangeLog b/media-plugins/frei0r-plugins/ChangeLog
index bc6f7e3859f5..64b74d7c5c05 100644
--- a/media-plugins/frei0r-plugins/ChangeLog
+++ b/media-plugins/frei0r-plugins/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/frei0r-plugins
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/frei0r-plugins/ChangeLog,v 1.20 2012/08/04 08:01:53 ssuominen Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/frei0r-plugins/ChangeLog,v 1.21 2013/08/13 18:17:27 aballier Exp $
+
+*frei0r-plugins-1.4 (13 Aug 2013)
+
+ 13 Aug 2013; Alexis Ballier <aballier@gentoo.org> +frei0r-plugins-1.4.ebuild:
+ version bump, update homepage, bug #469112
04 Aug 2012; Samuli Suominen <ssuominen@gentoo.org>
frei0r-plugins-1.3.ebuild:
diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild
new file mode 100644
index 000000000000..d864b092de98
--- /dev/null
+++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild,v 1.1 2013/08/13 18:17:27 aballier Exp $
+
+EAPI=4
+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 ~hppa ~ppc ~x86 ~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 ChangeLog README TODO )
+
+src_prepare() {
+ local f=CMakeLists.txt
+
+ sed -i \
+ -e '/set(CMAKE_C_FLAGS/d' \
+ -e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \
+ ${f} || die
+
+ # http://bugs.gentoo.org/418243
+ sed -i \
+ -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \
+ src/filter/*/${f} || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use "!facedetect" "WITHOUT_GAVL" )
+ $(cmake-utils_use "!scale0tilt" "WITHOUT_OPENCV")
+ )
+ 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 && dohtml -r doc/html
+}