summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/kipi-plugins/ChangeLog8
-rw-r--r--media-plugins/kipi-plugins/kipi-plugins-0.3.0.ebuild77
2 files changed, 84 insertions, 1 deletions
diff --git a/media-plugins/kipi-plugins/ChangeLog b/media-plugins/kipi-plugins/ChangeLog
index 02426378e1c2..425c43368eff 100644
--- a/media-plugins/kipi-plugins/ChangeLog
+++ b/media-plugins/kipi-plugins/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/kipi-plugins
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/ChangeLog,v 1.48 2009/04/06 12:02:02 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/ChangeLog,v 1.49 2009/05/22 16:17:57 scarabeus Exp $
+
+*kipi-plugins-0.3.0 (22 May 2009)
+
+ 22 May 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ +kipi-plugins-0.3.0.ebuild:
+ Version bump. Per bug #270836.
06 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org>
kipi-plugins-0.2.0-r1.ebuild:
diff --git a/media-plugins/kipi-plugins/kipi-plugins-0.3.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-0.3.0.ebuild
new file mode 100644
index 000000000000..1f651bb9bf7a
--- /dev/null
+++ b/media-plugins/kipi-plugins/kipi-plugins-0.3.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/kipi-plugins-0.3.0.ebuild,v 1.1 2009/05/22 16:17:57 scarabeus Exp $
+
+EAPI="2"
+
+KDE_MINIMAL="4.2"
+OPENGL_REQUIRED="optional"
+KDE_LINGUAS="ar be ca cs da de el es et fr ga gl hi is it ja km lt lv ms nb nds nl
+nn oc pa pl pt pt_BR ro ru se sk sv th tr uk zn_CN"
+inherit kde4-base
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="Plugins for the KDE Image Plugin Interface (libkipi)."
+HOMEPAGE="http://www.kipi-plugins.org"
+SRC_URI="mirror://sourceforge/kipi/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="cdr calendar debug +imagemagick ipod mjpeg redeyes scanner"
+SLOT="2"
+
+DEPEND="
+ >=dev-libs/expat-2.0.1
+ dev-libs/libxml2
+ dev-libs/libxslt
+ >=kde-base/libkdcraw-${KDE_MINIMAL}
+ >=kde-base/libkexiv2-${KDE_MINIMAL}
+ >=kde-base/libkipi-${KDE_MINIMAL}
+ media-libs/jpeg
+ media-libs/libpng
+ >=media-libs/tiff-3.5
+ calendar? ( >=kde-base/kdepimlibs-${KDE_MINIMAL} )
+ ipod? ( media-libs/libgpod )
+ opengl? ( virtual/opengl )
+ redeyes? ( media-libs/opencv )
+ scanner? (
+ media-gfx/sane-backends
+ >=kde-base/libksane-${KDE_MINIMAL}
+ )
+"
+RDEPEND="${DEPEND}
+ cdr? ( app-cdr/k3b )
+ imagemagick? ( media-gfx/imagemagick )
+ mjpeg? ( media-video/mjpegtools )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ # This Plugin hard depends on libksane, deactivate it if use flag scanner is
+ # not set.
+ if ! use scanner; then
+ sed -i \
+ -e '/acquireimages/ s:^:#DONOTCOMPILE :' \
+ "${S}"/CMakeLists.txt || die "Sed deactivating scanner support failed."
+ fi
+
+ # Fix linking
+ sed -i \
+ -e '/KDE4_KDEUI_LIBS/ c\\${KDE4_KIO_LIBS}'\
+ "${S}"/common/libkipiplugins/CMakeLists.txt \
+ || die "Sed fixing kipi linking failed."
+
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with calendar KdepimLibs)
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with scanner KSane)
+ $(cmake-utils_use_with scanner Sane)
+ $(cmake-utils_use_with ipod Gpod)
+ $(cmake-utils_use_with ipod GLIB2)
+ $(cmake-utils_use_with ipod GObject)
+ $(cmake-utils_use_with redeyes OpenCV)"
+
+ kde4-base_src_configure
+}