From 75e7c9a6b108f75e0ff72d9c8d62d5d8be9d5f5a Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 31 Dec 2010 16:51:18 +0000 Subject: Ebuild moved from sunrise overlay. Thanks to Arne Babenhauserheide ,Mike Limansky and Mike Frysinger. Bug #197672 (Portage version: 2.1.9.26/cvs/Linux x86_64) --- media-gfx/mypaint/ChangeLog | 12 ++++++ media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch | 26 +++++++++++++ media-gfx/mypaint/metadata.xml | 12 ++++++ media-gfx/mypaint/mypaint-0.9.0.ebuild | 43 ++++++++++++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 media-gfx/mypaint/ChangeLog create mode 100644 media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch create mode 100644 media-gfx/mypaint/metadata.xml create mode 100644 media-gfx/mypaint/mypaint-0.9.0.ebuild (limited to 'media-gfx/mypaint') diff --git a/media-gfx/mypaint/ChangeLog b/media-gfx/mypaint/ChangeLog new file mode 100644 index 000000000000..e36eb82f9ba6 --- /dev/null +++ b/media-gfx/mypaint/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-gfx/mypaint +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v 1.1 2010/12/31 16:51:18 hwoarang Exp $ + +*mypaint-0.9.0 (31 Dec 2010) + + 31 Dec 2010; Markos Chandras +mypaint-0.9.0.ebuild, + +files/mypaint-0.9.0-gentoo.patch, +metadata.xml: + Ebuild moved from sunrise overlay. Thanks to Arne Babenhauserheide (ArneBab) + and Mike Limansky . Thanks to Mike + Frysinger for the scons build system shiny code. Bug #197672 + diff --git a/media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch b/media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch new file mode 100644 index 000000000000..329c8a981e6f --- /dev/null +++ b/media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch @@ -0,0 +1,26 @@ +Index: mypaint-0.9.0/SConstruct +=================================================================== +--- mypaint-0.9.0.orig/SConstruct ++++ mypaint-0.9.0/SConstruct +@@ -64,6 +64,21 @@ if env['debug']: + env.Append(CPPDEFINES='HEAVY_DEBUG') + env.Append(CCFLAGS='-O0', LINKFLAGS='-O0') + ++# Respect cxxflags,ldflags and cxx ++# Code found on ++# http://http://dev.gentoo.org/~vapier/scons-blows.txt ++import SCons.Util ++if os.environ.has_key('CC'): ++ env['CC'] = os.environ['CC'] ++if os.environ.has_key('CFLAGS'): ++ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) ++if os.environ.has_key('CXX'): ++ env['CXX'] = os.environ['CXX'] ++if os.environ.has_key('CXXFLAGS'): ++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) ++if os.environ.has_key('LDFLAGS'): ++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) ++ + Export('env') + module = SConscript('lib/SConscript') + SConscript('brushlib/SConscript') diff --git a/media-gfx/mypaint/metadata.xml b/media-gfx/mypaint/metadata.xml new file mode 100644 index 000000000000..87afd6e36004 --- /dev/null +++ b/media-gfx/mypaint/metadata.xml @@ -0,0 +1,12 @@ + + + +no-herd + +hwoarang@gentoo.org +Markos Chandras + + + + + diff --git a/media-gfx/mypaint/mypaint-0.9.0.ebuild b/media-gfx/mypaint/mypaint-0.9.0.ebuild new file mode 100644 index 000000000000..6603c9e09e58 --- /dev/null +++ b/media-gfx/mypaint/mypaint-0.9.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/mypaint-0.9.0.ebuild,v 1.1 2010/12/31 16:51:18 hwoarang Exp $ + +EAPI=2 + +inherit eutils multilib scons-utils toolchain-funcs + +DESCRIPTION="fast and easy graphics application for digital painters" +HOMEPAGE="http://mypaint.intilinux.com/" +SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/pygtk + dev-python/numpy + >=dev-python/pycairo-1.4 + >=dev-lang/python-2.4 +