🔒 Repository is read-only – file editing is disabled.

recipes/gui/gnome-bluetooth/PAGBUILD.yaml main

41 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: 'gnome-bluetooth'
pkgver: '42.8'
pkgrel: '3'
pkgdesc: 'The GNOME Bluetooth Subsystem'
url: 'https://wiki.gnome.org/Projects/GnomeBluetooth'
arch: x86_64
license:
- 'LGPL-2.1-or-later'

depends:
- 'gtk-update-icon-cache'
- bluez

makedepends:
- itstool
- libnotify
- gtk3
- gtk4
- 'gobject-introspection'
- meson
- 'gtk-doc'
- libcanberra
- gsound
- libadwaita

source:
- 'https://download.gnome.org/sources/${pkgname}/42/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  export GI_TYPELIB_PATH=/usr/lib64/girepository-1.0:/usr/lib/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}
  # testy wymagają GIRepository, którego pygobject w rootfs nie zna w wersji 2.0
  sed -i "s/require_version('GIRepository', '2.0')/require_version('GIRepository', '3.0')/" \
      ${pkgname}-${pkgver}/tests/integration-test.py
  meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true gnome-bluetooth-42.8 builddir
  meson compile -C builddir

package: |
  DESTDIR="${PKGDIR}" meson install -C builddir