summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Heinlein <keytoaster@gentoo.org>2007-12-31 00:20:31 +0000
committerTobias Heinlein <keytoaster@gentoo.org>2007-12-31 00:20:31 +0000
commit02a77074911de0d534e0f3b84d744060cddbf50f (patch)
tree688dcb5cb8ed1aba14679827f3663732d3720d63 /media-gfx/digikam
parentdrop useflag, fix bug #203746 (diff)
downloadgentoo-2-02a77074911de0d534e0f3b84d744060cddbf50f.tar.gz
gentoo-2-02a77074911de0d534e0f3b84d744060cddbf50f.tar.bz2
gentoo-2-02a77074911de0d534e0f3b84d744060cddbf50f.zip
Use the old -doc tarball again to support non-english languages.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'media-gfx/digikam')
-rw-r--r--media-gfx/digikam/ChangeLog5
-rw-r--r--media-gfx/digikam/digikam-0.9.3.ebuild15
-rw-r--r--media-gfx/digikam/files/digest-digikam-0.9.36
3 files changed, 20 insertions, 6 deletions
diff --git a/media-gfx/digikam/ChangeLog b/media-gfx/digikam/ChangeLog
index d99dfd474aba..eca8254dd317 100644
--- a/media-gfx/digikam/ChangeLog
+++ b/media-gfx/digikam/ChangeLog
@@ -1,6 +1,9 @@
# 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.106 2007/12/30 23:16:13 keytoaster Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.107 2007/12/31 00:20:30 keytoaster Exp $
+
+ 31 Dec 2007; Tobias Heinlein <keytoaster@gentoo.org> digikam-0.9.3.ebuild:
+ Use the old -doc tarball again to support non-english languages.
*digikam-0.9.3 (30 Dec 2007)
diff --git a/media-gfx/digikam/digikam-0.9.3.ebuild b/media-gfx/digikam/digikam-0.9.3.ebuild
index 3347d295544c..951d0d8171b9 100644
--- a/media-gfx/digikam/digikam-0.9.3.ebuild
+++ b/media-gfx/digikam/digikam-0.9.3.ebuild
@@ -1,6 +1,6 @@
# 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.ebuild,v 1.1 2007/12/30 23:16:13 keytoaster Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-0.9.3.ebuild,v 1.2 2007/12/31 00:20:30 keytoaster Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -9,7 +9,7 @@ inherit kde eutils
MY_P="${P/_/-}"
S="${WORKDIR}/${MY_P}"
-P_DOC="${PN}-doc-0.9.3-beta3"
+P_DOC="${PN}-doc-0.9.2-beta2"
S_DOC="${WORKDIR}/${P_DOC}"
DESCRIPTION="A digital photo management application for KDE."
@@ -63,6 +63,17 @@ src_unpack(){
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(){
diff --git a/media-gfx/digikam/files/digest-digikam-0.9.3 b/media-gfx/digikam/files/digest-digikam-0.9.3
index 193fd2b2ccf4..341ad684b736 100644
--- a/media-gfx/digikam/files/digest-digikam-0.9.3
+++ b/media-gfx/digikam/files/digest-digikam-0.9.3
@@ -1,6 +1,6 @@
MD5 20497c1a02394505f899ef0757ebefad digikam-0.9.3.tar.bz2 10911417
RMD160 006d535aa56f174de0153e07f66d4aea62fea89d digikam-0.9.3.tar.bz2 10911417
SHA256 1706a5318a4a555b03e9a7cbeba146ecea25cbb9c445baf22c33e362cba74b4b digikam-0.9.3.tar.bz2 10911417
-MD5 13e91b3cea2814ded55ce3def64481e3 digikam-doc-0.9.3-beta3.tar.bz2 15278291
-RMD160 178f7c242cbda81acd09a0ac09c410e9303b0623 digikam-doc-0.9.3-beta3.tar.bz2 15278291
-SHA256 b4a59326f85b3d90c3932ac6621e95a24d52985b03cb3c6330aa72ccc6165798 digikam-doc-0.9.3-beta3.tar.bz2 15278291
+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