summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-12-14 23:31:51 +0800
committerIan Delaney <idella4@gentoo.org>2015-12-14 23:33:29 +0800
commit8cd4265ade754673d1211f7099a7c4c706e80098 (patch)
tree9d3063bfb20aacfab37631b1aa73092999271574 /media-gfx
parentmysql-multilib-r1.eclass: Adjust documentation comments wrt bug 568240 (diff)
parentmedia-gfx/pinta: revbump to 1.6-r2, removed redundant dependencies (diff)
downloadgentoo-8cd4265ade754673d1211f7099a7c4c706e80098.tar.gz
gentoo-8cd4265ade754673d1211f7099a7c4c706e80098.tar.bz2
gentoo-8cd4265ade754673d1211f7099a7c4c706e80098.zip
Merge branch 'pull-469'
Pull request: https://github.com/gentoo/gentoo/pull/469
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/pinta/pinta-1.6-r2.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/media-gfx/pinta/pinta-1.6-r2.ebuild b/media-gfx/pinta/pinta-1.6-r2.ebuild
new file mode 100644
index 000000000000..12e6debbfcac
--- /dev/null
+++ b/media-gfx/pinta/pinta-1.6-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit fdo-mime mono-env gnome2-utils
+
+DESCRIPTION="Simple Painting for Gtk"
+HOMEPAGE="http://pinta-project.com"
+SRC_URI="https://github.com/PintaProject/Pinta/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="MIT CC-BY-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="dev-lang/mono
+ dev-dotnet/mono-addins[gtk]"
+RDEPEND="${COMMON_DEPEND}
+ x11-libs/cairo[X]
+ x11-libs/gdk-pixbuf[X,jpeg,tiff]
+ x11-themes/gnome-icon-theme"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-mono-4.patch"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}