0f54db474a
This should allow cross compilation of all gnome-* packages
36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'gnome-bluetooth'
|
|
pkgname=gnome-bluetooth
|
|
version=3.16.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-desktop-update
|
|
--disable-schemas-compile --disable-icon-update"
|
|
hostmakedepends="pkg-config intltool itstool gnome-doc-utils $(vopt_if gir gobject-introspection) glib-devel"
|
|
makedepends="libXi-devel gtk+3-devel libnotify-devel dconf-devel
|
|
gvfs-devel bluez eudev-libudev-devel"
|
|
depends="bluez>=5 dconf>=0.20 gvfs>=1.20 hicolor-icon-theme desktop-file-utils"
|
|
short_desc="The GNOME Bluetooth Subsystem"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://live.gnome.org/GnomeBluetooth"
|
|
license="GPL-2, LGPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=3feb202d6780a53bc4a570eab5b0179f9351b32c1d3f28151ac2d222453ae08b
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default+=" gir"
|
|
fi
|
|
|
|
gnome-bluetooth-devel_package() {
|
|
depends="glib-devel gtk+3-devel ${sourcepkg}>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
vmove "usr/lib/*.so"
|
|
if [ -n "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|