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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jul 24 21:13:45 2012 UTC (2 years, 1 month ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +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-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/mypaint-1.0.0.ebuild,v 1.3 2012/05/05 07:00:23 jdhore Exp $
4
5 EAPI=2
6
7 inherit eutils fdo-mime gnome2-utils 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 virtual/pkgconfig"
28
29 src_prepare() {
30 # multilib support
31 sed -i -e "s:lib\/${PN}:$(get_libdir)\/${PN}:" "${S}"/SConstruct || die
32 # respect CXXFLAGS,CXX,LDFLAGS
33 epatch "${FILESDIR}"/${PN}-0.9.1-gentoo.patch
34 }
35
36 src_compile() {
37 #workaround scons bug with locales. Bug #352700
38 export LANG="en_US.UTF-8"
39 tc-export CXX
40 escons || die "scons failed"
41 }
42
43 src_install () {
44 escons prefix="${D}/usr" install || die "scons install failed"
45 newicon pixmaps/${PN}_logo.png ${PN}.png
46 }
47
48 pkg_preinst() {
49 gnome2_icon_savelist
50 }
51
52 pkg_postinst() {
53 fdo-mime_desktop_database_update
54 gnome2_icon_cache_update
55 }
56
57 pkg_postrm() {
58 fdo-mime_desktop_database_update
59 }

  ViewVC Help
Powered by ViewVC 1.1.20