diff options
-rw-r--r-- | main/gnome-bluetooth/APKBUILD | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/main/gnome-bluetooth/APKBUILD b/main/gnome-bluetooth/APKBUILD index a0816b29ea..dcbb98ec89 100644 --- a/main/gnome-bluetooth/APKBUILD +++ b/main/gnome-bluetooth/APKBUILD @@ -1,20 +1,18 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gnome-bluetooth -pkgver=2.32.0 -pkgrel=4 +pkgver=3.10.0 +pkgrel=0 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" +depends="hicolor-icon-theme bluez>=5" 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" + dbus-glib-dev gtk+3.0-dev itstool" 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 +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" +source="http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/${pkgver%.*}/gnome-bluetooth-$pkgver.tar.xz 61-gnome-bluetooth-rfkill.rules" _builddir="$srcdir"/$pkgname-$pkgver @@ -33,7 +31,7 @@ prepare() { build() { cd "$_builddir" - ./configure \ + DATADIRNAME=share ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ @@ -41,10 +39,8 @@ build() { --localstatedir=/var \ --disable-desktop-update \ --disable-icon-update \ - --disable-nautilus-sendto \ --disable-schemas-compile \ - --disable-introspection \ - --disable-scrollkeeper \ + --enable-introspection \ || return 1 make } @@ -52,12 +48,22 @@ build() { package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 - rm "$pkgdir"/usr/lib/*.la + rm "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/gnome-bluetooth/plugins/*.la \ + || return 1 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 +libs() { + default_libs + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/icons "$subpkgdir"/usr/share/ +} + +md5sums="c112cdca037f90168b04c0f12855006a gnome-bluetooth-3.10.0.tar.xz 9fb6c8dcb5a3de3a953bf2ef42063e6e 61-gnome-bluetooth-rfkill.rules" +sha256sums="7ee4ad464abfed59f04d1a471eb25cfb95fc34eeefbe4c47580dbb50df2ab712 gnome-bluetooth-3.10.0.tar.xz +b8acb8ea2e7f3588575cffd8ea14ec50c8641f518f2ea899771a508b299ea474 61-gnome-bluetooth-rfkill.rules" +sha512sums="49602dedaad43652e542c8ca3682158a80a1e4b1cc7c568946af71357dc209600be654977fb444e8561f87bc7d9df8179bd0a808ab1aebd0fb904fec83865c65 gnome-bluetooth-3.10.0.tar.xz +80b7fd0bc3e0f82c8d2d609ffed634200e63f61d9a134445df8e8511756b7fb423d338a1d12e42b91c57243097beaa3d4662856ec0507fb19a29b6de7ee9e4de 61-gnome-bluetooth-rfkill.rules" |