2014-06-19 11:33:39 +00:00
|
|
|
# Template file for 'glade3'
|
2010-11-20 15:10:56 +00:00
|
|
|
pkgname=glade3
|
2014-05-18 07:17:59 +00:00
|
|
|
version=3.18.3
|
2014-06-19 11:33:39 +00:00
|
|
|
revision=2
|
2014-03-29 09:13:43 +00:00
|
|
|
wrksrc="glade-${version}"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-15 08:15:22 +00:00
|
|
|
configure_args="--disable-static"
|
2014-02-19 15:03:42 +00:00
|
|
|
hostmakedepends="which pkg-config intltool gnome-doc-utils itstool glib-devel"
|
2014-06-19 11:33:39 +00:00
|
|
|
makedepends="gtk+3-devel libxml2-devel python-devel python-gobject-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
2013-09-26 21:27:25 +00:00
|
|
|
short_desc="An User Interface Designer for GTK+3"
|
2013-03-31 07:51:11 +00:00
|
|
|
homepage="http://glade.gnome.org/"
|
|
|
|
license="GPL-2"
|
2010-11-20 15:10:56 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-06-19 11:33:39 +00:00
|
|
|
distfiles="${GNOME_SITE}/glade/${version%.*}/glade-${version}.tar.xz"
|
2014-05-18 07:17:59 +00:00
|
|
|
checksum=ecdbce46e7fbfecd463be840b94fbf54d83723b3ebe075414cfd225ddab66452
|
2014-03-29 09:13:43 +00:00
|
|
|
|
|
|
|
lib32disabled=yes
|
2010-11-20 15:10:56 +00:00
|
|
|
|
2014-02-19 15:03:42 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
2010-11-20 15:10:56 +00:00
|
|
|
|
2014-02-19 15:03:42 +00: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
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
libgladeui3_package() {
|
2014-06-19 11:33:39 +00:00
|
|
|
depends="python-gobject"
|
2013-04-12 11:13:49 +00:00
|
|
|
short_desc="GTK+ User Interface Build core library"
|
|
|
|
pkg_install() {
|
2013-09-26 21:27:25 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2014-02-19 15:03:42 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
fi
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
glade3-devel_package() {
|
2014-03-29 09:13:43 +00:00
|
|
|
depends="gtk+3-devel libxml2-devel libgladeui3>=${version}_${revision}"
|
2013-09-26 21:27:25 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-19 15:03:42 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 11:13:49 +00:00
|
|
|
vmove usr/share/gtk-doc
|
2013-09-26 21:27:25 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|