summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2009-02-13 10:34:04 +0000
committerCarsten Lohrke <carlo@gentoo.org>2009-02-13 10:34:04 +0000
commit1db6e4c221d21f6e205bf2374c41367faf26a4c7 (patch)
tree4925d384c8321ffd756fa18808eb249f8ad4f399 /media-gfx
parent Get rid of invalid aRts dependency. Correct libkdcraw dependency. Drop outda... (diff)
downloadgentoo-2-1db6e4c221d21f6e205bf2374c41367faf26a4c7.tar.gz
gentoo-2-1db6e4c221d21f6e205bf2374c41367faf26a4c7.tar.bz2
gentoo-2-1db6e4c221d21f6e205bf2374c41367faf26a4c7.zip
Version bump.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/digikam/ChangeLog8
-rw-r--r--media-gfx/digikam/digikam-0.9.5_beta3.ebuild95
2 files changed, 102 insertions, 1 deletions
diff --git a/media-gfx/digikam/ChangeLog b/media-gfx/digikam/ChangeLog
index 63ca8cc84564..d86fc92eb0e6 100644
--- a/media-gfx/digikam/ChangeLog
+++ b/media-gfx/digikam/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/digikam
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.124 2009/02/13 10:33:07 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.125 2009/02/13 10:34:04 carlo Exp $
+
+*digikam-0.9.5_beta3 (13 Feb 2009)
+
+ 13 Feb 2009; Carsten Lohrke <carlo@gentoo.org>
+ +digikam-0.9.5_beta3.ebuild:
+ Version bump.
*digikam-0.9.4-r1 (13 Feb 2009)
diff --git a/media-gfx/digikam/digikam-0.9.5_beta3.ebuild b/media-gfx/digikam/digikam-0.9.5_beta3.ebuild
new file mode 100644
index 000000000000..b231ae8a4ed6
--- /dev/null
+++ b/media-gfx/digikam/digikam-0.9.5_beta3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-0.9.5_beta3.ebuild,v 1.1 2009/02/13 10:34:04 carlo Exp $
+
+EAPI="1"
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+ARTS_REQUIRED="never"
+
+inherit kde
+
+MY_P="${P/_/-}"
+S="${WORKDIR}/${MY_P}"
+P_DOC="${PN}-doc-${PV/_*/}"
+S_DOC="${WORKDIR}/${P_DOC}"
+
+DESCRIPTION="A digital photo management application for KDE."
+HOMEPAGE="http://www.digikam.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2
+ doc? ( mirror://sourceforge/${PN}/${P_DOC}.tar.bz2 )"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="nfs doc"
+
+DEPEND=">=dev-db/sqlite-3.5.9:3
+ >=media-libs/libgphoto2-2.2
+ >=media-libs/libkipi-0.1.5
+ >=media-libs/tiff-3.8.2
+ >=media-libs/lcms-1.14
+ >=media-libs/libpng-1.2
+ >=media-libs/jasper-1.7
+ >=media-libs/libkexiv2-0.1.8
+ >=media-libs/libkdcraw-0.1.7
+ media-libs/jasper
+ !media-plugins/digikamimageplugins"
+
+RDEPEND="${DEPEND}
+ || ( ( kde-base/kgamma:3.5 kde-base/kamera:3.5 )
+ kde-base/kdegraphics:3.5 )"
+
+need-kde 3.5
+
+LANGS="ar bg br ca cs cy da de el en_GB es et fa fi fr gl he hu is it ja ka lt
+mk ms mt nb nds nl nn pa pl pt pt_BR ro ru rw sk sl sr sr@Latn sv ta th tr uk vi
+zh_CN zh_TW"
+
+LANGS_DOC_DIGIKAM="da de es et it nl pt ru sv"
+
+LANGS_DOC_SHOWFOTO="da de es et it nl sv"
+
+for lang in ${LANGS}; do
+ IUSE="${IUSE} linguas_${lang}"
+done
+
+src_unpack(){
+ kde_src_unpack
+
+ rm -f "${S}/configure" "${S_DOC}/configure"
+
+ local MAKE_PO=$(echo "${LINGUAS} ${LANGS}" | tr ' ' '\n' | sort | uniq -d | tr '\n' ' ')
+ elog "Preparing to build translations for: en ${MAKE_PO}"
+ sed -i -e "s:^SUBDIRS =.*:SUBDIRS = . ${MAKE_PO}:" "${S}/po/Makefile.am" || die "sed for locale failed"
+
+ if use doc; then
+ cd "${S_DOC}/doc"
+ MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC_DIGIKAM}" | tr ' ' '\n' | sort | uniq -d | tr '\n' ' ')
+ elog "Preparing to build digiKam documentation for: en ${MAKE_DOC}"
+ for X in ${MAKE_DOC}; do
+ DIRS+="$(ls -d ${X}_digikam) "
+ done
+ MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC_SHOWFOTO}" | tr ' ' '\n' | sort | uniq -d | tr '\n' ' ')
+ elog "Preparing to build ShowFoto documentation for: en ${MAKE_DOC}"
+ for X in ${MAKE_DOC}; do
+ DIRS+="$(ls -d ${X}_showfoto) "
+ done
+ DIRS="$(echo ${DIRS} | tr '\n' ' ')"
+ sed -i -e "s:^SUBDIRS =.*:SUBDIRS = digikam showfoto ${DIRS}:" "${S_DOC}/doc/Makefile.am" || die "sed for locale (docs) failed"
+ fi
+}
+
+src_compile(){
+ local myconf="$(use_enable nfs nfs-hack) --without-included-sqlite3"
+ kde_src_compile
+
+ myconf=""
+ [[ -d "${S_DOC}" ]] && KDE_S="${S_DOC}" kde_src_compile
+}
+
+src_install(){
+ kde_src_install
+ [[ -d "${S_DOC}" ]] && KDE_S="${S_DOC}" kde_src_install
+}