diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-09 16:12:58 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-09 16:12:58 +0000 |
commit | dc87d3fdcf3706d914c0be29ffb254e281fea9d2 (patch) | |
tree | fe31e0a0bd40c61c824f883865523553c606efcc /media-gfx/gimageview/gimageview-0.2.27-r3.ebuild | |
parent | Version bump to latest (diff) | |
download | historical-dc87d3fdcf3706d914c0be29ffb254e281fea9d2.tar.gz historical-dc87d3fdcf3706d914c0be29ffb254e281fea9d2.tar.bz2 historical-dc87d3fdcf3706d914c0be29ffb254e281fea9d2.zip |
temporarily drop USE=xine
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/gimageview/gimageview-0.2.27-r3.ebuild')
-rw-r--r-- | media-gfx/gimageview/gimageview-0.2.27-r3.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild b/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild new file mode 100644 index 000000000000..8ba55df25036 --- /dev/null +++ b/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimageview/gimageview-0.2.27-r3.ebuild,v 1.1 2012/01/09 16:12:58 ssuominen Exp $ + +# TODO: USE xine could be restored if support for xine-lib-1.2.x +# is patched in wrt #397639 + +EAPI=4 +inherit eutils libtool + +DESCRIPTION="Powerful GTK+ based image & movie viewer" +HOMEPAGE="http://gtkmmviewer.sourceforge.net/" +SRC_URI="mirror://sourceforge/gtkmmviewer/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="nls wmf mng svg mplayer" #xine + +RDEPEND="app-arch/bzip2 + x11-libs/gtk+:2 + >=media-libs/libpng-1.2:0 + x11-libs/libXinerama + wmf? ( >=media-libs/libwmf-0.2.8 ) + mng? ( media-libs/libmng ) + svg? ( gnome-base/librsvg ) + mplayer? ( media-video/mplayer )" +#xine? ( media-libs/xine-lib ) +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + dev-util/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-sort_fix.diff \ + "${FILESDIR}"/${P}-gtk12_fix.diff \ + "${FILESDIR}"/${P}-gtk2.patch \ + "${FILESDIR}"/${P}-libpng15.patch + + # desktop-file-validate + sed -i -e '/^Term/s:0:false:' -e '/^Icon/s:.png::' etc/${PN}.desktop.in || die + + elibtoolize +} + +src_configure() { + econf \ + --disable-imlib \ + $(use_enable nls) \ + --enable-splash \ + $(use_enable mplayer) \ + --with-gtk2 \ + $(use_with mng libmng) \ + $(use_with svg librsvg) \ + $(use_with wmf libwmf) \ + --without-xine +} + +src_install() { + einstall \ + desktopdir="${D}"usr/share/applications \ + gimv_docdir="${D}"usr/share/doc/${PF} + + find "${ED}"usr -name '*.la' -exec rm -f {} + +} |