forked from pool/SDL2_sound
Accepting request 966039 from home:jengelh:dev
OBS-URL: https://build.opensuse.org/request/show/966039 OBS-URL: https://build.opensuse.org/package/show/games/SDL2_sound?expand=0&rev=1
This commit is contained in:
commit
1049f9117c
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
|
17
SDL2_sound.changes
Normal file
17
SDL2_sound.changes
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
92
SDL2_sound.spec
Normal file
92
SDL2_sound.spec
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
#
|
||||||
|
# spec file for package SDL2_sound
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: SDL2_sound
|
||||||
|
%define lname libSDL2_sound2
|
||||||
|
Version: 2.0.1.g17
|
||||||
|
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
|
||||||
|
Source: SDL_sound-%version.tar.xz
|
||||||
|
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/lib*.so
|
||||||
|
|
||||||
|
%changelog
|
3
SDL_sound-2.0.1.g17.tar.xz
Normal file
3
SDL_sound-2.0.1.g17.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:46ab5fcbb99f8a520b667870f80028533e21a24766032be1595a9acd6e6b9c6e
|
||||||
|
size 342612
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="filename">SDL_sound</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/icculus/SDL_sound</param>
|
||||||
|
<param name="revision">df3fc779774c2c5dc1147239da1af858c88f1a74</param>
|
||||||
|
<param name="parent-tag">v2.0.1</param>
|
||||||
|
<param name="versionformat">2.0.1.g@TAG_OFFSET@</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
Loading…
Reference in New Issue
Block a user