From 72ac00a7a4fa041d0f676220c314ca55edbe7555 Mon Sep 17 00:00:00 2001 From: Mamoru Komachi Date: Sat, 22 May 2004 20:19:33 +0000 Subject: Initial import. Thanks to Sadayuki Kobayashi , MATSUU Takuto and Lindsay Holmwood . Bug #31683 --- media-gfx/gimageview/ChangeLog | 11 ++++ media-gfx/gimageview/Manifest | 4 ++ .../gimageview/files/digest-gimageview-0.2.25 | 1 + media-gfx/gimageview/gimageview-0.2.25.ebuild | 66 ++++++++++++++++++++++ media-gfx/gimageview/metadata.xml | 9 +++ 5 files changed, 91 insertions(+) create mode 100644 media-gfx/gimageview/ChangeLog create mode 100644 media-gfx/gimageview/Manifest create mode 100644 media-gfx/gimageview/files/digest-gimageview-0.2.25 create mode 100644 media-gfx/gimageview/gimageview-0.2.25.ebuild create mode 100644 media-gfx/gimageview/metadata.xml (limited to 'media-gfx/gimageview') diff --git a/media-gfx/gimageview/ChangeLog b/media-gfx/gimageview/ChangeLog new file mode 100644 index 000000000000..a44a95bb4bda --- /dev/null +++ b/media-gfx/gimageview/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-gfx/gimageview +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimageview/ChangeLog,v 1.1 2004/05/22 20:19:33 usata Exp $ + +*gimageview-0.2.25 (23 May 2004) + + 23 May 2004; Mamoru KOMACHI gimageview-0.2.25.ebuild: + Initial import. Thanks to Sadayuki Kobayashi , + MATSUU Takuto and Lindsay Holmwood + . Bug # 31683 + diff --git a/media-gfx/gimageview/Manifest b/media-gfx/gimageview/Manifest new file mode 100644 index 000000000000..8f12c6f4345f --- /dev/null +++ b/media-gfx/gimageview/Manifest @@ -0,0 +1,4 @@ +MD5 7fc6975f37aa2159f3d7f0155ee1943e ChangeLog 501 +MD5 4368b20da8cb79a90eb16111f691f548 metadata.xml 379 +MD5 0916c139389f3cc018b7764edf728deb gimageview-0.2.25.ebuild 1705 +MD5 36f65a43da5f087e4bbc63ff7f8adad0 files/digest-gimageview-0.2.25 70 diff --git a/media-gfx/gimageview/files/digest-gimageview-0.2.25 b/media-gfx/gimageview/files/digest-gimageview-0.2.25 new file mode 100644 index 000000000000..aa2b8c4c28f5 --- /dev/null +++ b/media-gfx/gimageview/files/digest-gimageview-0.2.25 @@ -0,0 +1 @@ +MD5 82874cd6fecdc9833ce3f5745b4bd788 gimageview-0.2.25.tar.gz 1342347 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 "" +} diff --git a/media-gfx/gimageview/metadata.xml b/media-gfx/gimageview/metadata.xml new file mode 100644 index 000000000000..20cba43936f4 --- /dev/null +++ b/media-gfx/gimageview/metadata.xml @@ -0,0 +1,9 @@ + + + +graphics + + usata@gentoo.org + It belongs to graphics herd but I maintain the package personally. (graphics herd could take over this package if I'm inactive) + + -- cgit v1.2.3-65-gdbad