blob: e1967075c259f49dbfe9231925b90e0ef9cffda9 (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Angelo Verlain SHEMA (https://vixalien.com)
pkgname=decibels
pkgver=46.0
pkgrel=2
pkgdesc="Play audio files"
arch=('any')
url="https://gitlab.gnome.org/GNOME/Incubator/decibels"
license=(GPL-3.0)
depends=(
gjs
gst-plugins-bad-libs
gst-plugins-base
gst-plugins-good
gtk4
libadwaita
)
makedepends=(
git
gobject-introspection
blueprint-compiler
meson
typescript
)
checkdepends=(
appstream-glib
)
_commit=d3d85a7d6fac2af348789a05ece4ddea5e828150 # tags/46.0^0
source=("git+https://gitlab.gnome.org/GNOME/Incubator/decibels#commit=${_commit}"
'git+https://gitlab.gnome.org/BrainBlasted/gi-typescript-definitions.git')
sha256sums=('136e9e604f4c2c8438cc4c9a0ae2a40c9986c772b7c9f2e908de2082f2b5e87e'
'SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
git submodule init
git config submodule.gi-types.url "$srcdir/gi-typescript-definitions"
git -c protocol.file.allow=always submodule update
}
build() {
arch-meson $pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --destdir "$pkgdir"
cd $pkgname
install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
ln -s /usr/bin/org.gnome.Decibels "$pkgdir/usr/bin/$pkgname"
}
|