2012-09-26 02:41:27 +00:00
|
|
|
# Template file for 'colord-gtk'
|
|
|
|
pkgname=colord-gtk
|
2013-03-28 16:03:19 +00:00
|
|
|
version=0.1.25
|
2014-05-09 09:59:18 +00:00
|
|
|
revision=3
|
2012-09-26 02:41:27 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static --disable-schemas-compile"
|
2014-02-18 15:12:29 +00:00
|
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
2014-05-09 09:59:18 +00:00
|
|
|
makedepends="vala-devel>=0.20 colord-devel>=1.1.7 gtk+3-devel>=3.8"
|
2012-09-26 02:41:27 +00:00
|
|
|
short_desc="GTK support library for colord"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.freedesktop.org/software/colord"
|
2013-03-28 16:03:19 +00:00
|
|
|
license="LGPL-2"
|
2012-09-26 02:41:27 +00:00
|
|
|
distfiles="http://www.freedesktop.org/software/colord/releases/${pkgname}-${version}.tar.xz"
|
2013-03-28 16:03:19 +00:00
|
|
|
checksum=bd0f91c4348acba41018222915cd62917882dd35883bcc81848d089e13a70b0a
|
2014-02-18 15:12:29 +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-12 06:55:23 +00:00
|
|
|
|
|
|
|
colord-gtk-devel_package() {
|
2014-05-09 09:59:18 +00:00
|
|
|
depends="colord-devel>=1.1.7 gtk+3-devel>=3.8.0 ${sourcepkg}>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-18 15:12:29 +00:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|