summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdegraphics/kdegraphics-3.5.1-r2.ebuild')
-rw-r--r--kde-base/kdegraphics/kdegraphics-3.5.1-r2.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/kde-base/kdegraphics/kdegraphics-3.5.1-r2.ebuild b/kde-base/kdegraphics/kdegraphics-3.5.1-r2.ebuild
index 7b4ceb103a96..18dd34140a3a 100644
--- a/kde-base/kdegraphics/kdegraphics-3.5.1-r2.ebuild
+++ b/kde-base/kdegraphics/kdegraphics-3.5.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.5.1-r2.ebuild,v 1.5 2006/02/15 22:23:37 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.5.1-r2.ebuild,v 1.6 2006/03/05 19:27:14 flameeyes Exp $
inherit kde-dist eutils
@@ -37,7 +37,8 @@ DEPEND="${DEPEND}
dev-util/pkgconfig"
SRC_URI="${SRC_URI}
- mirror://gentoo/kpdf-${PV}-poppler-2.patch.bz2"
+ mirror://gentoo/kpdf-${PV}-poppler-2.patch.bz2
+ mirror://gentoo/kpdf-${PV}-poppler-0.5.1-bis.patch.bz2"
PATCHES="${FILESDIR}/kpdf-3.5.1-saveas.patch
${DISTDIR}/kpdf-${PV}-poppler-2.patch.bz2"
@@ -55,6 +56,14 @@ pkg_setup() {
fi
}
+src_unpack() {
+ kde_src_unpack
+
+ # Lovely when libraries changes API in micro releases.
+ has_version ">=app-text/poppler-0.5.1" && \
+ epatch "${DISTDIR}/kpdf-${PV}-poppler-0.5.1-bis.patch.bz2"
+}
+
src_compile() {
local myconf="$(use_with openexr) $(use_with pdf poppler)
$(use_with gphoto2 kamera)"