diff options
author | 2008-04-03 21:45:25 +0000 | |
---|---|---|
committer | 2008-04-03 21:45:25 +0000 | |
commit | c2cba83dd9925f06c4e5387e4dd5d357170b43e2 (patch) | |
tree | b98c413d40db0482cb50d39c3b348a3a54a73108 /kde-base/okular | |
parent | Version bump to KDE 4.0.3. This is still not intended for mainstream so DO NO... (diff) | |
download | gentoo-2-c2cba83dd9925f06c4e5387e4dd5d357170b43e2.tar.gz gentoo-2-c2cba83dd9925f06c4e5387e4dd5d357170b43e2.tar.bz2 gentoo-2-c2cba83dd9925f06c4e5387e4dd5d357170b43e2.zip |
Version bump to KDE 4.0.3. This is still not intended for mainstream so DO NOT KEYWORD IT without talking to the KDE herd first.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-base/okular')
-rw-r--r-- | kde-base/okular/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/okular/okular-4.0.3.ebuild | 51 |
2 files changed, 58 insertions, 1 deletions
diff --git a/kde-base/okular/ChangeLog b/kde-base/okular/ChangeLog index 544996f4c96b..6bd108153c75 100644 --- a/kde-base/okular/ChangeLog +++ b/kde-base/okular/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/okular # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/okular/ChangeLog,v 1.7 2008/03/22 13:42:01 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/okular/ChangeLog,v 1.8 2008/04/03 21:45:25 philantrop Exp $ + +*okular-4.0.3 (03 Apr 2008) + + 03 Apr 2008; Wulf C. Krueger <philantrop@gentoo.org> +okular-4.0.3.ebuild: + Version bump to KDE 4.0.3. This is still not intended for mainstream so DO + NOT KEYWORD IT without talking to the KDE herd first. 22 Mar 2008; Ingmar Vanhassel <ingmar@gentoo.org> +files/kdegraphics-4.0.2-system-libspectre.patch, okular-4.0.2.ebuild: diff --git a/kde-base/okular/okular-4.0.3.ebuild b/kde-base/okular/okular-4.0.3.ebuild new file mode 100644 index 000000000000..fb19d5b3aa6a --- /dev/null +++ b/kde-base/okular/okular-4.0.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/okular/okular-4.0.3.ebuild,v 1.1 2008/04/03 21:45:25 philantrop Exp $ + +EAPI="1" + +KMNAME=kdegraphics +inherit kde4-meta + +DESCRIPTION="Okular is an universal document viewer based on KPDF for KDE 4." +KEYWORDS="~amd64 ~x86" +IUSE="chm debug djvu htmlhandbook jpeg pdf tiff" + +RDEPEND=" + >=app-text/libspectre-0.2 + media-libs/freetype + kde-base/qimageblitz + chm? ( app-doc/chmlib ) + djvu? ( >=app-text/djvu-3.5.17 ) + jpeg? ( media-libs/jpeg ) + pdf? ( >=app-text/poppler-0.7 + >=app-text/poppler-bindings-0.7 ) + tiff? ( media-libs/tiff )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +PATCHES="${FILESDIR}/${KMNAME}-4.0.2-system-libspectre.patch" + +pkg_setup() { + if use pdf; then + KDE4_BUILT_WITH_USE_CHECK="${KDE4_BUILT_WITH_USE_CHECK} + app-text/poppler-bindings qt4" + fi + kde4-meta_pkg_setup +} + +src_compile() { + # remove internal copy of libspectre + rm -r "${S}"/okular/generators/spectre/libspectre || \ + die "Failed to remove internal copy of libspectre." + + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with chm CHM) + $(cmake-utils_use_with djvu DjVuLibre) + $(cmake-utils_use_with jpeg JPEG) + $(cmake-utils_use_with pdf PopplerQt4) + $(cmake-utils_use_with pdf Poppler) + $(cmake-utils_use_with tiff TIFF)" + + kde4-meta_src_compile +} |