diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-05-22 20:19:33 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-05-22 20:19:33 +0000 |
commit | 72ac00a7a4fa041d0f676220c314ca55edbe7555 (patch) | |
tree | d2ece0a187c26dba68a9caa3e3423d7d020bb3cf /media-gfx/gimageview/gimageview-0.2.25.ebuild | |
parent | repoman unstable dependency fix (diff) | |
download | historical-72ac00a7a4fa041d0f676220c314ca55edbe7555.tar.gz historical-72ac00a7a4fa041d0f676220c314ca55edbe7555.tar.bz2 historical-72ac00a7a4fa041d0f676220c314ca55edbe7555.zip |
Initial import. Thanks to Sadayuki Kobayashi <desperado@s17.xrea.com>, MATSUU Takuto <matsuu@gentoo.org> and Lindsay Holmwood <holmwoodl@iinet.net.au>. Bug #31683
Diffstat (limited to 'media-gfx/gimageview/gimageview-0.2.25.ebuild')
-rw-r--r-- | media-gfx/gimageview/gimageview-0.2.25.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/media-gfx/gimageview/gimageview-0.2.25.ebuild b/media-gfx/gimageview/gimageview-0.2.25.ebuild new file mode 100644 index 000000000000..247758ad8fca --- /dev/null +++ b/media-gfx/gimageview/gimageview-0.2.25.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimageview/gimageview-0.2.25.ebuild,v 1.1 2004/05/22 20:19:33 usata Exp $ + +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="~x86 ~ppc" +# mng, xine, and mplayer are local flags +IUSE="gnome nls gtk gtk2 imlib wmf mng svg xine mplayer" + +DEPEND="virtual/x11 + media-libs/libpng + nls? ( sys-devel/gettext ) + wmf? ( >=media-libs/libwmf-0.2.8 ) + mng? ( >=media-libs/libmng-1.0.3 ) + svg? ( >=gnome-base/librsvg-1.0.3 ) + xine? ( >=media-libs/xine-lib-0.9.13-r3 ) + mplayer? ( >=media-video/mplayer-0.92 ) + gtk? ( gtk2? ( =x11-libs/gtk+-2* ) + !gtk2? ( =x11-libs/gtk+-1.2* ) ) + !gtk? ( || ( + imlib? ( media-libs/imlib ) + media-libs/gdk-pixbuf + ) )" + +src_compile() { + local myconf="" + + if [ ! `use gtk2` -a `use imlib` ] ; then + myconf="--disable-gdk-pixbuf" + else + myconf="--disable-imlib" + fi + + # workaround for gtk+-2.4 + sed -i -e "/GTK_DISABLE_DEPRECATED/d" src/dirview2.c || die + + econf \ + `use_enable nls` \ + `use_with wmf libwmf` \ + `use_with mng libmng` \ + `use_with svg librsvg` \ + `use_with xine` \ + `use_enable mplayer` \ + `use_with gtk2` \ + ${myconf} --enable-splash || die + + emake || die +} + +src_install() { + einstall || die + use gnome || rm -r ${D}/usr/share/gnome/ ${D}/usr/share/pixmaps/ +} + +pkg_postinst() { + einfo "" + einfo "If you want to open archived files, you have to emerge" + einfo "'app-arch/rar' and/or 'app-arch/lha'." + einfo "e.g.) # emerge app-arch/rar" + einfo "" +} |