void-packages/srcpkgs/glade3/template

60 lines
1.5 KiB
Plaintext
Raw Normal View History

2010-11-20 16:10:56 +01:00
# Template build file for 'glade3'.
pkgname=glade3
2014-05-18 09:17:59 +02:00
version=3.18.3
2014-03-29 10:13:43 +01:00
wrksrc="glade-${version}"
revision=1
build_style=gnu-configure
2012-10-15 10:15:22 +02:00
configure_args="--disable-static"
hostmakedepends="which pkg-config intltool gnome-doc-utils itstool glib-devel"
makedepends="gtk+3-devel libxml2-devel python-devel pygobject-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="An User Interface Designer for GTK+3"
2013-03-31 09:51:11 +02:00
homepage="http://glade.gnome.org/"
license="GPL-2"
2010-11-20 16:10:56 +01:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/glade/${version%.*}/glade-$version.tar.xz"
2014-05-18 09:17:59 +02:00
checksum=ecdbce46e7fbfecd463be840b94fbf54d83723b3ebe075414cfd225ddab66452
2014-03-29 10:13:43 +01:00
lib32disabled=yes
2010-11-20 16:10:56 +01:00
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
2010-11-20 16:10:56 +01:00
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
libgladeui3_package() {
depends="pygobject"
short_desc="GTK+ User Interface Build core library"
pkg_install() {
vmove "usr/lib/*.so.*"
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
glade3-devel_package() {
2014-03-29 10:13:43 +01:00
depends="gtk+3-devel libxml2-devel libgladeui3>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}