summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2012-02-12 15:47:41 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2012-02-12 15:47:41 +0000
commitc136d3524169fca0074887d4751a730f86c1b676 (patch)
tree2716ebf189e4eac4829d11bbc47d8538b8404ba6 /media-gfx/digikam
parentalpha/ia64/sparc stable wrt #398991 (diff)
downloadgentoo-2-c136d3524169fca0074887d4751a730f86c1b676.tar.gz
gentoo-2-c136d3524169fca0074887d4751a730f86c1b676.tar.bz2
gentoo-2-c136d3524169fca0074887d4751a730f86c1b676.zip
Install handbooks, bug 338757
(Portage version: 2.1.10.45/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/digikam')
-rw-r--r--media-gfx/digikam/ChangeLog5
-rw-r--r--media-gfx/digikam/digikam-2.5.0.ebuild16
2 files changed, 15 insertions, 6 deletions
diff --git a/media-gfx/digikam/ChangeLog b/media-gfx/digikam/ChangeLog
index 87850066ac2a..cafd041ec902 100644
--- a/media-gfx/digikam/ChangeLog
+++ b/media-gfx/digikam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/digikam
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.210 2012/01/16 23:56:54 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/ChangeLog,v 1.211 2012/02/12 15:47:41 dilfridge Exp $
+
+ 12 Feb 2012; Andreas K. Huettel <dilfridge@gentoo.org> digikam-2.5.0.ebuild:
+ Install handbooks, bug 338757
16 Jan 2012; Agostino Sarubbo <ago@gentoo.org> digikam-2.4.1.ebuild:
Stable for amd64, wrt bug #396359
diff --git a/media-gfx/digikam/digikam-2.5.0.ebuild b/media-gfx/digikam/digikam-2.5.0.ebuild
index 2dfdbbc31c60..54091bd8ad4d 100644
--- a/media-gfx/digikam/digikam-2.5.0.ebuild
+++ b/media-gfx/digikam/digikam-2.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-2.5.0.ebuild,v 1.1 2012/01/03 16:30:11 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-2.5.0.ebuild,v 1.2 2012/02/12 15:47:41 dilfridge Exp $
EAPI=4
@@ -12,6 +12,8 @@ KDE_HANDBOOK="optional"
CMAKE_MIN_VERSION="2.8"
KDE_MINIMAL="4.7"
+KDE_DOC_DIRS="doc-digikam doc-showfoto"
+
inherit kde4-base
MY_P="${PN}-${PV/_/-}"
@@ -77,9 +79,12 @@ src_prepare() {
rm -rf "${WORKDIR}/${MY_P}/extra" || die
# prepare the handbook
- mv "${WORKDIR}/${MY_P}/doc/${PN}" doc || die
- echo "add_subdirectory( digikam )" > doc/CMakeLists.txt
- echo "add_subdirectory( showfoto )" >> doc/CMakeLists.txt
+ mkdir doc-digikam doc-showfoto || die
+ echo "add_subdirectory( en )" > doc-digikam/CMakeLists.txt || die
+ mv "${WORKDIR}/${MY_P}/doc/${PN}/digikam" doc-digikam/en || die
+ echo "add_subdirectory( en )" > doc-showfoto/CMakeLists.txt || die
+ mv "${WORKDIR}/${MY_P}/doc/${PN}/showfoto" doc-showfoto/en || die
+ sed -i -e 's:../digikam/:../../doc-digikam/en/:g' doc-showfoto/en/index.docbook || die
# prepare the translations
mv "${WORKDIR}/${MY_P}/po" po || die
@@ -92,7 +97,8 @@ src_prepare() {
kde4-base_src_prepare
if use handbook; then
- echo "add_subdirectory( doc )" >> CMakeLists.txt
+ echo "add_subdirectory( doc-digikam )" >> CMakeLists.txt
+ echo "add_subdirectory( doc-showfoto )" >> CMakeLists.txt
fi
}