diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-03-21 17:03:38 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-03-21 17:03:38 +0000 |
commit | 0c75306f40877692c2deeff10f67742286f23be6 (patch) | |
tree | ef6c0a4eb97ae1d1c863cf0c80a121e837a2dc86 /media-gfx/pinta | |
parent | Mask =www-client/opera-12.15*. (diff) | |
download | gentoo-2-0c75306f40877692c2deeff10f67742286f23be6.tar.gz gentoo-2-0c75306f40877692c2deeff10f67742286f23be6.tar.bz2 gentoo-2-0c75306f40877692c2deeff10f67742286f23be6.zip |
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)
Diffstat (limited to 'media-gfx/pinta')
-rw-r--r-- | media-gfx/pinta/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/pinta/pinta-1.5_pre20121118.ebuild | 59 | ||||
-rw-r--r-- | media-gfx/pinta/pinta-9999.ebuild | 27 |
3 files changed, 84 insertions, 10 deletions
diff --git a/media-gfx/pinta/ChangeLog b/media-gfx/pinta/ChangeLog index 0169f155360e..e9313e43884f 100644 --- a/media-gfx/pinta/ChangeLog +++ b/media-gfx/pinta/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/pinta # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pinta/ChangeLog,v 1.12 2013/02/07 22:27:30 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pinta/ChangeLog,v 1.13 2013/03/21 17:03:38 hasufell Exp $ + +*pinta-1.5_pre20121118 (21 Mar 2013) + + 21 Mar 2013; Julian Ospald <hasufell@gentoo.org> + +pinta-1.5_pre20121118.ebuild, pinta-9999.ebuild: + version bump, update live ebuild, fix po logic, update icon cache 07 Feb 2013; Ulrich Müller <ulm@gentoo.org> pinta-1.3.ebuild, pinta-1.4.ebuild, pinta-9999.ebuild: diff --git a/media-gfx/pinta/pinta-1.5_pre20121118.ebuild b/media-gfx/pinta/pinta-1.5_pre20121118.ebuild new file mode 100644 index 000000000000..d82c9d801448 --- /dev/null +++ b/media-gfx/pinta/pinta-1.5_pre20121118.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pinta/pinta-1.5_pre20121118.ebuild,v 1.1 2013/03/21 17:03:38 hasufell Exp $ + +EAPI=5 + +inherit fdo-mime gnome2-utils mono + +DESCRIPTION="Simple Painting for Gtk" +HOMEPAGE="http://pinta-project.com" +SRC_URI="mirror://github/PintaProject/Pinta/${P/_pre/-preview-}.tar.gz" + +LICENSE="MIT CC-BY-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND="dev-dotnet/atk-sharp:2 + dev-dotnet/gdk-sharp:2 + dev-dotnet/glib-sharp:2 + dev-dotnet/gtk-sharp:2 + dev-dotnet/mono-addins[gtk] + dev-dotnet/pango-sharp:2 + dev-lang/mono" +RDEPEND="${COMMON_DEPEND} + x11-libs/cairo[X] + x11-libs/gdk-pixbuf[X,jpeg,tiff] + x11-themes/gnome-icon-theme" +DEPEND="${COMMON_DEPEND} + dev-util/intltool + virtual/pkgconfig" + +S=${WORKDIR}/${P%_pre*} + +src_prepare() { + local i + if [[ -n "${LINGUAS+x}" ]] ; then + for i in $(cd "${S}"/po ; echo *.po) ; do + if ! has ${i%.po} ${LINGUAS} ; then + sed -i -e "/po\/${i%.po}.po/{N;N;d;}" Pinta.Install.proj || die + fi + done + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} diff --git a/media-gfx/pinta/pinta-9999.ebuild b/media-gfx/pinta/pinta-9999.ebuild index c74ecea91194..f1e3d2b0d13c 100644 --- a/media-gfx/pinta/pinta-9999.ebuild +++ b/media-gfx/pinta/pinta-9999.ebuild @@ -1,21 +1,18 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pinta/pinta-9999.ebuild,v 1.5 2013/02/07 22:27:30 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pinta/pinta-9999.ebuild,v 1.6 2013/03/21 17:03:38 hasufell Exp $ -EAPI=4 +EAPI=5 -inherit autotools fdo-mime git-2 mono +inherit autotools fdo-mime gnome2-utils git-2 mono DESCRIPTION="Simple Painting for Gtk" HOMEPAGE="http://pinta-project.com" -SRC_URI="" - EGIT_REPO_URI="git://github.com/PintaProject/Pinta.git" LICENSE="MIT CC-BY-3.0" SLOT="0" KEYWORDS="" -IUSE="" COMMON_DEPEND="dev-dotnet/atk-sharp:2 dev-dotnet/gdk-sharp:2 @@ -30,20 +27,32 @@ RDEPEND="${COMMON_DEPEND} x11-themes/gnome-icon-theme" DEPEND="${COMMON_DEPEND} dev-util/intltool - virtual/pkgconfig - sys-devel/gettext" + virtual/pkgconfig" src_prepare() { + local i + if [[ -n "${LINGUAS+x}" ]] ; then + for i in $(cd "${S}"/po ; echo *.po) ; do + if ! has ${i%.po} ${LINGUAS} ; then + sed -i -e "/po\/${i%.po}.po/{N;N;d;}" Pinta.Install.proj || die + fi + done + fi eautoreconf - intltoolize --copy --automake --force || die "intltoolize failed" +} + +pkg_preinst() { + gnome2_icon_savelist } pkg_postinst() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } pkg_postrm() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } |