2008-10-15 00:00:07 +00:00
|
|
|
# Template build file for 'libglade'.
|
|
|
|
pkgname=libglade
|
2009-04-20 02:02:42 +00:00
|
|
|
version=2.6.4
|
2010-04-23 13:29:47 +00:00
|
|
|
revision=2
|
2009-04-20 02:02:42 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2"
|
2008-10-15 00:00:07 +00:00
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--without-xml-catalog"
|
|
|
|
short_desc="Runtime interpreter for GLADE GUI files"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-04-20 02:02:42 +00:00
|
|
|
checksum=64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
|
2008-10-15 00:00:07 +00: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 00:55:51 +00:00
|
|
|
# Register DTDs with xmlcatmgr.
|
2010-04-23 13:29:47 +00:00
|
|
|
export xml_entries="system http://glade.gnome.org/glade-2.0.dtd
|
2009-12-02 00:55:51 +00:00
|
|
|
/usr/share/xml/libglade/glade-2.0.dtd"
|
|
|
|
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2010-01-11 02:42:54 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libxml2
|
|
|
|
Add_dependency run gtk+
|
|
|
|
Add_dependency run atk
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run pango
|
|
|
|
Add_dependency run cairo
|
|
|
|
Add_dependency run freetype
|
|
|
|
Add_dependency run fontconfig
|
2009-04-20 02:02:42 +00:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build python
|
2010-01-11 02:42:54 +00: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 02:02:42 +00:00
|
|
|
Add_dependency full xmlcatmgr
|
2010-04-23 13:29:47 +00: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
|
|
|
|
}
|