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

Contents of /media-gfx/pinta/pinta-1.5_pre20121118.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Mar 21 17:03:38 2013 UTC (6 years, 10 months ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
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-1.3.ebuild,v 1.4 2012/06/08 11:46:57 phajdan.jr Exp $
4
5 EAPI=5
6
7 inherit fdo-mime gnome2-utils mono
8
9 DESCRIPTION="Simple Painting for Gtk"
10 HOMEPAGE="http://pinta-project.com"
11 SRC_URI="mirror://github/PintaProject/Pinta/${P/_pre/-preview-}.tar.gz"
12
13 LICENSE="MIT CC-BY-3.0"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
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 S=${WORKDIR}/${P%_pre*}
33
34 src_prepare() {
35 local i
36 if [[ -n "${LINGUAS+x}" ]] ; then
37 for i in $(cd "${S}"/po ; echo *.po) ; do
38 if ! has ${i%.po} ${LINGUAS} ; then
39 sed -i -e "/po\/${i%.po}.po/{N;N;d;}" Pinta.Install.proj || die
40 fi
41 done
42 fi
43 }
44
45 pkg_preinst() {
46 gnome2_icon_savelist
47 }
48
49 pkg_postinst() {
50 fdo-mime_desktop_database_update
51 fdo-mime_mime_database_update
52 gnome2_icon_cache_update
53 }
54
55 pkg_postrm() {
56 fdo-mime_desktop_database_update
57 fdo-mime_mime_database_update
58 gnome2_icon_cache_update
59 }

  ViewVC Help
Powered by ViewVC 1.1.20