75cb2f567d
Closes #9565.
63 lines
1.5 KiB
Bash
63 lines
1.5 KiB
Bash
# Template file for 'glade3'
|
|
pkgname=glade3
|
|
version=3.20.2
|
|
revision=1
|
|
wrksrc="glade-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="which pkg-config intltool gnome-doc-utils itstool glib-devel"
|
|
makedepends="gtk+3-devel libxml2-devel python-devel python-gobject-devel"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="An User Interface Designer for GTK+3"
|
|
homepage="http://glade.gnome.org/"
|
|
license="GPL-2"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="${GNOME_SITE}/glade/${version%.*}/glade-${version}.tar.xz"
|
|
checksum=07d1545570951aeded20e9fdc6d3d8a56aeefe2538734568c5335be336c6abed
|
|
|
|
lib32disabled=yes
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# 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
|
|
|
|
do_check() {
|
|
# tests require a xserver running
|
|
:
|
|
}
|
|
|
|
libgladeui3_package() {
|
|
depends="python-gobject"
|
|
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() {
|
|
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"
|
|
}
|
|
}
|