summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-05-22 20:19:33 +0000
committerMamoru Komachi <usata@gentoo.org>2004-05-22 20:19:33 +0000
commit66d1afe7c324e4e8a86818003aa6ad43bf675883 (patch)
treeefdfa39ca14c744b0a65831b4e521de8b5e2e2cd /media-gfx/gimageview
parentrepoman unstable dependency fix (Manifest recommit) (diff)
downloadgentoo-2-66d1afe7c324e4e8a86818003aa6ad43bf675883.tar.gz
gentoo-2-66d1afe7c324e4e8a86818003aa6ad43bf675883.tar.bz2
gentoo-2-66d1afe7c324e4e8a86818003aa6ad43bf675883.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')
-rw-r--r--media-gfx/gimageview/ChangeLog11
-rw-r--r--media-gfx/gimageview/Manifest2
-rw-r--r--media-gfx/gimageview/files/digest-gimageview-0.2.251
-rw-r--r--media-gfx/gimageview/gimageview-0.2.25.ebuild66
-rw-r--r--media-gfx/gimageview/metadata.xml9
5 files changed, 89 insertions, 0 deletions
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 <usata@gentoo.org> gimageview-0.2.25.ebuild:
+ Initial import. Thanks to Sadayuki Kobayashi <desperado@s17.xrea.com>,
+ MATSUU Takuto <matsuu@gentoo.org> and Lindsay Holmwood
+ <holmwoodl@iinet.net.au>. Bug # 31683
+
diff --git a/media-gfx/gimageview/Manifest b/media-gfx/gimageview/Manifest
new file mode 100644
index 000000000000..baf3d4b2fd83
--- /dev/null
+++ b/media-gfx/gimageview/Manifest
@@ -0,0 +1,2 @@
+MD5 6b85954a8b00276ddf8592521244cf6e gimageview-0.2.25.ebuild 1431
+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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+<maintainer>
+ <email>usata@gentoo.org</email>
+ <description>It belongs to graphics herd but I maintain the package personally. (graphics herd could take over this package if I'm inactive)</description>
+</maintainer>
+</pkgmetadata>