/[gentoo-x86]/media-gfx/mypaint/mypaint-0.9.0.ebuild
Gentoo

Contents of /media-gfx/mypaint/mypaint-0.9.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Jul 24 21:13:45 2012 UTC (2 years, 5 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Stable on amd64 wrt bug #427630. Remove old

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/mypaint-0.9.0.ebuild,v 1.6 2011/03/13 16:06:33 hwoarang Exp $
4
5 EAPI=2
6
7 inherit eutils fdo-mime multilib scons-utils toolchain-funcs
8
9 DESCRIPTION="fast and easy graphics application for digital painters"
10 HOMEPAGE="http://mypaint.intilinux.com/"
11 SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 RDEPEND="dev-python/pygtk
19 dev-python/numpy
20 >=dev-python/pycairo-1.4
21 >=dev-lang/python-2.4
22 <dev-lang/python-3
23 dev-libs/protobuf[python]"
24 DEPEND="${RDEPEND}
25 >=dev-util/scons-1.0
26 dev-lang/swig"
27
28 src_prepare() {
29 # multilib support
30 sed -i -e "s:lib\/${PN}:$(get_libdir)\/${PN}:" "${S}"/SConstruct || die
31 # respect CXXFLAGS,CXX,LDFLAGS
32 epatch "${FILESDIR}"/${P}-gentoo.patch
33 }
34
35 src_compile() {
36 #workaround scons bug with locales. Bug #352700
37 export LANG="en_US.UTF-8"
38 tc-export CXX
39 escons || die "scons failed"
40 }
41
42 src_install () {
43 escons prefix="${D}/usr" install || die "scons install failed"
44 newicon pixmaps/${PN}_logo.png ${PN}.png
45 }
46
47 pkg_postinst() {
48 fdo-mime_desktop_database_update
49 }
50
51 pkg_postrm() {
52 fdo-mime_desktop_database_update
53 }

  ViewVC Help
Powered by ViewVC 1.1.20