commit:     b4e7555e79ab0d881c782d674d2cb5c52caabe4d
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Tue Aug  4 00:50:26 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 17:44:47 2015 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=b4e7555e

new version, will work when dependencies will be fixed

 media-gfx/pinta/metadata.xml     | 20 +++++++++++
 media-gfx/pinta/pinta-1.6.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/media-gfx/pinta/metadata.xml b/media-gfx/pinta/metadata.xml
new file mode 100644
index 0000000..2f33178
--- /dev/null
+++ b/media-gfx/pinta/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer>
+               <email>[email protected]</email>
+       </maintainer>
+       <upstream>
+               <maintainer status="active">
+                       <email>[email protected]</email>
+               </maintainer>
+               
<changelog>https://github.com/PintaProject/Pinta/commits/release-1.6</changelog>
+               <doc lang="en">http://pinta-project.com/HowTo.ashx</doc>
+               <bugs-to>https://bugs.launchpad.net/pinta/+filebug</bugs-to>
+       </upstream>
+       <longdescription lang="en">
+               Pinta is a free, open source drawing/editing program modeled 
after 
+               Paint.NET. Its goal is to provide users with a simple yet 
powerful
+               way to draw and manipulate images on Linux, Mac, and Windows.
+       </longdescription>
+</pkgmetadata>

diff --git a/media-gfx/pinta/pinta-1.6.ebuild b/media-gfx/pinta/pinta-1.6.ebuild
new file mode 100644
index 0000000..e4f8e9b
--- /dev/null
+++ b/media-gfx/pinta/pinta-1.6.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: 
/var/cvsroot/gentoo-x86/media-gfx/pinta/pinta-1.5_pre20121118.ebuild,v 1.1 
2013/03/21 17:03:38 hasufell Exp $
+
+EAPI=5
+
+inherit autotools fdo-mime gnome2-utils mono
+
+DESCRIPTION="Simple Painting for Gtk"
+HOMEPAGE="http://pinta-project.com";
+SRC_URI="https://github.com/PintaProject/Pinta/archive/${PV}.tar.gz";
+
+LICENSE="MIT CC-BY-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND=">=dev-lang/mono-4.0.2
+       =dev-dotnet/gtk-sharp-2.12.21
+       >=dev-dotnet/mono-addins-1.0[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"
+
+S=${WORKDIR}/Pinta-${PV}
+
+src_prepare() {
+       local i
+       if [[ -n "${LINGUAS+x}" ]] ; then
+               for i in $(cd "${S}"/po ; echo *.po) ; do
+                       if ! has ${i%.po} ${LINGUAS} ; then
+                               sed -i -e "/po\/${i%.po}.po/{N;N;d;}" 
Pinta.Install.proj || die
+                       fi
+               done
+       fi
+#      ./autogen.sh || die "Autogen script failed"
+       eautoreconf
+       
+       oldstring=Version=2.0.0.0
+       newstring=Version=4.0.0.0
+       einfo "updating '$oldstring'->'$newstring'"
+       find ${S} -iname "*.csproj" -print | xargs sed -i 
s@${oldstring}@${newstring}@g || die
+       
+       oldstring='ToolsVersion="3.5"'
+       newstring='ToolsVersion="4.0"'
+       einfo "updating '$oldstring'->'$newstring'"
+       find ${S} -iname "*.proj" -print | xargs sed -i 
s@${oldstring}@${newstring}@g || die
+}
+
+#src_compile(){
+#      autotools_src_compile
+#}
+
+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
+}

Reply via email to