New package: goocanvas-2.0.4

This commit is contained in:
newbluemoon 2018-03-20 10:42:00 +01:00 committed by lemmi
parent c656c9f191
commit 60196cf69c
3 changed files with 36 additions and 0 deletions

View File

@ -2151,6 +2151,7 @@ libtbbmalloc_debug.so.2 tbb-4.3_1
libembree.so.2 embree-2.5.1_1
libgtkimageview.so.0 gtkimageview-1.6.4_1
libgoocanvas.so.3 goocanvas1-1.0.0_1
libgoocanvas-2.0.so.9 goocanvas-2.0.4_1
libplatform.so.2.0 platform-2.0.1_1
libp8-platform.so.2 p8-platform-2.1.0.1_1
libfacter.so.3.10.0 facter-3.10.0_1

1
srcpkgs/goocanvas-devel Symbolic link
View File

@ -0,0 +1 @@
goocanvas

View File

@ -0,0 +1,34 @@
# Template file for 'goocanvas'
pkgname=goocanvas
version=2.0.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gtk+3-devel cairo-devel glib-devel"
short_desc="Canvas widget for GTK+ that uses the cairo 2D library for drawing"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/GooCanvas"
distfiles="${GNOME_SITE}/goocanvas/2.0/${pkgname}-${version}.tar.xz"
checksum=c728e2b7d4425ae81b54e1e07a3d3c8a4bd6377a63cffa43006045bceaa92e90
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" gobject-introspection"
else
hostmakedepends+=" python glib-devel"
fi
goocanvas-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/gtk-doc
if [ -z "$CROSS_BUILD" ]; then
vmove usr/share/gir-1.0
fi
}
}