summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2014-03-19 16:24:25 +0000
committerTom Wijsman <tomwij@gentoo.org>2014-03-19 16:24:25 +0000
commit84e6bf99dc7e5b24a613f18f9af349dbb93dd078 (patch)
tree7eb57f0b312e9f426ca9a7c6a529df4593a1e85a
parentTemporarily use ld.bfd for ia64 wrt #504700; note: waiting for upstream to me... (diff)
downloadgentoo-2-84e6bf99dc7e5b24a613f18f9af349dbb93dd078.tar.gz
gentoo-2-84e6bf99dc7e5b24a613f18f9af349dbb93dd078.tar.bz2
gentoo-2-84e6bf99dc7e5b24a613f18f9af349dbb93dd078.zip
New ebuild for media-gfx/mate-image-viewer, the MATE image viewer; imported from the mate-overlay, reviewed and adjusted.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
-rw-r--r--media-gfx/mate-image-viewer/ChangeLog10
-rw-r--r--media-gfx/mate-image-viewer/mate-image-viewer-1.6.2.ebuild79
-rw-r--r--media-gfx/mate-image-viewer/metadata.xml8
3 files changed, 97 insertions, 0 deletions
diff --git a/media-gfx/mate-image-viewer/ChangeLog b/media-gfx/mate-image-viewer/ChangeLog
new file mode 100644
index 000000000000..e0d429d31012
--- /dev/null
+++ b/media-gfx/mate-image-viewer/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/mate-image-viewer
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mate-image-viewer/ChangeLog,v 1.1 2014/03/19 16:24:25 tomwij Exp $
+
+*mate-image-viewer-1.6.2 (19 Mar 2014)
+
+ 19 Mar 2014; Tom Wijsman <TomWij@gentoo.org> +mate-image-viewer-1.6.2.ebuild,
+ +metadata.xml:
+ New ebuild for media-gfx/mate-image-viewer, the MATE image viewer; imported
+ from the mate-overlay, reviewed and adjusted.
diff --git a/media-gfx/mate-image-viewer/mate-image-viewer-1.6.2.ebuild b/media-gfx/mate-image-viewer/mate-image-viewer-1.6.2.ebuild
new file mode 100644
index 000000000000..8be6295b690b
--- /dev/null
+++ b/media-gfx/mate-image-viewer/mate-image-viewer-1.6.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mate-image-viewer/mate-image-viewer-1.6.2.ebuild,v 1.1 2014/03/19 16:24:25 tomwij Exp $
+
+EAPI="5"
+
+GCONF_DEBUG="yes"
+PYTHON_COMPAT=( python2_{6,7} )
+
+inherit gnome2 python-single-r1 versionator
+
+MATE_BRANCH="$(get_version_component_range 1-2)"
+
+SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
+DESCRIPTION="The MATE image viewer"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="X dbus exif jpeg lcms python svg tiff xmp"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ dev-libs/atk:0
+ >=dev-libs/glib-2.25.9:2
+ >=dev-libs/libxml2-2:2
+ >=mate-base/mate-desktop-1.6:0
+ sys-libs/zlib:0
+ x11-libs/cairo:0
+ >=x11-libs/gdk-pixbuf-2.4:2[jpeg?,tiff?]
+ >=x11-libs/gtk+-2.18:2
+ x11-libs/libX11:0
+ >=x11-misc/shared-mime-info-0.20:0
+ >=x11-themes/mate-icon-theme-1.6:0
+ virtual/libintl:0
+ dbus? ( >=dev-libs/dbus-glib-0.71:0 )
+ exif? (
+ >=media-libs/libexif-0.6.14:0
+ virtual/jpeg:0 )
+ jpeg? ( virtual/jpeg:0 )
+ lcms? ( media-libs/lcms:0 )
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/pygobject-2.15.1:2[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.13:2[${PYTHON_USEDEP}] )
+ svg? ( >=gnome-base/librsvg-2.26:2 )
+ xmp? ( >=media-libs/exempi-1.99.5:2 )"
+
+DEPEND="${RDEPEND}
+ >=app-text/mate-doc-utils-1.6:0
+ >=dev-util/intltool-0.40:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+src_prepare() {
+ # Fix ui translations, fixed upstream so next release should be ok.
+ sed -e 's|(PACKAGE|(GETTEXT_PACKAGE|g' \
+ -i src/main.c || die
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable python) \
+ $(use_with jpeg libjpeg) \
+ $(use_with exif libexif) \
+ $(use_with dbus) \
+ $(use_with lcms cms) \
+ $(use_with xmp) \
+ $(use_with svg librsvg) \
+ $(use_with X x) \
+ --without-cms
+}
+
+DOCS="AUTHORS ChangeLog HACKING NEWS README THANKS TODO"
diff --git a/media-gfx/mate-image-viewer/metadata.xml b/media-gfx/mate-image-viewer/metadata.xml
new file mode 100644
index 000000000000..dca1781cb290
--- /dev/null
+++ b/media-gfx/mate-image-viewer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>TomWij@gentoo.org</email>
+ <name>Tom Wijsman</name>
+ </maintainer>
+</pkgmetadata>