summaryrefslogtreecommitdiff
path: root/community/blueman
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-01 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-12-01 23:14:46 +0000
commit9e9ab642711f2424f828e21d14b98c45cdef2b29 (patch)
tree5c1495cfda2b453e377084bad1b20e431e119063 /community/blueman
parentbc0657f7159d0b01373ecb59afc426b98a172b1e (diff)
Thu Dec 1 23:14:46 UTC 2011
Diffstat (limited to 'community/blueman')
-rw-r--r--community/blueman/PKGBUILD52
1 files changed, 25 insertions, 27 deletions
diff --git a/community/blueman/PKGBUILD b/community/blueman/PKGBUILD
index f4311acdd..efecf86b0 100644
--- a/community/blueman/PKGBUILD
+++ b/community/blueman/PKGBUILD
@@ -1,45 +1,43 @@
-# $Id: PKGBUILD 56850 2011-10-14 21:12:20Z spupykin $
+# $Id: PKGBUILD 59799 2011-11-30 12:25:12Z spupykin $
# Maintainer : Ionut Biru <ibiru@archlinux.org
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
pkgname=blueman
pkgver=1.23
-pkgrel=1
+pkgrel=2
pkgdesc="GTK+ bluetooth manager"
arch=('i686' 'x86_64')
license=('GPL')
url="http://blueman-project.org"
-depends=('python-notify' 'bluez' 'dbus-python' 'gtk2' 'pygobject' 'startup-notification' 'obex-data-server' 'polkit-gnome' 'xdg-utils' 'hicolor-icon-theme')
+depends=('python-notify' 'bluez' 'dbus-python' 'gtk2' 'pygobject' 'startup-notification'
+ 'obex-data-server' 'polkit-gnome' 'xdg-utils' 'hicolor-icon-theme' 'libpulse')
makedepends=('pyrex' 'intltool')
optdepends=('dnsmasq: For creating PAN network'
- 'gconf: For gconf configuration support'
- 'pulseaudio: To use the pulseaudio plugin'
- 'notification-daemon: for desktop notifications'
- 'libnotify: for desktop notifications'
- 'modemmanager: for modem management service'
- 'gnome-icon-theme:icon theme')
+ 'gconf: For gconf configuration support'
+ 'pulseaudio: To use the pulseaudio plugin'
+ 'notification-daemon: for desktop notifications'
+ 'libnotify: for desktop notifications'
+ 'modemmanager: for modem management service'
+ 'gnome-icon-theme:icon theme')
options=('!libtool')
install=$pkgname.install
-source=(http://download.tuxfamily.org/blueman/${pkgname}-${pkgver}.tar.gz
- PulsePatch.patch)
-md5sums=('f0bee59589f4c23e35bf08c2ef8acaef'
- 'cdce55a57d7628ed8b6c7fcf4391f4f0')
+source=(http://download.tuxfamily.org/blueman/${pkgname}-${pkgver}.tar.gz)
+md5sums=('f0bee59589f4c23e35bf08c2ef8acaef')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
-# patch -Np1 -i "${srcdir}/PulsePatch.patch"
+ export PYTHON=python2
+ for file in apps/blueman*; do
+ sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
+ done
+ sed -i 's|"blueman-tray"|"blueman"|' blueman/plugins/applet/StatusIcon.py
- # python2 fix
- for file in apps/blueman*; do
- sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
- done
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/blueman \
- --with-no-runtime-deps-check
- make
- make DESTDIR="${pkgdir}" install
- echo "OnlyShowIn=GNOME;XFCE;" >> ${pkgdir}/etc/xdg/autostart/blueman.desktop
+ [ -f Makefile ] || ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/blueman \
+ --with-no-runtime-deps-check
+ make
+ make DESTDIR="${pkgdir}" install
+ echo "OnlyShowIn=GNOME;XFCE;" >> ${pkgdir}/etc/xdg/autostart/blueman.desktop
}