[info=c483c5a77095401301c096df17a98b0c4beeda4a568bcddc15711a78c1ebbd25]
OBS-URL: https://build.opensuse.org/package/show/games/SDL2_sound?expand=0&rev=7
This commit is contained in:
commit
de658a8f9a
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
|
30
SDL2_sound.changes
Normal file
30
SDL2_sound.changes
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 3 08:41:06 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 2.0.2
|
||||||
|
* No further changes from the last snapshot 2.0.1+g60
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 25 05:54:59 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to snapshot 2.0.1+g60 (53f66a30)
|
||||||
|
* Avoid division by zero with certain uncompressed WAV files
|
||||||
|
* A pkgconfig file was added
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 30 13:26:51 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Move to 2.0.1.g17 (df3fc77)
|
||||||
|
* Resolve build failures on Leap 15.3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 26 13:11:24 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- New package SDL2_sound for build.opensuse.org. In comparison to
|
||||||
|
SDL_sound (1.x):
|
||||||
|
* Removed support for QuickTime, Speex and MikMod
|
||||||
|
* SDL_sound 2's public API has not changed at all from 1.x
|
||||||
|
* SDL_sound.h requires SDL2 now (can't mix SDL2_sound with SDL1)
|
||||||
|
* The library name changed to -lSDL2_sound
|
||||||
|
- Drop SDL_sound-1.0.3-nompglib.patch, no longer applies
|
||||||
|
- Drop baselibs.conf
|
93
SDL2_sound.spec
Normal file
93
SDL2_sound.spec
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
#
|
||||||
|
# spec file for package SDL2_sound
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: SDL2_sound
|
||||||
|
%define lname libSDL2_sound2
|
||||||
|
Version: 2.0.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: http://icculus.org/SDL_sound/
|
||||||
|
|
||||||
|
Source: https://github.com/icculus/SDL_sound/archive/refs/tags/v%version.tar.gz
|
||||||
|
BuildRequires: c_compiler
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: pkgconfig(sdl2)
|
||||||
|
Provides: bundled(dr_flac) = 0.12.37
|
||||||
|
Provides: bundled(dr_mp3) = 0.6.32
|
||||||
|
Provides: bundled(libmodplug)
|
||||||
|
Provides: bundled(stb_vorbis) = 1.22
|
||||||
|
|
||||||
|
%description
|
||||||
|
SDL_sound is a library that handles the decoding of several popular
|
||||||
|
sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just
|
||||||
|
play a file or alternatively decode a file and hand back a single
|
||||||
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
||||||
|
on-the-fly and behind-the-scenes.
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
SDL_sound is a library that handles the decoding of several popular
|
||||||
|
sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just
|
||||||
|
play a file or alternatively decode a file and hand back a single
|
||||||
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
||||||
|
on-the-fly and behind-the-scenes.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for the SDL sound sample library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %lname = %version
|
||||||
|
Requires: pkgconfig(sdl2)
|
||||||
|
Conflicts: SDL_sound-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
SDL_sound is a library that handles the decoding of several popular
|
||||||
|
sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just
|
||||||
|
play a file or alternatively decode a file and hand back a single
|
||||||
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
||||||
|
on-the-fly and behind-the-scenes.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n SDL_sound-%version -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -DSDLSOUND_BUILD_STATIC:BOOL=OFF
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%license LICENSE.txt
|
||||||
|
%_libdir/lib*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%_bindir/playsound*
|
||||||
|
%_includedir/SDL2/
|
||||||
|
%_libdir/cmake/
|
||||||
|
%_libdir/lib*.so
|
||||||
|
%_libdir/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%changelog
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1699046440
|
||||||
|
commit: c483c5a77095401301c096df17a98b0c4beeda4a568bcddc15711a78c1ebbd25
|
||||||
|
url: https://src.opensuse.org/jengelh/SDL2_sound
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a5cfcb58a429dde01af3f64c17baa1b5f6ec16ae285c474f298d2d55e8d8b77f
|
||||||
|
size 256
|
3
v2.0.2.tar.gz
Normal file
3
v2.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5f92600de48ec640985d13e50d111af9ac30be797bc9a36eafa5d8cecc7e1f60
|
||||||
|
size 459868
|
Loading…
x
Reference in New Issue
Block a user