diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2007-12-22 21:07:22 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2007-12-22 21:07:22 +0000 |
commit | 9350581425301f7542ced3b5e4c42d251390a9be (patch) | |
tree | b595da644e0b574ad6619b8b4e92965fc780eeee /kde-base/kdegraphics | |
parent | bump to 2.20.2 (diff) | |
download | gentoo-2-9350581425301f7542ced3b5e4c42d251390a9be.tar.gz gentoo-2-9350581425301f7542ced3b5e4c42d251390a9be.tar.bz2 gentoo-2-9350581425301f7542ced3b5e4c42d251390a9be.zip |
Do not install kmrml as its runtime requirements are not met and apparently no one is using it anyways.
(Portage version: 2.1.3.19)
Diffstat (limited to 'kde-base/kdegraphics')
-rw-r--r-- | kde-base/kdegraphics/ChangeLog | 9 | ||||
-rw-r--r-- | kde-base/kdegraphics/files/digest-kdegraphics-3.5.8-r2 | 3 | ||||
-rw-r--r-- | kde-base/kdegraphics/kdegraphics-3.5.8-r2.ebuild | 68 |
3 files changed, 79 insertions, 1 deletions
diff --git a/kde-base/kdegraphics/ChangeLog b/kde-base/kdegraphics/ChangeLog index 47d759ae0390..e1c7fa3add08 100644 --- a/kde-base/kdegraphics/ChangeLog +++ b/kde-base/kdegraphics/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for kde-base/kdegraphics # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/ChangeLog,v 1.324 2007/12/11 10:30:51 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/ChangeLog,v 1.325 2007/12/22 21:07:21 carlo Exp $ + +*kdegraphics-3.5.8-r2 (22 Dec 2007) + + 22 Dec 2007; Carsten Lohrke <carlo@gentoo.org> + +kdegraphics-3.5.8-r2.ebuild: + Do not install kmrml as its runtime requirements are not met and apparently + no one is using it anyways. 11 Dec 2007; Alexis Ballier <aballier@gentoo.org> kdegraphics-3.5.5.ebuild, kdegraphics-3.5.5-r1.ebuild, diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-3.5.8-r2 b/kde-base/kdegraphics/files/digest-kdegraphics-3.5.8-r2 new file mode 100644 index 000000000000..3bbc87669000 --- /dev/null +++ b/kde-base/kdegraphics/files/digest-kdegraphics-3.5.8-r2 @@ -0,0 +1,3 @@ +MD5 a3a31fc0e5b791ef330dd0627095d90f kdegraphics-3.5.8.tar.bz2 7444011 +RMD160 8e77f76a6edcf6a1c20b4d76fcc5c79fe196599b kdegraphics-3.5.8.tar.bz2 7444011 +SHA256 4d041d892f17ef90e0029ef14925980cf6a637d7a9971fba5835a5620ff3e155 kdegraphics-3.5.8.tar.bz2 7444011 diff --git a/kde-base/kdegraphics/kdegraphics-3.5.8-r2.ebuild b/kde-base/kdegraphics/kdegraphics-3.5.8-r2.ebuild new file mode 100644 index 000000000000..6c1a8dbfd1f1 --- /dev/null +++ b/kde-base/kdegraphics/kdegraphics-3.5.8-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.5.8-r2.ebuild,v 1.1 2007/12/22 21:07:21 carlo Exp $ + +inherit kde-dist eutils + +DESCRIPTION="KDE graphics-related apps" + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="gphoto2 imlib openexr opengl pdf povray scanner tetex" + +DEPEND="~kde-base/kdebase-${PV} + >=media-libs/freetype-2 + media-libs/fontconfig + gphoto2? ( media-libs/libgphoto2 ) + scanner? ( media-gfx/sane-backends ) + media-libs/libart_lgpl + media-libs/lcms + dev-libs/fribidi + imlib? ( media-libs/imlib ) + virtual/ghostscript + media-libs/tiff + openexr? ( >=media-libs/openexr-1.2 ) + povray? ( media-gfx/povray + virtual/opengl ) + pdf? ( >=app-text/poppler-0.5.1 + >=app-text/poppler-bindings-0.5.1 )" + +RDEPEND="${DEPEND} + tetex? ( + || ( >=app-text/tetex-2 + app-text/ptex + app-text/dvipdfm ) )" + +PATCHES="${FILESDIR}/post-3.5.8-kdegraphics-kpdf.diff" + +pkg_setup() { + kde_pkg_setup + for ghostscript in app-text/ghostscript-{gnu,esp,afpl}; do + if has_version ${ghostscript} && ! built_with_use ${ghostscript} X; then + eerror "This package requires ${ghostscript} compiled with X11 support." + eerror "Please reemerge ${ghostscript} with USE=\"X\"." + die "Please reemerge ${ghostscript} with USE=\"X\"." + fi + done + if use pdf && ! built_with_use app-text/poppler-bindings qt3; then + eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support." + eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"." + die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"." + fi +} + +src_compile() { + local myconf="$(use_with openexr) $(use_with pdf poppler) + $(use_with gphoto2 kamera)" + + DO_NOT_COMPILE="kmrml" + use imlib || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kuickshow" + use scanner || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kooka libkscan" + use povray || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kpovmodeler" + use pdf || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kpdf" + + # Fix the desktop file. + sed -i -e "s:PDFViewer;:Viewer;:" "${S}/kpdf/shell/kpdf.desktop" || die "sed failed" + + rm -f "${S}/configure" # ask rebuilding + kde_src_compile +} |