2009-04-20 15:07:59 +00:00
|
|
|
# Template build file for 'libxklavier'.
|
|
|
|
pkgname=libxklavier
|
2012-10-08 17:18:20 +00:00
|
|
|
version=5.3
|
2014-02-21 10:29:57 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-08 17:18:20 +00:00
|
|
|
configure_args="--disable-static"
|
2014-02-21 10:29:57 +00:00
|
|
|
hostmakedepends="pkg-config glib-devel"
|
2013-04-13 08:15:49 +00:00
|
|
|
makedepends="libglib-devel libxkbfile-devel libxml2-devel>=2.7.8 libXi-devel xkeyboard-config iso-codes"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="xkeyboard-config iso-codes"
|
2009-04-20 15:07:59 +00:00
|
|
|
short_desc="Library providing high-level API for X Keyboard Extension"
|
2013-03-31 07:51:23 +00:00
|
|
|
homepage="http://freedesktop.org/wiki/Software/LibXklavier"
|
|
|
|
license="LGPL-2"
|
2009-04-20 15:07:59 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-08 17:18:20 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/5.3/$pkgname-$version.tar.xz"
|
|
|
|
checksum=ebec3bc54b5652838502b96223152fb1cd8fcb14ace5cb02d718fc3276bbd404
|
2014-02-21 10:29:57 +00:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# 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-13 08:15:49 +00:00
|
|
|
|
|
|
|
libxklavier-devel_package() {
|
2014-02-21 10:29:57 +00:00
|
|
|
depends="libglib-devel libxml2-devel>=2.7.8 ${sourcepkg}>=${version}_${revision}"
|
2013-04-13 08:15:49 +00:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-21 10:29:57 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|