Initial package
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mousai?expand=0&rev=1
This commit is contained in:
commit
bdadaae54f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
mousai-0.7.8.tar.xz
Normal file
3
mousai-0.7.8.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af67ace9feccb13ec3a5d3891431985684fa42f623dad3b6032db1369e6c7a3d
|
||||
size 8617796
|
5
mousai.changes
Normal file
5
mousai.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 28 21:10:41 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
|
||||
|
||||
- Initial package
|
||||
|
81
mousai.spec
Normal file
81
mousai.spec
Normal file
@ -0,0 +1,81 @@
|
||||
#
|
||||
# spec file for package mousai
|
||||
#
|
||||
# Copyright (c) 2024 mantarimay
|
||||
# Copyright (c) 2022 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 _lto_cflags %{nil}
|
||||
Name: mousai
|
||||
Version: 0.7.8
|
||||
Release: 0
|
||||
Summary: Identify songs in seconds
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/SeaDve/Mousai
|
||||
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||
BuildRequires: appstream-glib
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: libxml2-tools
|
||||
BuildRequires: meson
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(libsoup-3.0)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-player-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
||||
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
||||
|
||||
%description
|
||||
Discover songs you are aching to know with an easy-to-use interface.
|
||||
|
||||
Mousai is a simple application that can recognize songs similar to Shazam.
|
||||
Just click the listen button, and then wait a few seconds. It will magically
|
||||
return the title and artist of that song!
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}%{_datadir}/metainfo/*.metainfo.xml
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
||||
%{_datadir}/icons/*/*/*/*.svg
|
||||
%{_datadir}/metainfo/*.metainfo.xml
|
||||
%{_datadir}/mousai/
|
||||
|
||||
%files lang -f mousai.lang
|
||||
#incorrect-locale-subdir
|
||||
%exclude %{_datadir}/locale/zh_Han{s,t}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user