[arch-commits] Commit in gnome-bluetooth (3 files)
Jan de Groot
jgc at archlinux.org
Fri Sep 11 21:27:38 UTC 2009
Date: Friday, September 11, 2009 @ 17:27:37
Author: jgc
Revision: 51804
Update to 2.27.90
Replace bluez-gnome
Added:
gnome-bluetooth/gnome-unstable/
Modified:
gnome-bluetooth/gnome-unstable/PKGBUILD
gnome-bluetooth/gnome-unstable/gnome-bluetooth.install
-------------------------+
PKGBUILD | 27 ++++++++++++++-------------
gnome-bluetooth.install | 23 +++++++++++++++++++++--
2 files changed, 35 insertions(+), 15 deletions(-)
Modified: gnome-unstable/PKGBUILD
===================================================================
--- trunk/PKGBUILD 2009-09-11 21:02:55 UTC (rev 51798)
+++ gnome-unstable/PKGBUILD 2009-09-11 21:27:37 UTC (rev 51804)
@@ -2,27 +2,28 @@
# Maintainer: Roman Kyrylych <roman at archlinux.org>
pkgname=gnome-bluetooth
-pkgver=0.12.0
+pkgver=2.27.90
pkgrel=1
pkgdesc="The GNOME Bluetooth Subsystem."
arch=('i686' 'x86_64')
-url="http://www.usefulinc.com/software/gnome-bluetooth/"
+url="http://live.gnome.org/GnomeBluetooth"
license=('GPL' 'LGPL')
-depends=('libbtctl>=0.10.0' 'libgnomeui>=2.24.1')
-makedepends=('gob2' 'intltool' 'pygtk>=2.14.1')
-options=('!libtool')
+depends=('bluez>=4.39' 'libunique>=1.1.2' 'libnotify>=0.4.5' 'gconf>=2.27.0' 'hicolor-icon-theme')
+makedepends=('intltool' 'pygtk>=2.16.0' 'gnome-doc-utils>=0.17.5')
+replaces=('bluez-gnome')
+conflicts=('bluez-gnome')
+options=('!libtool' '!emptydirs')
install=gnome-bluetooth.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/0.12/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('881a01ce964b8c02b5d40be8b5aedcaf')
+source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/2.27/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('c3b05b2f4b41cddfcd6bee464e0fda70eeb54a7c0248a6e70d0a579a50cb656d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- aclocal || return 1
- automake || return 1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
- sed -e 's|^pythondir = /usr|pythondir = |' \
- -e 's|^pydir = /usr|pydir = |' \
- -i src/Makefile || return 1
make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+
+ install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-bluetooth2 ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}
Modified: gnome-unstable/gnome-bluetooth.install
===================================================================
--- trunk/gnome-bluetooth.install 2009-09-11 21:02:55 UTC (rev 51798)
+++ gnome-unstable/gnome-bluetooth.install 2009-09-11 21:27:37 UTC (rev 51804)
@@ -1,5 +1,24 @@
+pkgname=gnome-bluetooth
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
pre_upgrade() {
- if [ -f usr/share/gconf/schemas/gnome-bluetooth.schemas ]; then
- usr/sbin/gconfpkg --uninstall gnome-bluetooth
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
fi
}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
More information about the arch-commits
mailing list