2011-03-01 16:22:56 +01:00
|
|
|
# Template file for 'libpeas'
|
|
|
|
pkgname=libpeas
|
2013-09-26 15:07:01 +02:00
|
|
|
version=1.9.0
|
2013-06-18 19:24:04 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-11 09:59:52 +02:00
|
|
|
configure_args="--without-demo --disable-demo"
|
2013-03-28 19:12:58 +01:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
2013-09-26 15:07:01 +02:00
|
|
|
makedepends="vala-devel>=0.22 libgirepository-devel gjs-devel>=1.38
|
|
|
|
gtk+3-devel libseed-devel python-devel pygobject-devel"
|
2011-03-01 16:22:56 +01:00
|
|
|
short_desc="Gobject-based plugins engine"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-03-28 19:12:58 +01:00
|
|
|
homepage="http://www.gtk.org/"
|
|
|
|
license="GPL-2"
|
2013-09-26 15:07:01 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
|
|
checksum=008747ccdf954dc7b8e3207fffede527a589363541873f906c8e0166f6f7df8d
|
2011-03-01 16:22:56 +01:00
|
|
|
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."
|
|
|
|
|
2012-10-11 09:59:52 +02:00
|
|
|
post_install() {
|
|
|
|
# Remove demo.
|
|
|
|
rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/peas-demo
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libpeas-devel_package() {
|
|
|
|
depends="libglib-devel gtk+3-devel>=3.8 libgirepository-devel
|
|
|
|
${sourcepkg}-${version}_${revision}"
|
2013-06-18 19:24:04 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 15:07:01 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libpeas_package() {
|
2013-09-26 15:07:01 +02:00
|
|
|
depends="pygobject hicolor-icon-theme gjs>=1.38"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
2013-09-26 15:07:01 +02:00
|
|
|
vmove all
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|