colord-gtk: added gir build option; remove long_desc.
This commit is contained in:
parent
fab988441a
commit
cd08cf3944
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'colord-gtk'
|
||||
pkgname=colord-gtk
|
||||
version=0.1.25
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-schemas-compile"
|
||||
hostmakedepends="pkg-config intltool gobject-introspection"
|
||||
hostmakedepends="pkg-config intltool glib-devel"
|
||||
makedepends="vala-devel>=0.20 colord-devel>=0.1.31 gtk+3-devel>=3.8"
|
||||
short_desc="GTK support library for colord"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -12,9 +12,22 @@ homepage="http://www.freedesktop.org/software/colord"
|
|||
license="LGPL-2"
|
||||
distfiles="http://www.freedesktop.org/software/colord/releases/${pkgname}-${version}.tar.xz"
|
||||
checksum=bd0f91c4348acba41018222915cd62917882dd35883bcc81848d089e13a70b0a
|
||||
long_desc="
|
||||
colord-gtk is a support library for colord and provides additional
|
||||
functionality that requires GTK+."
|
||||
|
||||
# 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
|
||||
|
||||
colord-gtk-devel_package() {
|
||||
depends="colord-devel>=0.1.31 gtk+3-devel>=3.8.0 ${sourcepkg}>=${version}_${revision}"
|
||||
|
@ -22,6 +35,9 @@ colord-gtk-devel_package() {
|
|||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/gir-1.0
|
||||
vmove "usr/lib/*.so"
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue