media-gfx/pinta: add scm exheres
This commit is contained in:
parent
8d157f6f5f
commit
13d682debf
@ -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]
|
||||
) [[
|
||||
|
@ -1,17 +1,10 @@
|
||||
# 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
|
||||
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
|
||||
}
|
||||
|
||||
|
18
packages/media-gfx/pinta/pinta-scm.exheres-0
Normal file
18
packages/media-gfx/pinta/pinta-scm.exheres-0
Normal 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
|
||||
"
|
||||
|
36
packages/media-gfx/pinta/pinta.exlib
Normal file
36
packages/media-gfx/pinta/pinta.exlib
Normal 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user