libglade: cross build support.
This commit is contained in:
parent
0923c179f7
commit
1e4f95b4be
@ -1,44 +1,30 @@
|
|||||||
# Template build file for 'libglade'.
|
# Template build file for 'libglade'.
|
||||||
pkgname=libglade
|
pkgname=libglade
|
||||||
version=2.6.4
|
version=2.6.4
|
||||||
revision=10
|
revision=11
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --without-xml-catalog"
|
configure_args="--disable-static --without-xml-catalog"
|
||||||
hostmakedepends="pkg-config python"
|
hostmakedepends="pkg-config python"
|
||||||
makedepends="libxml2-devel gtk+-devel xmlcatmgr"
|
makedepends="libxml2-devel gtk+-devel xmlcatmgr"
|
||||||
|
depends="xmlcatmgr"
|
||||||
short_desc="Runtime interpreter for GLADE GUI files"
|
short_desc="Runtime interpreter for GLADE GUI files"
|
||||||
homepage="http://www.jamesh.id.au/software/libglade/"
|
homepage="http://www.jamesh.id.au/software/libglade/"
|
||||||
license="LGPL-2"
|
license="LGPL-2"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2"
|
distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2"
|
||||||
checksum=64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
|
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
|
# Register DTDs with xmlcatmgr.
|
||||||
with support for keyboard accelerators and automatic signal
|
xml_entries="system http://glade.gnome.org/glade-2.0.dtd /usr/share/xml/libglade/glade-2.0.dtd"
|
||||||
connection."
|
|
||||||
|
|
||||||
libglade-devel_package() {
|
libglade-devel_package() {
|
||||||
depends="libxml2-devel gtk+-devel ${sourcepkg}-${version}_${revision}"
|
depends="libxml2-devel gtk+-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" -- development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin
|
vmove usr/bin
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/gtk-doc
|
vmove usr/share/gtk-doc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libglade_package() {
|
|
||||||
# Register DTDs with xmlcatmgr.
|
|
||||||
xml_entries="system http://glade.gnome.org/glade-2.0.dtd /usr/share/xml/libglade/glade-2.0.dtd"
|
|
||||||
depends="xmlcatmgr"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user