Sync from SUSE:SLFO:Main gsound revision 8cbf32f412bb4c2b22131f98cca857d7

This commit is contained in:
Adrian Schröter 2024-05-03 13:20:29 +02:00
commit dcfaf2330b
4 changed files with 187 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

BIN
gsound-1.0.3.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

46
gsound.changes Normal file
View File

@ -0,0 +1,46 @@
-------------------------------------------------------------------
Thu Aug 19 08:15:55 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.0.3:
+ gsound-play: Call setlocale in main function (bgo#760429).
+ Add meson build system.
- Drop gsound-gsound-play-Call-setlocale.patch: Fixed upstream.
- Add gtk-doc and meson BuildRequires and macros following
upstreams port.
-------------------------------------------------------------------
Thu Feb 21 11:30:48 UTC 2019 - bjorn.lie@gmail.com
- Add gsound-gsound-play-Call-setlocale.patch: gsound-play: Call
setlocale in main function. It is required to correctly show
translated messages on some locales (bgo#760429).
- Run spec-cleaner, modernize spec.
-------------------------------------------------------------------
Mon Mar 5 14:52:47 UTC 2018 - jengelh@inai.de
- Fix SRPM group. Ensure neutrality of descriptions.
-------------------------------------------------------------------
Wed Feb 28 23:40:47 UTC 2018 - dimstar@opensuse.org
- Package COPYING as %license instead of %doc.
-------------------------------------------------------------------
Mon Nov 2 09:54:30 UTC 2015 - zaitor@opensuse.org
- Update to version 1.0.2:
+ build:
- Fix ChangeLog generation.
- Use (much) more strict warning flags.
- Fix configure.ac slightly.
- Don't use deprecated gnome-autogen.sh.
- Remove unnecessary Vala dependency on libcanberra.
+ admin: Fix typos in README.md.
+ docs: document the object struct.
-------------------------------------------------------------------
Fri Nov 28 20:48:49 UTC 2014 - zaitor@opensuse.org
- Initial packaging.

115
gsound.spec Normal file
View File

@ -0,0 +1,115 @@
#
# spec file for package gsound
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2014 Bjørn Lie, Bryne, Norway.
#
# 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 soname lib%{name}0
Name: gsound
Version: 1.0.3
Release: 0
Summary: A library for playing system sounds
License: LGPL-2.1-only
Group: Development/Libraries/GNOME
URL: https://wiki.gnome.org/Projects/GSound
Source0: https://download.gnome.org/sources/gsound/1.0/gsound-%{version}.tar.xz
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libcanberra)
BuildRequires: pkgconfig(vapigen)
%description
GSound is a library for playing system sounds.
It's designed to be used via GObject Introspection,
and is a wrapper around the libcanberra C library.
%package -n %{soname}
Summary: Shared library for gsound
Group: System/Libraries
%description -n %{soname}
GSound is a library for playing system sounds.
It's designed to be used via GObject Introspection,
and is a wrapper around the libcanberra C library.
This package provides the shared library for gsound.
%package -n typelib-1_0-GSound-1_0
Summary: Gobject introspection files for gsound
Group: System/Libraries
%description -n typelib-1_0-GSound-1_0
GSound is a library for playing system sounds.
It's designed to be used via GObject Introspection,
and is a wrapper around the libcanberra C library.
%package devel
Summary: Development files for gsound
Group: Development/Libraries/C and C++
Requires: %{soname} = %{version}
Requires: typelib-1_0-GSound-1_0 = %{version}
%description devel
GSound is a library for playing system sounds.
It's designed to be used via GObject Introspection,
and is a wrapper around the libcanberra C library.
This package provides files needed for developing
applications with gsound.
%prep
%autosetup -p1
%build
%meson \
-Dgtk_doc=true \
%{nil}
%meson_build
%install
%meson_install
%post -n %{soname} -p /sbin/ldconfig
%postun -n %{soname} -p /sbin/ldconfig
%files
%doc ChangeLog README
%{_bindir}/gsound-play
%{_mandir}/man1/gsound-play.1%{ext_man}
%files -n %{soname}
%license COPYING
%{_libdir}/libgsound.so.*
%files devel
%{_datadir}/gir-1.0/GSound-1.0.gir
%{_datadir}/gtk-doc/html/gsound-%{version}/
%{_datadir}/vala/vapi/gsound.deps
%{_datadir}/vala/vapi/gsound.vapi
%{_includedir}/gsound.h
%{_includedir}/gsound-attr.h
%{_includedir}/gsound-context.h
%{_libdir}/libgsound.so
%{_libdir}/pkgconfig/gsound.pc
%files -n typelib-1_0-GSound-1_0
%{_libdir}/girepository-1.0/GSound-1.0.typelib
%changelog