media-sound/decibels: new package, add 49.6.1

Signed-off-by: Bjorn Ferson <bjorn.megaflow@gmail.com>
This commit is contained in:
Bjorn Ferson
2026-06-21 19:35:12 +02:00
parent 8b9369ccf8
commit 652e0cc245
4 changed files with 89 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST decibels-49.6.1.tar.xz 601100 BLAKE2B 674d1ebf981ab2435a881e0f7bdd19ca99e42a62f0485d48abab6a8c5d31bb3ecc8089b29c8a61e65105fec9da22f9a20bd09150d84a8dc204da74146ece4dd5 SHA512 a21b338a1035a7b75dfa5a45bf70152ea10702ad2e9b0c30895dda07e470194049e6bb2f5b20484e59b0548b59ccec35eba83688fc895394abc373f3db679001

View File

@@ -0,0 +1,58 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org gnome2-utils meson xdg
DESCRIPTION="Play audio files"
HOMEPAGE="https://gitlab.gnome.org/GNOME/decibels"
LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-libs/glib-2.32:2
>=dev-libs/gobject-introspection-1.82.0-r2:=
>=gui-libs/gtk-4.5:4
>=dev-libs/gjs-1.71.0
>=app-misc/geoclue-2.3.1:2.0
>=gui-libs/libadwaita-1.4_alpha:1=
media-libs/gstreamer
media-libs/gst-plugins-bad
media-libs/gst-plugins-base
media-libs/gst-plugins-good
"
RDEPEND="${DEPEND}
gnome-base/gsettings-desktop-schemas
"
BDEPEND="
dev-libs/appstream-glib
dev-util/blueprint-compiler
dev-lang/typescript
dev-build/meson
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/001-typescript.patch
)
src_configure() {
meson_src_configure -Dprofile=default
}
src_install () {
meson_install
dosym -r /usr/bin/org.gnome.Decibels /usr/bin/decibels
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

View File

@@ -0,0 +1,19 @@
diff -up decibels-49.6.1/tsconfig.json.depr decibels-49.6.1/tsconfig.json
--- decibels-49.6.1/tsconfig.json.depr 2026-04-21 08:56:01.890568440 +0200
+++ decibels-49.6.1/tsconfig.json 2026-04-21 08:55:08.643312808 +0200
@@ -8,6 +8,7 @@
"allowJs": true,
"checkJs": true,
"outDir": "_build/tsc-out",
+ "rootDir": "src",
"strict": true,
"moduleResolution": "node",
"baseUrl": ".",
@@ -23,6 +24,7 @@
],
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
+ "ignoreDeprecations": "6.0",
},
"include": [
"gi-types/gi.d.ts",

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>bjorn.megaflow@gmail.com</email>
<name>Björn</name>
</maintainer>
<upstream>
<remote-id type="gnome-gitlab">GNOME/decibels</remote-id>
</upstream>
</pkgmetadata>