2012-09-26 04:41:27 +02:00
|
|
|
# Template file for 'colord-gtk'
|
|
|
|
pkgname=colord-gtk
|
2014-12-03 15:07:10 +01:00
|
|
|
version=0.1.26
|
|
|
|
revision=1
|
2012-09-26 04:41:27 +02:00
|
|
|
build_style=gnu-configure
|
2014-12-03 15:07:10 +01:00
|
|
|
configure_args="--disable-static --disable-schemas-compile $(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel vala-devel $(vopt_if gir gobject-introspection)"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="colord-devel gtk+3-devel"
|
2012-09-26 04:41:27 +02:00
|
|
|
short_desc="GTK support library for colord"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-09-26 04:41:27 +02:00
|
|
|
homepage="http://www.freedesktop.org/software/colord"
|
2013-03-28 17:03:19 +01:00
|
|
|
license="LGPL-2"
|
2012-09-26 04:41:27 +02:00
|
|
|
distfiles="http://www.freedesktop.org/software/colord/releases/${pkgname}-${version}.tar.xz"
|
2014-12-03 15:07:10 +01:00
|
|
|
checksum=28d00b7f157ea3e2ea5315387b2660fde82faba16674861c50465e55d61a3e45
|
2014-02-18 16:12:29 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
colord-gtk-devel_package() {
|
2014-12-03 15:07:10 +01:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-18 16:12:29 +01:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|