### this file is sourced not run
PKGVER=2.32.0
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=gnome-bluetooth-2.32.0.tar.bz2
MD5SUM=f129686fe46c4c98eb70a0cc85d59cae
SRC_URL=http://ftp.gnome.org/pub/gnome/sources/gnome-bluetooth/2.32/$TARBALL
BUNDLE=

SLACKREQ='gtk2 libunique libdbus-glib libnotify gconf2 bluez obexd obexftp' # gnome-doc-utils build-time only
SLACKDESC='bluetooth-applet: bluetooth-applet 2.32.0 (Bluetooth applet icon tray)  
bluetooth-applet:  
bluetooth-applet: Useful to pair and manage connection to your bluetooth 
bluetooth-applet: devices. The original package name is gnome-bluetooth.  
bluetooth-applet: 
bluetooth-applet: 
bluetooth-applet: 
bluetooth-applet: 
bluetooth-applet: 
bluetooth-applet: 
bluetooth-applet:
'
SLACKINSTALL='glib-compile-schemas ./usr/share/glib-2.0/schemas'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/gnome*
	patch -Np1 -i $CHROOT_DIR/tmp/pkg/bluetooth-applet.patch
}

### package
pkg_package() {
	tar -xf $CHROOT_DIR/tmp/pkg/bluetooth-applet-icons.tar.bz2 &&
	cp $CHROOT_DIR/tmp/pkg/bluetooth-browser usr/bin &&
	cp $CHROOT_DIR/tmp/pkg/bluetooth-receiver usr/bin
}
### build
pkg_build() {
	cd /tmp/gnome*
	CONFFLAGS="$CONFFLAGS --disable-icon-update --disable-scrollkeeper \
	--disable-schemas-compile --disable-desktop-update --disable-nautilus-sendto \
	--disable-introspection --disable-moblin"
	pkg_build_autoconf && pkg_build_slackdesc	
}
