void-packages/srcpkgs/libglade/template

39 lines
1.4 KiB
Text

# Template build file for 'libglade'.
pkgname=libglade
version=2.6.4
revision=7
distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--without-xml-catalog"
makedepends="pkg-config python libxml2-devel gtk+-devel atk-devel glib-devel pango-devel cairo-devel freetype-devel fontconfig-devel"
fulldepends="xmlcatmgr"
short_desc="Runtime interpreter for GLADE GUI files"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
long_desc="
Libglade is a library that performs a similar job to the C source
output routines in the GLADE user interface builder. Whereas GLADE's
output routines create C code that can then be compiled, libglade builds
the interface from an XML file (GLADE's save format) at runtime. This
way you can change the look of a program without needing to recompile.
Currently it supports all the widgets in current releases, together
with support for keyboard accelerators and automatic signal
connection."
# Register DTDs with xmlcatmgr.
export xml_entries="system http://glade.gnome.org/glade-2.0.dtd
/usr/share/xml/libglade/glade-2.0.dtd"
subpackages="$pkgname-devel"
post_install()
{
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
}
pre_remove()
{
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
}