# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Roman Kyrylych # Contributor: Pellegrino Prevete _pkgname=gnome-bluetooth pkgname=$_pkgname-git pkgver=3.34.3+10+gf3ec1853 pkgrel=1 pkgdesc="The GNOME Bluetooth Subsystem" url="https://wiki.gnome.org/Projects/GnomeBluetooth" arch=(x86_64) license=(GPL LGPL) depends=(gtk3 libnotify bluez libcanberra systemd-libs pipewire-pulseaudio-git) makedepends=(gobject-introspection gtk-doc docbook-xsl git systemd meson) provides=(libgnome-bluetooth.so $_pkgname) conflicts=($_pkgname) source=("git+https://gitlab.gnome.org/GNOME/gnome-bluetooth.git") sha256sums=('SKIP') pkgver() { cd $_pkgname git describe --tags | sed 's/^GNOMEBT_V_//;s/_fixed//;s/_/./g;s/-/+/g' } prepare() { cd $_pkgname } build() { arch-meson $_pkgname build -D gtk_doc=true -D icon_update=false meson compile -C build } check() { meson test -C build --print-errorlogs } package() { DESTDIR="$pkgdir" meson install -C build } # vim:set sw=2 et: