decibels/decibels.spec
Muhammad Akbar Yanuar Mantari a88f6102f3 Accepting request 1166809 from home:mantarimay:branches:multimedia:apps
- Update to version 46.0
  * Decibels joined GNOME Incubator
  * The application ID changed to org.gnome.Decibels
  * The application's source code is now hosted on GNOME Gitlab's
    instance instead of GitHub
  * Only the header bar is now draggable, instead of the whole app
    window
  * The app is more secure because it only uses the needed sandbox
    permissions
  * Decibels no longer incorrectly advertises being able to open
    directories
  * The waveform now looks better because it has slightly thicker
    lines
  * Fixed crashes when handling invalid audio files
  * Added keyboard controls for controlling playback
  * It is now possible to scroll on the playback bar to seek
    forwards or backwards
  * Decibels now shows the correct track's durations reliably
    instead of showing 1:40
  * The design of the app was improved with new icons and papercut
    fixes
  * Added Spanish and updated the Chinese, Russian and Ukrainian
    translations
- Update submodule gi-types to commit 94acb630
- Add typelib(Adw) and blueprint-compiler BuildRequires: fix build
  requirements version 46.0

OBS-URL: https://build.opensuse.org/request/show/1166809
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/decibels?expand=0&rev=11
2024-04-11 09:41:11 +00:00

81 lines
2.3 KiB
RPMSpec

#
# spec file for package decibels
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname org.gnome.Decibels
%define sname gi-typescript-definitions
%define scommit 94acb6307e8d467cd9b3e340a18431496636b8f6
Name: decibels
Version: 46.0
Release: 0
Summary: Play audio files with a waveform
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/Incubator/decibels
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2
Source1: https://gitlab.gnome.org/BrainBlasted/%{sname}/-/archive/%{scommit}/%{sname}-%{scommit}.tar.bz2
BuildRequires: appstream-glib
BuildRequires: blueprint-compiler
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme
BuildRequires: meson >= 0.62.0
BuildRequires: typescript
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gjs-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: typelib(Adw)
Requires: typelib(GstPlay)
Provides: bundled(gi-types)
BuildArch: noarch
%description
App that lets you play audio files.
It has a modern and adaptive interface, with a waveform, simple playback controls,
and the ability to control the speed at which the audio is played.
%lang_package
%prep
%setup -q
tar -xf %{SOURCE1} --strip-components 1 -C gi-types
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{lname}
%check
%files
%license LICENCE
%doc README*
%{_bindir}/%{lname}
%dir %{_datadir}/%{lname}
%{_datadir}/%{lname}/%{lname}*
%{_datadir}/applications/%{lname}.desktop
%{_datadir}/icons/hicolor/*/*/%{lname}*
%{_datadir}/metainfo/%{lname}.metainfo.xml
%{_datadir}/glib-2.0/schemas/%{lname}.gschema.xml
%{_datadir}/dbus-1/services/%{lname}.service
%files lang -f %{lname}.lang
%changelog