blob: 4666c4eb054d5aba45e49747d1a927d851848059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-bluetooth
pkgver=2.32.0
pkgrel=4
pkgdesc="The GNOME Bluetooth Subsystem"
url="http://live.gnome.org/GnomeBluetooth"
arch="all"
license="GPL LGPL"
depends="hicolor-icon-theme obexd-client obex-data-server"
makedepends="intltool py-gtk gobject-introspection-dev libunique-dev
libnotify-dev libxi-dev libxslt py-libxml2 gnome-doc-utils
dbus-glib-dev gtk+2.0-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/${pkgver%.*}/gnome-bluetooth-$pkgver.tar.bz2
nogeoclue.patch
libnotify-0.7.patch
61-gnome-bluetooth-rfkill.rules"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
msg "Applying $i"
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-desktop-update \
--disable-icon-update \
--disable-nautilus-sendto \
--disable-schemas-compile \
--disable-introspection \
--disable-scrollkeeper \
|| return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
install -m644 -D "$srcdir/61-gnome-bluetooth-rfkill.rules" \
"$pkgdir/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules"
}
md5sums="f129686fe46c4c98eb70a0cc85d59cae gnome-bluetooth-2.32.0.tar.bz2
5ed6f59d02b45573a08155fca8f0d300 nogeoclue.patch
1f6db609b5c2d6cd0076cd63b9c60afd libnotify-0.7.patch
9fb6c8dcb5a3de3a953bf2ef42063e6e 61-gnome-bluetooth-rfkill.rules"
|