Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/mypaint: mypaint-1.0.0.ebuild ChangeLog
Date: Sun, 04 Dec 2011 10:13:51
Message-Id: 20111204101341.F32942004B@flycatcher.gentoo.org
1 hwoarang 11/12/04 10:13:41
2
3 Modified: ChangeLog
4 Added: mypaint-1.0.0.ebuild
5 Log:
6 Version bump. Bug #391867
7
8 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.10 media-gfx/mypaint/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 4 Sep 2011 17:42:33 -0000 1.9
24 +++ ChangeLog 4 Dec 2011 10:13:41 -0000 1.10
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/mypaint
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v 1.9 2011/09/04 17:42:33 phajdan.jr Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v 1.10 2011/12/04 10:13:41 hwoarang Exp $
30 +
31 +*mypaint-1.0.0 (04 Dec 2011)
32 +
33 + 04 Dec 2011; Markos Chandras <hwoarang@g.o> +mypaint-1.0.0.ebuild:
34 + Version bump. Bug #391867
35
36 04 Sep 2011; Pawel Hajdan jr <phajdan.jr@g.o> mypaint-0.9.1.ebuild:
37 x86 stable wrt bug #381095
38
39
40
41 1.1 media-gfx/mypaint/mypaint-1.0.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/mypaint-1.0.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/mypaint-1.0.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mypaint-1.0.0.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/mypaint-1.0.0.ebuild,v 1.1 2011/12/04 10:13:41 hwoarang Exp $
51
52 EAPI=2
53
54 inherit eutils fdo-mime gnome2-utils multilib scons-utils toolchain-funcs
55
56 DESCRIPTION="fast and easy graphics application for digital painters"
57 HOMEPAGE="http://mypaint.intilinux.com/"
58 SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE=""
64
65 RDEPEND="dev-python/pygtk
66 dev-python/numpy
67 >=dev-python/pycairo-1.4
68 >=dev-lang/python-2.4
69 <dev-lang/python-3
70 dev-libs/protobuf[python]"
71 DEPEND="${RDEPEND}
72 >=dev-util/scons-1.0
73 dev-lang/swig"
74
75 src_prepare() {
76 # multilib support
77 sed -i -e "s:lib\/${PN}:$(get_libdir)\/${PN}:" "${S}"/SConstruct || die
78 # respect CXXFLAGS,CXX,LDFLAGS
79 epatch "${FILESDIR}"/${PN}-0.9.1-gentoo.patch
80 }
81
82 src_compile() {
83 #workaround scons bug with locales. Bug #352700
84 export LANG="en_US.UTF-8"
85 tc-export CXX
86 escons || die "scons failed"
87 }
88
89 src_install () {
90 escons prefix="${D}/usr" install || die "scons install failed"
91 newicon pixmaps/${PN}_logo.png ${PN}.png
92 }
93
94 pkg_preinst() {
95 gnome2_icon_savelist
96 }
97
98 pkg_postinst() {
99 fdo-mime_desktop_database_update
100 gnome2_icon_cache_update
101 }
102
103 pkg_postrm() {
104 fdo-mime_desktop_database_update
105 }