mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
61 lines
2.5 KiB
Bash
61 lines
2.5 KiB
Bash
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
|
|
# Contributor: Roman Kyrylych <roman@archlinux.org>
|
|
|
|
pkgname=bluez-gnome
|
|
pkgver=1.8
|
|
pkgrel=5
|
|
pkgdesc="Bluetooth PIN helper applications"
|
|
url="http://www.bluez.org/"
|
|
arch=('arm')
|
|
license=('GPL2' 'LGPL')
|
|
depends=('hal' 'libnotify>=0.4.5' 'obex-data-server'
|
|
'bluez>=4.39' 'desktop-file-utils' 'hicolor-icon-theme' 'gconf>=2.26.0-2')
|
|
makedepends=('intltool')
|
|
options=('!emptydirs')
|
|
install=bluez-gnome.install
|
|
source=(http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2
|
|
02_MenusRevisited.patch
|
|
04_bluetooth-sendto-ods-svn.patch
|
|
05_bluetooth_sendto_dbus-snd.patch
|
|
06_preferences-horizontal-layout.patch
|
|
07_null_device_name.patch
|
|
08_XFCE.patch
|
|
09_visibility.patch
|
|
10_wizard-custom-pin.patch
|
|
11_bluez-notifications.patch)
|
|
md5sums=('dd4ebe771d9f2ebd739e1185b767ce3e'
|
|
'15a598f7cb1ea52f92e6e4604bdd7aed'
|
|
'e465609e96c5bf128a922b1ac8048b95'
|
|
'2835942c65d7e60b8a862a29e4569655'
|
|
'bba8e404c8d02d9374b458d6e33c5856'
|
|
'df501957838b055145c50c5618b2356c'
|
|
'a9a1c32d257aad39aad06bbc0e4eb38f'
|
|
'38d24248f0ecef4c93acafb429a28058'
|
|
'50e5d1f48b1d24fff1daa6e85d3f4b24'
|
|
'ac4b9824c1d01fc7edf84da7d748e957')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
patch -Np1 -i "${srcdir}/02_MenusRevisited.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/04_bluetooth-sendto-ods-svn.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/05_bluetooth_sendto_dbus-snd.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/06_preferences-horizontal-layout.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/07_null_device_name.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/08_XFCE.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/09_visibility.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/10_wizard-custom-pin.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/11_bluez-notifications.patch" || return 1
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--mandir=/usr/share/man \
|
|
--disable-desktop-update \
|
|
--disable-mime-update \
|
|
--disable-icon-update || return 1
|
|
make || return 1
|
|
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
|
|
install -d "${pkgdir}/usr/share/gconf/schemas"
|
|
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" \
|
|
--domain bluetooth-manager ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
|
|
rm -f "$pkgdir/etc/gconf/schemas/*.schemas"
|
|
}
|