media-gfx/pinta: add scm exheres

This commit is contained in:
Julian Ospald 2016-07-02 15:07:10 +02:00
parent 8d157f6f5f
commit 13d682debf
4 changed files with 56 additions and 28 deletions

View File

@ -4,6 +4,7 @@
games-fps/eduke32[~scm] games-fps/eduke32[~scm]
games-rpg/valyriatear[~scm] games-rpg/valyriatear[~scm]
games-strategy/freesynd[~scm] games-strategy/freesynd[~scm]
media-gfx/pinta[~scm]
x11-apps/terminator[~scm] x11-apps/terminator[~scm]
x11-wm/i3[~scm] x11-wm/i3[~scm]
) [[ ) [[

View File

@ -1,17 +1,10 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] require pinta
require github [ user=PintaProject project=Pinta ]
require gtk-icon-cache freedesktop-desktop freedesktop-mime
SUMMARY="Simple Painting for Gtk"
HOMEPAGE="http://pinta-project.com"
LICENCES="MIT CCPL-Attribution-3.0"
SLOT="0" SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES=" DEPENDENCIES="
build: build:
@ -23,28 +16,8 @@ DEPENDENCIES="
gnome-bindings/gtk-sharp:2 gnome-bindings/gtk-sharp:2
" "
BUGS_TO="hasufell@posteo.de"
DEFAULT_SRC_PREPARE_PATCHES=( DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/pinta-1.6-pkg-config.patch "${FILES}"/pinta-1.6-pkg-config.patch
"${FILES}"/pinta-1.6-mono-4.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
}

View File

@ -0,0 +1,18 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# 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
"

View File

@ -0,0 +1,36 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# 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
}