aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-sound-recorder/APKBUILD
blob: f529a9d24995866967529a6f1019d18a3c889dd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-sound-recorder
pkgver=3.38.0
pkgrel=0
pkgdesc="A simple and modern sound recorder"
url="https://wiki.gnome.org/Apps/SoundRecorder"
arch="noarch !s390x !mips !mips64" # Dependency gjs-dev is not available on s390x
license="GPL-2.0-or-later"
makedepends="gjs-dev glib-dev gtk+3.0-dev gobject-introspection-dev meson
	gst-plugins-bad-dev libhandy1-dev"
depends="gjs gtk+3.0 glib gst-plugins-bad libhandy1"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-sound-recorder/${pkgver%.*}/gnome-sound-recorder-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="a15b12c5d8ad0b7216ba0614b0b11123421f44eff02e3fab37bc577945103b719e0e9990764436fd8fbf7478e3ee8e5ed6e3e4bcad9a16a94d186981bc22a9be  gnome-sound-recorder-3.38.0.tar.xz"