From 13d682debf4823890fcb709efbd58e178de4ba35 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 2 Jul 2016 15:07:10 +0200 Subject: [PATCH] media-gfx/pinta: add scm exheres --- metadata/repository_mask.conf | 1 + packages/media-gfx/pinta/pinta-1.6.exheres-0 | 29 +--------------- packages/media-gfx/pinta/pinta-scm.exheres-0 | 18 ++++++++++ packages/media-gfx/pinta/pinta.exlib | 36 ++++++++++++++++++++ 4 files changed, 56 insertions(+), 28 deletions(-) create mode 100644 packages/media-gfx/pinta/pinta-scm.exheres-0 create mode 100644 packages/media-gfx/pinta/pinta.exlib diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index e4efcc7..54a23fb 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -4,6 +4,7 @@ games-fps/eduke32[~scm] games-rpg/valyriatear[~scm] games-strategy/freesynd[~scm] + media-gfx/pinta[~scm] x11-apps/terminator[~scm] x11-wm/i3[~scm] ) [[ diff --git a/packages/media-gfx/pinta/pinta-1.6.exheres-0 b/packages/media-gfx/pinta/pinta-1.6.exheres-0 index 459dc1e..4a8343c 100644 --- a/packages/media-gfx/pinta/pinta-1.6.exheres-0 +++ b/packages/media-gfx/pinta/pinta-1.6.exheres-0 @@ -1,17 +1,10 @@ # Copyright 2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 -require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] -require github [ user=PintaProject project=Pinta ] -require gtk-icon-cache freedesktop-desktop freedesktop-mime +require pinta -SUMMARY="Simple Painting for Gtk" -HOMEPAGE="http://pinta-project.com" - -LICENCES="MIT CCPL-Attribution-3.0" SLOT="0" PLATFORMS="~amd64 ~x86" -MYOPTIONS="" DEPENDENCIES=" build: @@ -23,28 +16,8 @@ DEPENDENCIES=" gnome-bindings/gtk-sharp:2 " -BUGS_TO="hasufell@posteo.de" - DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/pinta-1.6-pkg-config.patch "${FILES}"/pinta-1.6-mono-4.patch ) -src_prepare() { - default - edo intltoolize --force --automake - eautoreconf -} - -pkg_postinst() { - freedesktop-mime_pkg_postinst - freedesktop-desktop_pkg_postinst - gtk-icon-cache_pkg_postinst -} - -pkg_postrm() { - freedesktop-mime_pkg_postrm - freedesktop-desktop_pkg_postrm - gtk-icon-cache_pkg_postrm -} - diff --git a/packages/media-gfx/pinta/pinta-scm.exheres-0 b/packages/media-gfx/pinta/pinta-scm.exheres-0 new file mode 100644 index 0000000..ac6aa17 --- /dev/null +++ b/packages/media-gfx/pinta/pinta-scm.exheres-0 @@ -0,0 +1,18 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require pinta + +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + build: + dev-util/intltool + sys-devel/gettext + virtual/pkg-config + build+run: + dev-lang/mono + gnome-bindings/gtk-sharp:2 +" + diff --git a/packages/media-gfx/pinta/pinta.exlib b/packages/media-gfx/pinta/pinta.exlib new file mode 100644 index 0000000..5c01737 --- /dev/null +++ b/packages/media-gfx/pinta/pinta.exlib @@ -0,0 +1,36 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] +require github [ user=PintaProject project=Pinta ] +require gtk-icon-cache freedesktop-desktop freedesktop-mime + +export_exlib_phases src_prepare pkg_postinst pkg_postrm + +SUMMARY="Simple Painting for Gtk" +HOMEPAGE="http://pinta-project.com" + +LICENCES="MIT CCPL-Attribution-3.0" +MYOPTIONS="" + +BUGS_TO="hasufell@posteo.de" + + +pinta_src_prepare() { + default + edo intltoolize --force --automake + eautoreconf +} + +pinta_pkg_postinst() { + freedesktop-mime_pkg_postinst + freedesktop-desktop_pkg_postinst + gtk-icon-cache_pkg_postinst +} + +pinta_pkg_postrm() { + freedesktop-mime_pkg_postrm + freedesktop-desktop_pkg_postrm + gtk-icon-cache_pkg_postrm +} +