diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2009-02-13 23:51:32 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2009-02-13 23:51:32 +0000 |
commit | 2cd26b96a19ddf2746f8861a9e0be96d8525dd64 (patch) | |
tree | 1e6bd67c4365ab49d3187ee2eb6e4b517ec78940 /media-gfx/gwenview | |
parent | Mask phonon and webkit useflags of qt meta ebuild, for arches on which those ... (diff) | |
download | gentoo-2-2cd26b96a19ddf2746f8861a9e0be96d8525dd64.tar.gz gentoo-2-2cd26b96a19ddf2746f8861a9e0be96d8525dd64.tar.bz2 gentoo-2-2cd26b96a19ddf2746f8861a9e0be96d8525dd64.zip |
Get rid of invalid aRts dependency. Choose the correct configure switch. Fix desktop file.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-gfx/gwenview')
-rw-r--r-- | media-gfx/gwenview/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/gwenview/files/gwenview-1.4.2-desktop-file.diff | 22 | ||||
-rw-r--r-- | media-gfx/gwenview/gwenview-1.4.2-r2.ebuild | 76 |
3 files changed, 106 insertions, 1 deletions
diff --git a/media-gfx/gwenview/ChangeLog b/media-gfx/gwenview/ChangeLog index f7e51d46e9b4..e45e82b632a1 100644 --- a/media-gfx/gwenview/ChangeLog +++ b/media-gfx/gwenview/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/gwenview # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gwenview/ChangeLog,v 1.62 2009/01/10 11:44:32 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gwenview/ChangeLog,v 1.63 2009/02/13 23:51:32 carlo Exp $ + +*gwenview-1.4.2-r2 (13 Feb 2009) + + 13 Feb 2009; Carsten Lohrke <carlo@gentoo.org> + +files/gwenview-1.4.2-desktop-file.diff, +gwenview-1.4.2-r2.ebuild: + Get rid of invalid aRts dependency. Choose the correct configure switch. Fix + desktop file. *gwenview-1.4.2-r1 (10 Jan 2009) diff --git a/media-gfx/gwenview/files/gwenview-1.4.2-desktop-file.diff b/media-gfx/gwenview/files/gwenview-1.4.2-desktop-file.diff new file mode 100644 index 000000000000..ff3e731d2935 --- /dev/null +++ b/media-gfx/gwenview/files/gwenview-1.4.2-desktop-file.diff @@ -0,0 +1,22 @@ +--- src/desktopfiles/gwenview.desktop.o 2009-02-13 23:50:30.000000000 +0100 ++++ src/desktopfiles/gwenview.desktop 2009-02-13 23:50:54.000000000 +0100 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=Gwenview + Name[hi]=ग्वेनव्यू + Name[ta]=gwen பார்வை +@@ -98,10 +97,10 @@ + Comment[zh_CN]=一个简单的图像查看器 + Comment[zh_TW]=一個簡易的影像檢視器 + Comment[zu]=Umbukisi wesithombe esilula +-Exec=gwenview %u -caption "%c" %i %m ++Exec=gwenview %u -caption "%c" %i + Terminal=false + Icon=gwenview + Type=Application +-Categories=Qt;KDE;Application;Graphics; ++Categories=Qt;KDE;Graphics; + MimeType=image/gif;image/x-xpm;image/x-xbm;image/jpeg;image/x-pcx;image/x-bmp;image/png;image/x-ico;image/x-portable-bitmap;image/x-portable-pixmap;image/x-portable-greymap;image/tiff;image/x-targa; +-DocPath=gwenview/index.html ++X-DocPath=gwenview/index.html diff --git a/media-gfx/gwenview/gwenview-1.4.2-r2.ebuild b/media-gfx/gwenview/gwenview-1.4.2-r2.ebuild new file mode 100644 index 000000000000..f80c912d3793 --- /dev/null +++ b/media-gfx/gwenview/gwenview-1.4.2-r2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gwenview/gwenview-1.4.2-r2.ebuild,v 1.1 2009/02/13 23:51:32 carlo Exp $ + +ARTS_REQUIRED="never" + +EAPI="1" + +inherit kde + +MY_P=${P/_/} +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Gwenview is a fast and easy to use image viewer for KDE." +HOMEPAGE="http://gwenview.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="kipi" + +DEPEND="kipi? ( >=media-plugins/kipi-plugins-0.1.0_beta2 ) + media-gfx/exiv2" +RDEPEND="${DEPEND}" + +need-kde 3.5 + +I18N="${PN}-i18n-${PV}" + +LANGS="ar az bg br ca cs cy da de el en_GB es et fi fo fr ga gl he hi hu +is it ja ka ko lt nb nl nso pa pl pt pt_BR ro ru rw sk sr sr@Latn sv ta +th tr uk xh zh_CN zh_TW zu" + +for X in ${LANGS}; do + SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/${PN}/${I18N}.tar.bz2 )" + IUSE="${IUSE} linguas_${X}" +done + +PATCHES=( + "${FILESDIR}/gwenview-1.4.2-exiv2.patch" + "${FILESDIR}/gwenview-1.4.2-desktop-file.diff" + ) + +src_unpack() { + kde_src_unpack + + if [ -d "${WORKDIR}/${I18N}" ]; then + cd "${WORKDIR}/${I18N}" + for X in ${LANGS}; do + use linguas_${X} || rm -rf "${X}" + done + rm -f configure + fi +} + +src_compile() { + local myconf="$(use_with kipi)" + rm -f "${S}/configure" + + kde_src_compile + + if [ -d "${WORKDIR}/${I18N}" ]; then + KDE_S="${WORKDIR}/${I18N}" \ + kde_src_compile + fi +} + +src_install() { + kde_src_install + + if [ -d "${WORKDIR}/${I18N}" ]; then + KDE_S="${WORKDIR}/${I18N}" \ + kde_src_install + fi +} |