2008-10-15 02:00:07 +02:00
|
|
|
# Template build file for 'libglade'.
|
|
|
|
pkgname=libglade
|
2009-04-20 04:02:42 +02:00
|
|
|
version=2.6.4
|
2011-11-12 09:45:15 +01:00
|
|
|
revision=4
|
2009-04-20 04:02:42 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2008-10-15 02:00:07 +02:00
|
|
|
configure_args="--without-xml-catalog"
|
|
|
|
short_desc="Runtime interpreter for GLADE GUI files"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-04-20 04:02:42 +02:00
|
|
|
checksum=64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
|
2008-10-15 02:00:07 +02:00
|
|
|
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."
|
|
|
|
|
2009-12-02 01:55:51 +01:00
|
|
|
# Register DTDs with xmlcatmgr.
|
2010-04-23 15:29:47 +02:00
|
|
|
export xml_entries="system http://glade.gnome.org/glade-2.0.dtd
|
2009-12-02 01:55:51 +01:00
|
|
|
/usr/share/xml/libglade/glade-2.0.dtd"
|
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel"
|
2010-10-28 07:52:50 +02:00
|
|
|
Add_dependency run libpng
|
|
|
|
|
2009-04-20 04:02:42 +02:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build python
|
2010-01-11 03:42:54 +01:00
|
|
|
Add_dependency build libxml2-devel
|
|
|
|
Add_dependency build gtk+-devel
|
|
|
|
Add_dependency build atk-devel
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build pango-devel
|
|
|
|
Add_dependency build cairo-devel
|
|
|
|
Add_dependency build freetype-devel
|
|
|
|
Add_dependency build fontconfig-devel
|
2009-04-20 04:02:42 +02:00
|
|
|
Add_dependency full xmlcatmgr
|
2010-04-23 15:29:47 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_remove()
|
|
|
|
{
|
|
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
|
|
|
|
}
|