1
0
forked from pool/sdl12_compat

Accepting request 982792 from games

- Require x11 and xorgproto just like SDL-devel.
- Depend on the actual libSDL2 library which is being dlopen()'ed.
- Require pkgconfig(gl) and pkgconfig)glu) from the devel package,
  as our headers include GL/gl.h and GL/glu.h (boo#1200562).

OBS-URL: https://build.opensuse.org/request/show/982792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdl12_compat?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2022-06-17 19:18:31 +00:00 committed by Git OBS Bridge
commit cecea03b73
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jun 15 12:12:01 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Require x11 and xorgproto just like SDL-devel.
-------------------------------------------------------------------
Wed Jun 15 10:57:30 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Depend on the actual libSDL2 library which is being dlopen()'ed.
- Require pkgconfig(gl) and pkgconfig)glu) from the devel package,
as our headers include GL/gl.h and GL/glu.h (boo#1200562).
-------------------------------------------------------------------
Tue May 17 07:44:55 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -43,6 +43,7 @@ against SDL 1.2, but it uses SDL 2.0 behind the scenes.
Summary: SDL Graphics Routines for Primitives and Other Support Functions
Group: System/Libraries
Conflicts: libSDL-1_2-0
%requires_eq %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libSDL2.so))
%description -n %lname
This is the "Simple DirectMedia Layer" library built from sdl12_compat.
@ -53,6 +54,10 @@ against SDL 1.2, but it uses SDL 2.0 behind the scenes.
Summary: Libraries, includes and more to develop SDL-1.2 applications
Group: Development/Libraries/X11
Requires: %lname = %version
Requires: pkgconfig(gl)
Requires: pkgconfig(glu)
Requires: pkgconfig(x11)
Requires: pkgconfig(xproto)
Conflicts: SDL-devel
Provides: SDL-devel = %version-%release
Provides: libSDL-devel = %version-%release