void-packages/srcpkgs/libpeas/template

48 lines
1.4 KiB
Plaintext

# Template file for 'libpeas'
pkgname=libpeas
version=1.8.1
revision=1
build_style=gnu-configure
configure_args="--without-demo --disable-demo"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="vala-devel>=0.20 libgirepository-devel gjs-devel
gtk+3-devel>=3.8 libseed-devel python-devel pygobject-devel"
short_desc="Gobject-based plugins engine"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/1.8/$pkgname-$version.tar.xz"
checksum=ff0e7cd1f0da5dc1289efdd4662a06188f8f0fb088eac67abe05ffa66ba7751d
long_desc="
libpeas is a gobject-based plugins engine, and is targetted at giving every
application the chance to assume its own extensibility. It is currently used by
several Gnome applications like gedit and Totem.
It takes its roots in the old gedit plugins engine, and provides an extensive set
of features mirroring the desiderata of most of the applications providing an
extension framework."
post_install() {
# Remove demo.
rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/peas-demo
}
libpeas-devel_package() {
depends="libglib-devel gtk+3-devel>=3.8 libgirepository-devel
${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}
libpeas_package() {
depends="pygobject hicolor-icon-theme"
pkg_install() {
vmove usr
}
}