/[gentoo-x86]/media-gfx/pinta/pinta-9999.ebuild
Gentoo

Contents of /media-gfx/pinta/pinta-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Mar 21 17:03:38 2013 UTC (6 years, 10 months ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +18 -9 lines
version bump, update live ebuild, fix po logic, update icon cache

(Portage version: 2.2.0_alpha168/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pinta/pinta-9999.ebuild,v 1.3 2012/05/05 07:00:23 jdhore Exp $
4
5 EAPI=5
6
7 inherit autotools fdo-mime gnome2-utils git-2 mono
8
9 DESCRIPTION="Simple Painting for Gtk"
10 HOMEPAGE="http://pinta-project.com"
11 EGIT_REPO_URI="git://github.com/PintaProject/Pinta.git"
12
13 LICENSE="MIT CC-BY-3.0"
14 SLOT="0"
15 KEYWORDS=""
16
17 COMMON_DEPEND="dev-dotnet/atk-sharp:2
18 dev-dotnet/gdk-sharp:2
19 dev-dotnet/glib-sharp:2
20 dev-dotnet/gtk-sharp:2
21 dev-dotnet/mono-addins[gtk]
22 dev-dotnet/pango-sharp:2
23 dev-lang/mono"
24 RDEPEND="${COMMON_DEPEND}
25 x11-libs/cairo[X]
26 x11-libs/gdk-pixbuf[X,jpeg,tiff]
27 x11-themes/gnome-icon-theme"
28 DEPEND="${COMMON_DEPEND}
29 dev-util/intltool
30 virtual/pkgconfig"
31
32 src_prepare() {
33 local i
34 if [[ -n "${LINGUAS+x}" ]] ; then
35 for i in $(cd "${S}"/po ; echo *.po) ; do
36 if ! has ${i%.po} ${LINGUAS} ; then
37 sed -i -e "/po\/${i%.po}.po/{N;N;d;}" Pinta.Install.proj || die
38 fi
39 done
40 fi
41 eautoreconf
42 }
43
44 pkg_preinst() {
45 gnome2_icon_savelist
46 }
47
48 pkg_postinst() {
49 fdo-mime_desktop_database_update
50 fdo-mime_mime_database_update
51 gnome2_icon_cache_update
52 }
53
54 pkg_postrm() {
55 fdo-mime_desktop_database_update
56 fdo-mime_mime_database_update
57 gnome2_icon_cache_update
58 }

  ViewVC Help
Powered by ViewVC 1.1.20