summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2009-03-06 01:16:28 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2009-03-06 01:16:28 +0000
commit98494e02ee7813d8a4d4aea254a8689b9fca6391 (patch)
tree3a1d899b727e0d4f8c9f123f5cc87f7a6d6ac4ad /kde-base
parentStable for HPPA (bug #259857). (diff)
downloadgentoo-2-98494e02ee7813d8a4d4aea254a8689b9fca6391.tar.gz
gentoo-2-98494e02ee7813d8a4d4aea254a8689b9fca6391.tar.bz2
gentoo-2-98494e02ee7813d8a4d4aea254a8689b9fca6391.zip
Bumped gwenview to add a patch sent to the kde packager ml by Aurélien Gâteau to fix gwenview version from 2.2.0 to 2.2.1.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/gwenview/ChangeLog9
-rw-r--r--kde-base/gwenview/files/gwenview-fix-version.diff13
-rw-r--r--kde-base/gwenview/gwenview-4.2.1-r1.ebuild51
3 files changed, 72 insertions, 1 deletions
diff --git a/kde-base/gwenview/ChangeLog b/kde-base/gwenview/ChangeLog
index afc2ffa99eb6..05ffe694cf57 100644
--- a/kde-base/gwenview/ChangeLog
+++ b/kde-base/gwenview/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for kde-base/gwenview
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/ChangeLog,v 1.21 2009/03/04 20:24:41 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/ChangeLog,v 1.22 2009/03/06 01:16:28 jmbsvicetto Exp $
+
+*gwenview-4.2.1-r1 (06 Mar 2009)
+
+ 06 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +files/gwenview-fix-version.diff, +gwenview-4.2.1-r1.ebuild:
+ Bumped gwenview to add a patch sent to the kde packager ml by Aurélien
+ Gâteau to fix gwenview version from 2.2.0 to 2.2.1.
*gwenview-4.2.1 (04 Mar 2009)
diff --git a/kde-base/gwenview/files/gwenview-fix-version.diff b/kde-base/gwenview/files/gwenview-fix-version.diff
new file mode 100644
index 000000000000..8dad9223fce1
--- /dev/null
+++ b/kde-base/gwenview/files/gwenview-fix-version.diff
@@ -0,0 +1,13 @@
+diff --git a/gwenview/app/main.cpp b/gwenview/app/main.cpp
+index 8bdf041..74dd694 100644
+--- a/gwenview/app/main.cpp
++++ b/gwenview/app/main.cpp
+@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
+ "gwenview", /* appname */
+ 0, /* catalogName */
+ ki18n("Gwenview"), /* programName */
+- "2.2.0"); /* version */
++ "2.2.1"); /* version */
+ aboutData.setShortDescription(ki18n("An Image Viewer"));
+ aboutData.setLicense(KAboutData::License_GPL);
+ aboutData.setCopyrightStatement(ki18n("Copyright 2000-2008 Aurélien Gâteau"));
diff --git a/kde-base/gwenview/gwenview-4.2.1-r1.ebuild b/kde-base/gwenview/gwenview-4.2.1-r1.ebuild
new file mode 100644
index 000000000000..bed53affdc37
--- /dev/null
+++ b/kde-base/gwenview/gwenview-4.2.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/gwenview-4.2.1-r1.ebuild,v 1.1 2009/03/06 01:16:28 jmbsvicetto Exp $
+
+EAPI="2"
+
+KMNAME="kdegraphics"
+inherit kde4-meta
+
+DESCRIPTION="KDE image viewer"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug kipi +semantic-desktop"
+RESTRICT="test"
+
+DEPEND="
+ media-gfx/exiv2
+ media-libs/jpeg
+ kipi? ( >=kde-base/libkipi-${PV}:${SLOT} )
+ >=kde-base/kdelibs-${PV}:${SLOT}[semantic-desktop?]
+"
+
+RDEPEND="${DEPEND}"
+
+PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${KDEDIR}/$(get_libdir)/pkgconfig"
+
+# Patch sent to the packagers ml to fix the version.
+PATCHES=( "${FILESDIR}/${PN}-fix-version.diff" )
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ $(cmake-utils_use_with kipi Kipi)"
+
+ if use semantic-desktop; then
+ mycmakeargs="${mycmakeargs}
+ -DGWENVIEW_SEMANTICINFO_BACKEND=Nepomuk"
+ else
+ mycmakeargs="${mycmakeargs}
+ -DGWENVIEW_SEMANTICINFO_BACKEND=None"
+ fi
+
+ kde4-meta_src_configure
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+
+ echo
+ elog "If you want to have svg support, emerge kde-base/svgpart"
+ echo
+}