summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-01-18 22:23:29 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-01-18 22:23:29 +0000
commit3975377f157da85ea15aa1232bd26f55eb51960a (patch)
treeec6c176daf72e9dcee62b8f333b087e04de63795 /kde-base
parentRevert my previous commit. (diff)
downloadgentoo-2-3975377f157da85ea15aa1232bd26f55eb51960a.tar.gz
gentoo-2-3975377f157da85ea15aa1232bd26f55eb51960a.tar.bz2
gentoo-2-3975377f157da85ea15aa1232bd26f55eb51960a.zip
Added a patch to build with the htmlhandbook USE flag set. Thanks to Bernd Steinhauser.
(Portage version: 2.1.4)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/gwenview/files/gwenview-4.0.0-htmlhandbook.patch7
-rw-r--r--kde-base/gwenview/gwenview-4.0.0.ebuild9
2 files changed, 15 insertions, 1 deletions
diff --git a/kde-base/gwenview/files/gwenview-4.0.0-htmlhandbook.patch b/kde-base/gwenview/files/gwenview-4.0.0-htmlhandbook.patch
new file mode 100644
index 000000000000..fda31c7db2f5
--- /dev/null
+++ b/kde-base/gwenview/files/gwenview-4.0.0-htmlhandbook.patch
@@ -0,0 +1,7 @@
+--- /dev/null 2008-01-17 09:15:59.578007783 +0100
++++ doc/gwenview/CMakeLists.txt 2008-01-18 13:09:41.000000000 +0100
+@@ -0,0 +1,4 @@
++########### install files ###############
++#
++#
++kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en)
diff --git a/kde-base/gwenview/gwenview-4.0.0.ebuild b/kde-base/gwenview/gwenview-4.0.0.ebuild
index 331012139cf7..a7925ec4efd1 100644
--- a/kde-base/gwenview/gwenview-4.0.0.ebuild
+++ b/kde-base/gwenview/gwenview-4.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/gwenview-4.0.0.ebuild,v 1.1 2008/01/17 23:30:33 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/gwenview-4.0.0.ebuild,v 1.2 2008/01/18 22:23:28 ingmar Exp $
EAPI="1"
@@ -15,3 +15,10 @@ DEPEND="
media-gfx/exiv2
media-libs/jpeg"
RDEPEND="${DEPEND}"
+
+src_unpack() {
+ if use htmlhandbook; then
+ PATCHES="${FILESDIR}"/${P}-htmlhandbook.patch
+ fi
+ kde4-meta_src_unpack
+}