Skip to content

New package: decibels-48.0 #54784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions srcpkgs/decibels/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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 <[email protected]>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/decibels"
_commit=dbbaa0527556cd3ce5434c4a5072cd99348eff7a
distfiles="https://gitlab.gnome.org/GNOME/decibels/-/archive/${version}/decibels-${version}.tar.gz
https://gitlab.gnome.org/BrainBlasted/gi-typescript-definitions/-/archive/${_commit}/gi-typescript-definitions-${_commit}.tar.gz>${_commit}.tar.gz"
checksum="1ffe2c4ab2502314c74f017f2b58b9d110548a9cbc237096e6712e67c03b2e10
6c625c8a01bd15e9f35fd6ea6823b5afb2288e6a40e34d852d37b6fa0fa51e57"
skip_extraction="${_commit}.tar.gz"

post_extract() {
vsrcextract -C gi-types "${_commit}.tar.gz"
}

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
}