forked from pool/sdl12_compat
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
ced8ec2fc5 | |||
|
3ea33b30b8 | ||
|
189bd2070b | ||
842d44b030 | |||
|
222e64fddc | ||
ab5869e2fa |
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1741853942
|
||||||
|
commit: a365ca992c705fa4e65e913f69bc654177f2702a7fcf99d50eb7ccd590acea19
|
||||||
|
url: https://src.opensuse.org/jengelh/sdl12_compat
|
||||||
|
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:a2e0bccb1243422a18a238dd0ad47cd40db663a0048164d8941219e87163e2f4
|
||||||
|
size 256
|
@@ -1 +1,11 @@
|
|||||||
addFilter("shlib-fixed-dependency")
|
# lto go home you're drunk
|
||||||
|
addFilter("lto-no-text-in-archive")
|
||||||
|
|
||||||
|
# another false positive
|
||||||
|
# [ 40s] sdl12_compat-devel.x86_64: E: no-library-dependency-for /usr/lib64/libSDL-1.2.so
|
||||||
|
# [ 40s] The package misses dependency on a library package that provides the shared
|
||||||
|
# [ 40s] library.
|
||||||
|
addFilter("no-library-dependency-for")
|
||||||
|
|
||||||
|
# only triggers on 15.3, hmm
|
||||||
|
addFilter("shlib-policy-name-error")
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Sun Mar 30 02:13:56 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Document workaround for Leap 15's not-so-capable pkg-config.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 13 08:18:46 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
Thu Mar 13 08:18:46 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@@ -45,7 +45,7 @@ against SDL 1.2, but it uses SDL 2.0 behind the scenes.
|
|||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
%requires_eq libSDL2-2_0-0
|
%requires_eq %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libSDL2.so))
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %lname
|
||||||
This is the "Simple DirectMedia Layer" library built from sdl12_compat.
|
This is the "Simple DirectMedia Layer" library built from sdl12_compat.
|
||||||
@@ -78,13 +78,11 @@ library.
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
%if 0%{?suse_version} < 1600
|
|
||||||
# pkgconfig 0.x does not know "Provides" lines; work around it.
|
|
||||||
ln -s sdl12_compat.pc "$b/%_libdir/pkgconfig/sdl.pc"
|
ln -s sdl12_compat.pc "$b/%_libdir/pkgconfig/sdl.pc"
|
||||||
%endif
|
|
||||||
rm -v "$b/%_libdir"/*.a
|
rm -v "$b/%_libdir"/*.a
|
||||||
|
|
||||||
%ldconfig_scriptlets -n %lname
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
Reference in New Issue
Block a user