New package: decibels-48.0

This commit is contained in:
chrysos349 2025-03-21 20:00:07 +03:00 committed by oreo639
parent 456e6c0a59
commit e861579e62

28
srcpkgs/decibels/template Normal file
View file

@ -0,0 +1,28 @@
# Template file for 'decibels'
pkgname=decibels
version=48.0
revision=1
build_style=meson
hostmakedepends="blueprint-compiler desktop-file-utils gettext gjs glib-devel
gtk4-update-icon-cache nodejs pkg-config"
makedepends="gjs-devel libadwaita-devel"
depends="gjs gst-plugins-good1 libadwaita"
checkdepends="appstream-glib"
short_desc="Play audio files"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://apps.gnome.org/Decibels/"
changelog="https://gitlab.gnome.org/GNOME/decibels/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/decibels/${version%.*}/decibels-${version}.tar.xz"
checksum=229b11a9263147bcb8c3e21ff0d4af659fb26262f8aece547adcf8c65e031f74
pre_configure() {
npm i typescript
export PATH="$PATH:$(pwd)/node_modules/.bin"
}
pre_build() {
if [ "$CROSS_BUILD" ]; then
export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
fi
}