2013-07-28 03:10:31 +02:00
|
|
|
# Template file for 'gdl'
|
|
|
|
pkgname=gdl
|
2015-03-24 11:03:25 +01:00
|
|
|
version=3.16.0
|
2015-01-13 14:16:20 +01:00
|
|
|
revision=1
|
2013-07-28 03:10:31 +02:00
|
|
|
build_style=gnu-configure
|
2015-01-13 14:16:20 +01:00
|
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
2013-09-26 23:31:46 +02:00
|
|
|
makedepends="libxml2-devel gtk+3-devel"
|
|
|
|
short_desc="GNOME Docking Library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-07-28 03:10:31 +02:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://developer.gnome.org/gdl/"
|
2013-09-26 23:31:46 +02:00
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
2015-03-24 11:03:25 +01:00
|
|
|
checksum=34cbe104f5df9a20ea26aa8acca2b6d1a73035448aa854162c598e90f4e6ff80
|
2013-07-28 03:10:31 +02:00
|
|
|
|
2014-03-29 08:16:19 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed 's,-I$(includedir),,g' -i gdl/Makefile
|
|
|
|
}
|
|
|
|
|
2013-07-28 03:10:31 +02:00
|
|
|
gdl-devel_package() {
|
2015-01-13 14:16:20 +01:00
|
|
|
replaces="gdl-doc>=0"
|
2014-03-27 17:58:26 +01:00
|
|
|
short_desc+=" - development files"
|
2013-09-26 23:31:46 +02:00
|
|
|
depends="gdl>=${version}"
|
2013-07-28 03:10:31 +02:00
|
|
|
pkg_install() {
|
2014-03-29 08:16:19 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-07-28 03:10:31 +02:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 23:31:46 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-07-28 03:10:31 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|