This commit is contained in:
Sergey Zhemoytel 2022-07-12 09:52:58 +03:00
parent 92539f3dae
commit b5c0619a36
2 changed files with 8 additions and 7 deletions

View file

@ -1,3 +1,3 @@
sources: sources:
fheroes2-0.9.16.tar.gz: a2aeb691c00d83134ec85d45f18dca7f6396b7e6 fheroes2-0.9.17.tar.gz: a0a1321405c43946d5b3e184d4fcdd307f674aad
fheroes2.png: 29369e838940593d9fe23321903f40d58f4f1d6c fheroes2.png: 29369e838940593d9fe23321903f40d58f4f1d6c

View file

@ -4,7 +4,7 @@
Summary: Free implementation of Heroes of the Might and Magic II engine Summary: Free implementation of Heroes of the Might and Magic II engine
Name: fheroes2 Name: fheroes2
Epoch: 1 Epoch: 1
Version: 0.9.16 Version: 0.9.17
Release: 1 Release: 1
License: GPLv2+ License: GPLv2+
Group: Games/Strategy Group: Games/Strategy
@ -24,7 +24,7 @@ BuildRequires: pkgconfig(SDL2_net)
BuildRequires: pkgconfig(SDL2_ttf) BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
BuildRequires: clang BuildRequires: clang
BuildRequires: cmake BuildRequires: cmake >= 3.20
%description %description
Free implementation of Heroes of the Might and Magic II engine. Free implementation of Heroes of the Might and Magic II engine.
@ -48,10 +48,11 @@ into your /usr/share/games/fheroes2/{maps,data} directories respectively.
#cmake #cmake
export CXX=clang++ export CXX=clang++
export CC=clang export CC=clang
%make \ %cmake
WITH_AI=simple \ #make \
WITH_SDL2="ON" \ # WITH_AI=simple \
CONFIGURE_FHEROES2_DATA="%{_gamesdatadir}/%{name}/" # WITH_SDL2="ON" \
# CONFIGURE_FHEROES2_DATA="%{_gamesdatadir}/%{name}/"
%install %install