diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2007-11-04 18:44:35 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2007-11-04 18:44:35 +0000 |
commit | 3aa737c25f8fd32b8998438354e6c4d903ee3107 (patch) | |
tree | 6050c8d36085ac6a0e944dafab9a811647a30a24 /media-gfx/digikam | |
parent | Fix the problem with GLIBC 2.7 even for the alpha version. (diff) | |
download | gentoo-2-3aa737c25f8fd32b8998438354e6c4d903ee3107.tar.gz gentoo-2-3aa737c25f8fd32b8998438354e6c4d903ee3107.tar.bz2 gentoo-2-3aa737c25f8fd32b8998438354e6c4d903ee3107.zip |
Version bump.
(Portage version: 2.1.3.16)
Diffstat (limited to 'media-gfx/digikam')
-rw-r--r-- | media-gfx/digikam/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/digikam/digikam-0.9.3_beta2.ebuild | 91 | ||||
-rw-r--r-- | media-gfx/digikam/files/digest-digikam-0.9.3_beta2 | 6 |
3 files changed, 104 insertions, 1 deletions
diff --git a/media-gfx/digikam/ChangeLog b/media-gfx/digikam/ChangeLog index cc3867c5cbe5..21947772c142 100644 --- a/media-gfx/digikam/ChangeLog +++ b/media-gfx/digikam/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/digikam # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.101 2007/10/16 18:47:19 deathwing00 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.102 2007/11/04 18:44:34 cryos Exp $ + +*digikam-0.9.3_beta2 (04 Nov 2007) + + 04 Nov 2007; Marcus D. Hanwell <cryos@gentoo.org> + +digikam-0.9.3_beta2.ebuild: + Version bump. *digikam-0.9.3_beta1 (16 Oct 2007) diff --git a/media-gfx/digikam/digikam-0.9.3_beta2.ebuild b/media-gfx/digikam/digikam-0.9.3_beta2.ebuild new file mode 100644 index 000000000000..448d0148792a --- /dev/null +++ b/media-gfx/digikam/digikam-0.9.3_beta2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-0.9.3_beta2.ebuild,v 1.1 2007/11/04 18:44:34 cryos Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit kde eutils + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +P_DOC="${PN}-doc-0.9.2-beta2" +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 ~ia64 ~ppc ~sparc ~x86" +IUSE="nfs doc kdehiddenvisibility kdeenablefinal" + +DEPEND=">=media-libs/libgphoto2-2.2 + >=dev-db/sqlite-3 + >=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.3 + >=media-libs/libkdcraw-0.1.2 + media-libs/jasper + !media-plugins/digikamimageplugins" + +RDEPEND="${DEPEND} + || ( ( kde-base/kgamma kde-base/kamera ) kde-base/kdegraphics )" + +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="da de es et fr it nl pl pt pt_BR ru sv" + +for lang in ${LANGS}; do + IUSE="${IUSE} linguas_${lang}" +done + +pkg_setup(){ + slot_rebuild "media-libs/libkipi" && die + kde_pkg_setup +} + +src_unpack(){ + kde_src_unpack + + epatch "${FILESDIR}/${PN}-lcms-1.17.patch" + + rm -f "${S}/configure" "${S_DOC}/configure" + + local MAKE_PO=$(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d | tr '\n' ' ') + elog "Enabling 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 + local MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d | tr '\n' ' ') + elog "Enabling documentation for: en ${MAKE_DOC}" + cd "${S_DOC}/doc" + for X in ${MAKE_DOC}; do + DIRS+="$(ls -d ${X}*) " + done + DIRS="$(echo ${DIRS} | tr '\n' ' ')" + sed -i -e "s:^SUBDIRS =.*:SUBDIRS = digikam ${DIRS}:" "${S_DOC}/doc/Makefile.am" || die "sed for locale (docs) failed" + fi +} + +src_compile(){ + local myconf + + myconf="$(use_enable nfs nfs-hack)" + 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 +} diff --git a/media-gfx/digikam/files/digest-digikam-0.9.3_beta2 b/media-gfx/digikam/files/digest-digikam-0.9.3_beta2 new file mode 100644 index 000000000000..e398dde140a5 --- /dev/null +++ b/media-gfx/digikam/files/digest-digikam-0.9.3_beta2 @@ -0,0 +1,6 @@ +MD5 7277c393c1171a53b80dfd576670f251 digikam-0.9.3-beta2.tar.bz2 10756626 +RMD160 db57a0db92c3655010ff3cda35b983585b900197 digikam-0.9.3-beta2.tar.bz2 10756626 +SHA256 4b3d2b6bee27c4c36787c96e7108ae65b5e6f7eef0c8b853e5dce83d332b5483 digikam-0.9.3-beta2.tar.bz2 10756626 +MD5 a737fde16a6823d738e2976cdf006098 digikam-doc-0.9.2-beta2.tar.bz2 40596219 +RMD160 32a26bcc1f89da53464e2dd1cd9ca7c5be227a9b digikam-doc-0.9.2-beta2.tar.bz2 40596219 +SHA256 bffcf0de73bbc16870eb68abec7836ab3b997cdb30634f984bd5036658806ceb digikam-doc-0.9.2-beta2.tar.bz2 40596219 |