summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2009-02-14 16:38:12 +0000
committerCarsten Lohrke <carlo@gentoo.org>2009-02-14 16:38:12 +0000
commitf2ad910a2305d6be69d2f2050454ffac3852ae75 (patch)
treec0f56c8af881219178e316856817db28da8668dc /media-gfx/kphotoalbum
parentsparc stable wrt #257075 (diff)
downloadgentoo-2-f2ad910a2305d6be69d2f2050454ffac3852ae75.tar.gz
gentoo-2-f2ad910a2305d6be69d2f2050454ffac3852ae75.tar.bz2
gentoo-2-f2ad910a2305d6be69d2f2050454ffac3852ae75.zip
Change ebuild to express use dependencies properly.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-gfx/kphotoalbum')
-rw-r--r--media-gfx/kphotoalbum/ChangeLog6
-rw-r--r--media-gfx/kphotoalbum/kphotoalbum-3.1.1-r2.ebuild28
2 files changed, 16 insertions, 18 deletions
diff --git a/media-gfx/kphotoalbum/ChangeLog b/media-gfx/kphotoalbum/ChangeLog
index 6170495fd388..33527fcc3563 100644
--- a/media-gfx/kphotoalbum/ChangeLog
+++ b/media-gfx/kphotoalbum/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/kphotoalbum
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v 1.33 2009/02/08 23:07:15 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v 1.34 2009/02/14 16:38:12 carlo Exp $
+
+ 14 Feb 2009; Carsten Lohrke <carlo@gentoo.org>
+ kphotoalbum-3.1.1-r2.ebuild:
+ Change ebuild to express use dependencies properly.
*kphotoalbum-3.1.1-r2 (08 Feb 2009)
diff --git a/media-gfx/kphotoalbum/kphotoalbum-3.1.1-r2.ebuild b/media-gfx/kphotoalbum/kphotoalbum-3.1.1-r2.ebuild
index 6579415d6090..58b026cf66dd 100644
--- a/media-gfx/kphotoalbum/kphotoalbum-3.1.1-r2.ebuild
+++ b/media-gfx/kphotoalbum/kphotoalbum-3.1.1-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-3.1.1-r2.ebuild,v 1.1 2009/02/08 23:07:15 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-3.1.1-r2.ebuild,v 1.2 2009/02/14 16:38:12 carlo Exp $
+
+EAPI=2
ARTS_REQUIRED="never"
@@ -8,6 +10,7 @@ USE_KEG_PACKAGING=1
LANGS="ar be br ca cs cy da de el en_GB es et fi fr ga gl hi is it ja ka lt ms
mt nb nds nl pa pl pt pt_BR ro ru rw sk sr sr@Latn sv ta tr uk vi zh_CN"
KEG_PO_DIR=translations
+
inherit kde
DESCRIPTION="KDE Photo Album is a tool for indexing, searching, and viewing images."
@@ -19,28 +22,19 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="exif raw"
-DEPEND="exif? ( >=media-gfx/exiv2-0.15 )
+DEPEND="exif? ( >=media-gfx/exiv2-0.15 x11-libs/qt:3[sqlite] )
raw? ( >=media-libs/libkdcraw-0.1.1 )
>=media-libs/jpeg-6b-r7
>=media-libs/libkipi-0.1
- || ( =kde-base/kdegraphics-kfile-plugins-3.5* =kde-base/kdegraphics-3.5* )"
+ || ( kde-base/kdegraphics-kfile-plugins:3.5 kde-base/kdegraphics:3.5 )"
need-kde 3.5
-PATCHES=( "${FILESDIR}/${P}-gcc-4.3.patch"
- "${FILESDIR}/kphotoalbum-3.1.1-desktop-files-fixes.diff" )
-
-pkg_setup() {
- if use exif && ! built_with_use =x11-libs/qt-3* sqlite ; then
- eerror "To enable KPhotoAlbum to search your images"
- eerror "using EXIF information you also need to have"
- eerror "Qt installed with SQLite support."
- eerror
- eerror "Make sure your Qt is installed with the sqlite USE flag."
- die
- fi
- kde_pkg_setup
-}
+PATCHES=(
+ "${FILESDIR}/kphotoalbum-3.1.1-gcc-4.3.patch"
+ "${FILESDIR}/kphotoalbum-3.1.1-desktop-files-fixes.diff"
+ )
+
src_compile() {
local myconf="$(use_enable raw kdcraw) $(use_enable exif exiv2)"