Package Details: fheroes2-git r1763.92ad831d-1

Git Clone URL: https://aur.archlinux.org/fheroes2-git.git (read-only, click to copy)
Package Base: fheroes2-git
Description: Free implementation of Heroes of the Might and Magic II engine
Upstream URL: https://github.com/ihhub/fheroes2
Licenses: GPL
Conflicts: fheroes2-svn
Submitter: sergej
Maintainer: sergej
Last Packager: sergej
Votes: 7
Popularity: 0.000033
First Submitted: 2020-08-03 21:47 (UTC)
Last Updated: 2021-07-29 20:27 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

qark commented on 2021-07-27 20:17 (UTC)

Actually tinyxml, sdl2_net and sdl2_ttf (since you use master branch) are not needed anymore.

fheroes2.desktop could be installed from script/packaging/common.

Probably switch to cmake is a little bit early. It doesn't support translations yet. However you can build them using make -C files/lang.

sergej commented on 2021-07-27 20:06 (UTC)

I've switched it to cmake it looks like ~/.fheroes2 is not needed anymore

qark commented on 2021-02-24 17:46 (UTC)

Please add tinyxml dependency and WITHOUT_BUNDLED_LIBS=1 flag to make.

qark commented on 2021-02-07 12:34 (UTC)

Package should depend on git, not subversion for make. As of 0.9 uses sdl2 by default.

BujuArena commented on 2020-09-22 20:05 (UTC)

I'm getting this at the end of my build:

install: cannot stat 'image/fheroes2_32x32.png': No such file or directory

EreTIk commented on 2020-08-06 16:43 (UTC)

Please add the aarch64 platform:

$ git diff
diff --git a/PKGBUILD b/PKGBUILD
index baa6112..5fd6412 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgver() {
 }
 pkgrel=1
 pkgdesc="Free implementation of Heroes of the Might and Magic II engine"
-arch=('i686' 'x86_64' 'armv7h')
+arch=('i686' 'x86_64' 'armv7h' 'aarch64')
 url="https://github.com/ihhub/fheroes2"
 license=('GPL')
 depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf')

Test: OK

sergej commented on 2020-08-03 21:48 (UTC)

fheroes2-git

qark commented on 2020-08-03 20:22 (UTC)

Direct continuation of project is developed now at https://github.com/ihhub/fheroes2.

fenuks commented on 2018-09-19 19:36 (UTC)

It doesn't build for me. I needed to alter PKGBUILD a bit to get it built.

diff --git a/PKGBUILD b/PKGBUILD
index e918436..024d512 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>

 pkgname=fheroes2-svn
-pkgver=0.r3279
+pkgver=0.r3279M
 pkgrel=1
 pkgdesc="Free implementation of Heroes of the Might and Magic II engine"
 arch=('i686' 'x86_64' 'armv7h')
@@ -9,7 +9,7 @@ url="https://sourceforge.net/projects/fheroes2/"
 license=('GPL')
 depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf')
 makedepends=('subversion' 'gettext')
-source=(svn+https://fheroes2.svn.sourceforge.net/svnroot/fheroes2/trunk/fheroes2 
+source=(fheroes2::svn+https://svn.code.sf.net/p/fheroes2/code/trunk
         fheroes2.desktop
         fheroes2.sh)
 install=fheroes2.install
@@ -23,19 +23,19 @@ pkgver() {
 }

 build() {
-  cd "$srcdir/fheroes2/src"
+  cd "$srcdir/fheroes2/fheroes2/src"
   sed -i 's/libpng12-config/libpng14-config/g' Makefile
   sed -i '30i#include <unistd.h>' fheroes2/dialog/dialog_selectfile.cpp
   make RELEASE=1 WITH_AI=simple
 }

 package() {
-  cd "$srcdir/fheroes2"
+  cd "$srcdir/fheroes2/fheroes2"
   install -Dm755 "$srcdir/fheroes2.sh" "$pkgdir/usr/bin/fheroes2"
   install -Dm644 "$srcdir/fheroes2.desktop" "$pkgdir/usr/share/applications/fheroes2.desktop"
-  install -Dm644 "$srcdir/fheroes2/image/fheroes2_32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/fheroes2.png"
-  install -Dm755 "$srcdir/fheroes2/src/dist/fheroes2" "$pkgdir/usr/share/fheroes2/fheroes2"
-  install -Dm644 "$srcdir/fheroes2/fheroes2.cfg" "$pkgdir/usr/share/fheroes2/fheroes2.cfg"
+  install -Dm644 "$srcdir/fheroes2/fheroes2/image/fheroes2_32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/fheroes2.png"
+  install -Dm755 "$srcdir/fheroes2/fheroes2/src/dist/fheroes2" "$pkgdir/usr/share/fheroes2/fheroes2"
+  install -Dm644 "$srcdir/fheroes2/fheroes2/fheroes2.cfg" "$pkgdir/usr/share/fheroes2/fheroes2.cfg"
   install -dm755 "$pkgdir/usr/share/fheroes2/data" "$pkgdir/usr/share/fheroes2/maps"
 }

Maratich commented on 2018-06-03 22:07 (UTC)

There is fork, FHeroes2 Enhanced, but no any AUR package. https://github.com/ciplogic/fheroes2enh