Date: Thursday, June 9, 2022 @ 16:37:47 Author: heftig Revision: 1229698
extra2community: Moving gnome-bluetooth from extra to community Added: gnome-bluetooth/ gnome-bluetooth/repos/ gnome-bluetooth/trunk/ gnome-bluetooth/trunk/PKGBUILD ----------+ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) Added: gnome-bluetooth/trunk/PKGBUILD =================================================================== --- gnome-bluetooth/trunk/PKGBUILD (rev 0) +++ gnome-bluetooth/trunk/PKGBUILD 2022-06-09 16:37:47 UTC (rev 1229698) @@ -0,0 +1,46 @@ +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> +# Contributor: Ionut Biru <[email protected]> +# Contributor: Roman Kyrylych <[email protected]> + +pkgname=gnome-bluetooth +pkgver=3.34.5 +pkgrel=3 +pkgdesc="The GNOME Bluetooth Subsystem" +url="https://wiki.gnome.org/Projects/GnomeBluetooth" +arch=(x86_64) +license=(GPL LGPL) +depends=(gtk3 libnotify bluez libcanberra systemd pulseaudio-bluetooth) +makedepends=(gobject-introspection gtk-doc docbook-xsl git meson) +checkdepends=(python-dbusmock) +provides=(libgnome-bluetooth.so) +options=(debug) +_commit=736eadbfb693d9594371470ad83370d327df6f74 # tags/3.34.5^0 +source=("git+https://gitlab.gnome.org/GNOME/gnome-bluetooth.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd gnome-bluetooth + git describe --tags | sed 's/^GNOMEBT_V_//;s/_fixed//;s/_/./g;s/-/+/g' +} + +prepare() { + cd gnome-bluetooth + + # Remove bluetooth-sendto, shipped in gnome-bluetooth-3.0 + sed -i "/'sendto'/d" meson.build +} + +build() { + arch-meson gnome-bluetooth build -D gtk_doc=true -D icon_update=false + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + meson install -C build --destdir "$pkgdir" +} + +# vim:set sw=2 et:
