mirror of
https://abf.rosa.ru/djam/fheroes2.git
synced 2025-02-23 17:52:50 +00:00
0.9.15
This commit is contained in:
parent
03309d42e5
commit
165e0c7f1c
1 changed files with 6 additions and 2 deletions
|
@ -20,6 +20,8 @@ BuildRequires: pkgconfig(SDL2_mixer)
|
||||||
BuildRequires: pkgconfig(SDL2_net)
|
BuildRequires: pkgconfig(SDL2_net)
|
||||||
BuildRequires: pkgconfig(SDL2_ttf)
|
BuildRequires: pkgconfig(SDL2_ttf)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
BuildRequires: clang
|
||||||
|
BuildRequires: cmake
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Free implementation of Heroes of the Might and Magic II engine.
|
Free implementation of Heroes of the Might and Magic II engine.
|
||||||
|
@ -38,9 +40,11 @@ into your /usr/share/games/fheroes2/{maps,data} directories respectively.
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%setup_compile_flags
|
%setup_compile_flags
|
||||||
|
#cmake
|
||||||
|
export CXX=clang++
|
||||||
|
export CC=clang
|
||||||
%make \
|
%make \
|
||||||
WITH_AI=simple \
|
WITH_AI=simple \
|
||||||
WITH_SDL2="ON" \
|
WITH_SDL2="ON" \
|
||||||
|
@ -58,7 +62,7 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||||
# 2) install what we need where we need it
|
# 2) install what we need where we need it
|
||||||
install -pm 755 src/dist/%{name} %{buildroot}%{_gamesbindir}/%{name}.bin
|
install -pm 755 src/dist/%{name} %{buildroot}%{_gamesbindir}/%{name}.bin
|
||||||
install -pm 755 %{SOURCE2} %{buildroot}%{_gamesbindir}/%{name}
|
install -pm 755 %{SOURCE2} %{buildroot}%{_gamesbindir}/%{name}
|
||||||
install -pm 644 %{name}.key %{buildroot}%{_gamesdatadir}/%{name}/
|
#install -pm 644 %{name}.key %{buildroot}%{_gamesdatadir}/%{name}/
|
||||||
install -pm 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
install -pm 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||||
install -pm 644 %{SOURCE4} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
install -pm 644 %{SOURCE4} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
install -pm 644 %{SOURCE5} %{buildroot}%{_gamesdatadir}/%{name}/
|
install -pm 644 %{SOURCE5} %{buildroot}%{_gamesdatadir}/%{name}/
|
||||||
|
|
Loading…
Add table
Reference in a new issue