File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Template file for 'decibels'
2
+ pkgname=decibels
3
+ version=48.0
4
+ revision=1
5
+ build_style=meson
6
+ hostmakedepends="blueprint-compiler desktop-file-utils gettext gjs glib-devel
7
+ gtk4-update-icon-cache nodejs pkg-config"
8
+ makedepends="gjs-devel libadwaita-devel"
9
+ depends="gjs gst-plugins-good1 libadwaita"
10
+ checkdepends="appstream-glib"
11
+ short_desc="Play audio files"
12
+ maintainer="chrysos349 <
[email protected] >"
13
+ license="GPL-3.0-or-later"
14
+ homepage="https://gitlab.gnome.org/GNOME/decibels"
15
+ _commit=dbbaa0527556cd3ce5434c4a5072cd99348eff7a
16
+ distfiles="https://gitlab.gnome.org/GNOME/decibels/-/archive/${version}/decibels-${version}.tar.gz
17
+ https://gitlab.gnome.org/BrainBlasted/gi-typescript-definitions/-/archive/${_commit}/gi-typescript-definitions-${_commit}.tar.gz>${_commit}.tar.gz"
18
+ checksum="1ffe2c4ab2502314c74f017f2b58b9d110548a9cbc237096e6712e67c03b2e10
19
+ 6c625c8a01bd15e9f35fd6ea6823b5afb2288e6a40e34d852d37b6fa0fa51e57"
20
+ skip_extraction="${_commit}.tar.gz"
21
+
22
+ post_extract() {
23
+ vsrcextract -C gi-types "${_commit}.tar.gz"
24
+ }
25
+
26
+ pre_configure() {
27
+ npm i typescript
28
+ export PATH="$PATH:$(pwd)/node_modules/.bin"
29
+ }
30
+
31
+ pre_build() {
32
+ if [ "$CROSS_BUILD" ]; then
33
+ export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
34
+ fi
35
+ }
You can’t perform that action at this time.
0 commit comments