2012-09-28 09:27:40 +00:00
|
|
|
# Template file for 'spice-gtk'
|
|
|
|
pkgname=spice-gtk
|
2014-12-29 15:22:32 +00:00
|
|
|
version=0.27
|
2015-03-04 15:04:30 +00:00
|
|
|
revision=4
|
2012-09-28 09:27:40 +00:00
|
|
|
build_style=gnu-configure
|
2014-12-29 15:22:32 +00:00
|
|
|
configure_args="--disable-static --enable-vala $(vopt_enable gir introspection)
|
|
|
|
--enable-smartcard=no --enable-usbredir=no --enable-polkit=yes --enable-pie=yes
|
|
|
|
--enable-lz4=yes --with-usb-ids-path=/usr/share/hwdata/usb.ids"
|
|
|
|
hostmakedepends="pkg-config libtool intltool vala-devel glib-devel
|
|
|
|
$(vopt_if gir gobject-introspection)"
|
|
|
|
makedepends="lz4-devel dbus-glib-devel vala-devel pixman-devel
|
2015-03-04 15:04:30 +00:00
|
|
|
celt051-devel libressl-devel>=2.1.4 libsasl-devel gtk+3-devel pulseaudio-devel
|
2014-07-15 22:45:56 +00:00
|
|
|
libjpeg-turbo-devel polkit-devel libsoup-devel hwids"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="hwids"
|
2012-09-28 09:27:40 +00:00
|
|
|
homepage="http://spice-space.org"
|
2013-09-19 07:11:55 +00:00
|
|
|
license="LGPL-2.1"
|
2012-09-28 09:27:40 +00:00
|
|
|
short_desc="GTK+2/3 SPICE widget"
|
2014-06-08 10:15:44 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-10 14:47:42 +00:00
|
|
|
distfiles="http://spice-space.org/download/gtk/${pkgname}-${version}.tar.bz2"
|
2014-12-29 15:22:32 +00:00
|
|
|
checksum=5075e07010db434146649110ade31f5a6cdcdb4efbb4bedd40f1a977f090430c
|
|
|
|
|
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
touch aclocal.m4 config.h.in Makefile.in
|
|
|
|
libtoolize -f
|
|
|
|
}
|
2013-04-14 10:31:59 +00:00
|
|
|
|
|
|
|
spice-gtk-devel_package() {
|
2015-03-04 15:04:30 +00:00
|
|
|
depends="gtk+3-devel pixman-devel libressl-devel>=2.1.4 celt051-devel
|
2013-04-14 10:31:59 +00:00
|
|
|
${sourcepkg}-${version}_${revision}"
|
2013-09-19 07:11:55 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 10:31:59 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-19 07:11:55 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 10:31:59 +00:00
|
|
|
vmove usr/share/vala
|
2013-04-16 12:26:51 +00:00
|
|
|
vmove usr/share/gtk-doc
|
2014-12-29 15:22:32 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-14 10:31:59 +00:00
|
|
|
}
|
|
|
|
}
|