diff options
author | Peter Volkov <pva@gentoo.org> | 2007-05-26 10:35:33 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2007-05-26 10:35:33 +0000 |
commit | 9ee6155b58ee89960a7eaad9a18db672f00b59b9 (patch) | |
tree | 51142ce67a12d7cda3ead47f1d1db9c960c1a0fe /media-plugins/kipi-plugins/kipi-plugins-0.1.3-r2.ebuild | |
parent | Fix ChangeLog to point at our bugzilla, not xfce bugzilla. (diff) | |
download | gentoo-2-9ee6155b58ee89960a7eaad9a18db672f00b59b9.tar.gz gentoo-2-9ee6155b58ee89960a7eaad9a18db672f00b59b9.tar.bz2 gentoo-2-9ee6155b58ee89960a7eaad9a18db672f00b59b9.zip |
Fixed compilation problem with exiv2-0.14: now used libkexiv interface instead of exiv2. Patch from fedora.
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-plugins/kipi-plugins/kipi-plugins-0.1.3-r2.ebuild')
-rw-r--r-- | media-plugins/kipi-plugins/kipi-plugins-0.1.3-r2.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/media-plugins/kipi-plugins/kipi-plugins-0.1.3-r2.ebuild b/media-plugins/kipi-plugins/kipi-plugins-0.1.3-r2.ebuild new file mode 100644 index 000000000000..debf62bb7dc7 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-0.1.3-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2007 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.1.3-r2.ebuild,v 1.1 2007/05/26 10:35:33 pva Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit kde + +MY_P=${P/_/-} +S=${WORKDIR}/${MY_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" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="opengl gphoto2" + +DEPEND=">=media-libs/libkipi-0.1.5 + media-libs/libkexiv2 + gphoto2? ( >=media-libs/libgphoto2-2.3.1 ) + >=media-libs/imlib2-1.1.0 + >=media-gfx/imagemagick-6.2.4 + >=media-video/mjpegtools-1.6.0 + opengl? ( virtual/opengl ) + >=media-libs/tiff-3.5 + >=dev-libs/libxslt-1.1" + +RDEPEND="${DEPEND} + >=media-gfx/dcraw-8.45" + +need-kde 3.5 + +PATCHES="${FILESDIR}/${P}-external-dcraw.patch + ${FILESDIR}/${P}-exiv2-fedora.patch" + +pkg_setup(){ + slot_rebuild "media-libs/libkipi media-libs/libkexif" && die + if ! built_with_use media-libs/imlib2 X ; then + eerror "X support is required in media-libs/imlib2 in order to be able" + eerror "to compile media-plugins/kipi-plugins. Please, re-emerge" + eerror "media-libs/imlib2 with the 'X' USE flag enabled." + die + fi +} + +src_compile() { + myconf="$(use_with opengl) $(use_with gphoto2)" + kde_src_compile all +} + |