35 lines
971 B
Bash
35 lines
971 B
Bash
# 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
|
|
}
|
|
}
|