Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a04f56d48 |
2 changed files with 18 additions and 0 deletions
14
ags-sdl2_sound.patch
Normal file
14
ags-sdl2_sound.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
diff -up ags-3.6.0.56/Engine/Makefile-defs.linux.sdl2_sound ags-3.6.0.56/Engine/Makefile-defs.linux
|
||||||
|
--- ags-3.6.0.56/Engine/Makefile-defs.linux.sdl2_sound 2024-01-19 17:37:12.929782340 +0100
|
||||||
|
+++ ags-3.6.0.56/Engine/Makefile-defs.linux 2024-01-19 17:47:24.587125274 +0100
|
||||||
|
@@ -30,8 +30,8 @@ else
|
||||||
|
endif
|
||||||
|
LIBS += $(shell pkg-config --libs vorbisfile)
|
||||||
|
|
||||||
|
-SDL2_SOUND_CFLAGS = $(shell pkg-config --cflags SDL2_sound)
|
||||||
|
-SDL2_SOUND_LIBS = $(shell pkg-config --libs SDL2_sound)
|
||||||
|
+SDL2_SOUND_CFLAGS = $(shell pkg-config --cflags SDL2_sound || echo)
|
||||||
|
+SDL2_SOUND_LIBS = $(shell pkg-config --libs SDL2_sound || echo "-lSDL2_sound")
|
||||||
|
|
||||||
|
SDL2_CFLAGS = $(shell sdl2-config --cflags)
|
||||||
|
SDL2_LIBS = $(shell sdl2-config --libs)
|
||||||
4
ags.spec
4
ags.spec
|
|
@ -15,6 +15,8 @@ Version: 3.6.0.56
|
||||||
URL: http://www.adventuregamestudio.co.uk/site/ags/
|
URL: http://www.adventuregamestudio.co.uk/site/ags/
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Source0: https://github.com/adventuregamestudio/ags/archive/%{fver}/ags-%{fver}.tar.gz
|
Source0: https://github.com/adventuregamestudio/ags/archive/%{fver}/ags-%{fver}.tar.gz
|
||||||
|
# use SDL2_sound without pkg-config
|
||||||
|
Patch0: %{name}-sdl2_sound.patch
|
||||||
# unbundle freetype
|
# unbundle freetype
|
||||||
Patch2: %{name}-use-system-freetype.patch
|
Patch2: %{name}-use-system-freetype.patch
|
||||||
# use openal-soft
|
# use openal-soft
|
||||||
|
|
@ -67,6 +69,7 @@ since continued to be developed by contributors.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .sdl2_sound
|
||||||
%if %{with freetype}
|
%if %{with freetype}
|
||||||
%patch2 -p1 -b .noft
|
%patch2 -p1 -b .noft
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -117,6 +120,7 @@ make V=1 -C Engine PREFIX=%{buildroot}%{_prefix} install
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jan 19 2024 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.56-1
|
* Fri Jan 19 2024 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.56-1
|
||||||
- update to 3.6.0.56
|
- update to 3.6.0.56
|
||||||
|
- fix build with SDL2_sound 2.0.1
|
||||||
|
|
||||||
* Fri Sep 01 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.51-1
|
* Fri Sep 01 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.51-1
|
||||||
- update to 3.6.0.51
|
- update to 3.6.0.51
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue