forked from pool/gzdoom
Compare commits
13 Commits
Author | SHA256 | Date | |
---|---|---|---|
2988733716 | |||
8e0ba023d0 | |||
|
187365230f | ||
890d2f82b8 | |||
|
15fe70a97f | ||
02b0200282 | |||
|
70e60b8154 | ||
ab29535306 | |||
|
d026e87dae | ||
|
fe374f3e80 | ||
748f0a368c | |||
1032c2a07e | |||
82f7f08c51 |
@@ -29,7 +29,7 @@ Index: gzdoom-g4.12.2/CMakeLists.txt
|
||||
endif()
|
||||
|
||||
-set( LZMA_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libraries/lzma/C" )
|
||||
+pkg_check_modules(LZMA REQUIRED lzma-sdk)
|
||||
+pkg_check_modules(LZMA REQUIRED clzma)
|
||||
|
||||
if( NOT CMAKE_CROSSCOMPILING )
|
||||
if( NOT CROSS_EXPORTS )
|
||||
|
@@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 24 12:41:33 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Adjust gzdoom-lzma.patch for changes in the lzma-sdk package's
|
||||
lzma-sdk-shlib.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 03:47:23 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
10
gzdoom.spec
10
gzdoom.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gzdoom
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -46,10 +46,10 @@ BuildRequires: pkgconfig(openal)
|
||||
BuildRequires: pkgconfig(sdl2) >= 2.0.6
|
||||
BuildRequires: pkgconfig(vpx)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%if 0%{?suse_version} >= 1650
|
||||
BuildRequires: pkgconfig(lzma-sdk) >= 23.01
|
||||
%if 0%{?suse_version} >= 1599
|
||||
BuildRequires: pkgconfig(clzma) >= 23.01
|
||||
%else
|
||||
Provides: bundled(lzma-sdk) = 23.01
|
||||
Provides: bundled(clzma) = 23.01
|
||||
%endif
|
||||
Provides: qzdoom = 1.3.0
|
||||
Provides: zdoom = 2.8.1
|
||||
@@ -79,7 +79,7 @@ SSE2 is a hard requirement even on 32-bit x86.
|
||||
|
||||
%prep
|
||||
%autosetup -n %name-g%version -p1
|
||||
%if 0%{?suse_version} < 1690
|
||||
%if 0%{?suse_version} < 1600
|
||||
# system lzma-sdk too old, use bundled copy
|
||||
%patch -P 5 -R -p1
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user