| 1 | # Contributor: Rasmus Thomsen <[email protected]> |
| 2 | # Maintainer: Natanael Copa <[email protected]> |
| 3 | pkgname=gnome-sound-recorder |
| 4 | pkgver=42.0 |
| 5 | pkgrel=2 |
| 6 | pkgdesc="simple and modern sound recorder" |
| 7 | url="https://gitlab.gnome.org/World/vocalis" |
| 8 | arch="noarch !armhf" # limited by gjs |
| 9 | license="GPL-2.0-or-later" |
| 10 | makedepends=" |
| 11 | gjs-dev |
| 12 | glib-dev |
| 13 | gobject-introspection-dev |
| 14 | gst-plugins-bad-dev |
| 15 | gtk4.0-dev |
| 16 | libadwaita-dev |
| 17 | meson |
| 18 | " |
| 19 | depends="gjs gtk4.0 glib gst-plugins-good libadwaita" |
| 20 | checkdepends="appstream-glib desktop-file-utils" |
| 21 | subpackages="$pkgname-lang" |
| 22 | source="https://download.gnome.org/sources/gnome-sound-recorder/${pkgver%.*}/gnome-sound-recorder-$pkgver.tar.xz" |
| 23 | |
| 24 | build() { |
| 25 | abuild-meson . output |
| 26 | meson compile -C output |
| 27 | } |
| 28 | |
| 29 | check() { |
| 30 | meson test --print-errorlogs -C output |
| 31 | } |
| 32 | |
| 33 | package() { |
| 34 | DESTDIR="$pkgdir" meson install --no-rebuild -C output |
| 35 | } |
| 36 | |
| 37 | sha512sums=" |
| 38 | 53fe2fe0646c5055cedc1c62cf87176dca52bf3d9452d83bcc849d9946179afbef826f08ff65a97ede7a0d14ade4da0755b2ef3780460d5a80f8f9e6c85fcfbd gnome-sound-recorder-42.0.tar.xz |
| 39 | " |