5 Commits

4 changed files with 19 additions and 6 deletions

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1742639832
commit: 0512785c5b9829d0fe65670b22c5df7fc4cf152e1f337ca344b871c7e89510b7
url: https://src.opensuse.org/jengelh/doomsday
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4127c1b4249912ade31c3910f6254a70c0433af63a230d81872a2a481b047693
size 256

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Mar 22 10:28:04 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Make build recipe POSIX sh compatible
- Use system assimp library [boo#1239917]
-------------------------------------------------------------------
Sat Jun 26 09:31:57 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package doomsday
#
# Copyright (c) 2021 SUSE LLC
# 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
@@ -44,6 +44,7 @@ BuildRequires: pkgconfig(Qt5OpenGLExtensions)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(assimp)
BuildRequires: pkgconfig(fluidsynth)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(minizip)
@@ -55,11 +56,9 @@ BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xxf86vm)
# Mesa 9.2 has OpenGL 3.1, and doomsday 2.0 needs that.
Requires: Mesa-libGL1 >= 9.2
# Doomsday uses a modified version of assimp, so no pkgconfig(assimp) here :-(
Provides: jdoom = %version-%release
Provides: jheretic = %version-%release
Provides: jhexen = %version-%release
Provides: bundled(assimp) = 3.3.1
Obsoletes: deng < %version-%release
Provides: deng = %version-%release
@@ -71,19 +70,20 @@ and Hexen. It does not support BOOM extensions.
%autosetup -p1 -n Doomsday-Engine-%version
%build
pushd doomsday
cd doomsday
%cmake \
%ifarch aarch64 %arm
-DDENG_OPENGL_API=GLES3 \
%endif
-DDENG_ASSIMP_EMBEDDED:BOOL=OFF \
-DCMAKE_SKIP_RPATH:BOOL=ON
%make_build -O
%install
b="%buildroot"
pushd doomsday/
cd doomsday/
%cmake_install
popd
d="$b/%_libdir/doomsday"
rm -Rf "$b/%_includedir" "$b/%_libdir/cmake" "$b/%_datadir/doc/texc" \
"$d/cmake" "$d/pkgconfig" "$d"/*.a