41 lines
1 KiB
Text
41 lines
1 KiB
Text
# Template file for 'gdl'
|
|
pkgname=gdl
|
|
version=3.14.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="libxml2-devel gtk+3-devel"
|
|
short_desc="GNOME Docking Library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="https://developer.gnome.org/gdl/"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=4b903c28a8894a82b997a1732a443c8b1d6a510304b3c3b511023339ff5d01db
|
|
|
|
# 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
|
|
}
|
|
|
|
gdl-devel_package() {
|
|
replaces="gdl-doc>=0"
|
|
short_desc+=" - development files"
|
|
depends="gdl>=${version}"
|
|
pkg_install() {
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|