update to fheroes 2 0.9.21, based on diff by Mikhail

(mp39590 AT gmail ! com)
adds audio/timidity RDEP which if present plays game music
make update-plist was missing which I added - adds a couple of
language translations, includin French, Hungarian, Turkish
This commit is contained in:
thfr 2022-11-14 03:26:54 +00:00
parent cb5fda50cd
commit e3b0b1ef19
4 changed files with 8 additions and 16 deletions

View File

@ -2,7 +2,7 @@ COMMENT = engine recreation for Heroes of Might and Magic 2
GH_ACCOUNT = ihhub
GH_PROJECT = fheroes2
GH_TAGNAME = 0.9.18
GH_TAGNAME = 0.9.21
CATEGORIES = games
HOMEPAGE = https://ihhub.github.io/fheroes2/
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
@ -18,6 +18,7 @@ COMPILER = base-clang ports-gcc
BUILD_DEPENDS = devel/gettext,-tools \
textproc/gsed
LIB_DEPENDS = devel/sdl2-mixer
RUN_DEPENDS = audio/timidity
MAKE_FLAGS += FHEROES2_DATA=${PREFIX}/share/fheroes2
USE_GMAKE = Yes
NO_TEST = Yes

View File

@ -1,2 +1,2 @@
SHA256 (fheroes2-0.9.18.tar.gz) = vNmvznuGljD5fP23E2aPD33M9p/Gsx2xynSsL2NSSo0=
SIZE (fheroes2-0.9.18.tar.gz) = 5117381
SHA256 (fheroes2-0.9.21.tar.gz) = hj54zSObV3BolXhD1ZJvzPcsi/0FMVIswkIEDzEINBw=
SIZE (fheroes2-0.9.21.tar.gz) = 10914492

View File

@ -1,13 +0,0 @@
also build translation files (*.mo)
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -37,6 +37,7 @@ PROJECT_VERSION := $(file < version.txt)
all:
$(MAKE) -C src
+ $(MAKE) -C files/lang
ifndef FHEROES2_MACOS_APP_BUNDLE
@cp src/dist/$(TARGET) .
endif

View File

@ -12,11 +12,15 @@ share/fheroes2/files/lang/bg.mo
share/fheroes2/files/lang/cs.mo
share/fheroes2/files/lang/de.mo
share/fheroes2/files/lang/es.mo
share/fheroes2/files/lang/fr.mo
share/fheroes2/files/lang/hu.mo
share/fheroes2/files/lang/it.mo
share/fheroes2/files/lang/nb.mo
share/fheroes2/files/lang/nl.mo
share/fheroes2/files/lang/pl.mo
share/fheroes2/files/lang/pt.mo
share/fheroes2/files/lang/ro.mo
share/fheroes2/files/lang/ru.mo
share/fheroes2/files/lang/sv.mo
share/fheroes2/files/lang/tr.mo
share/fheroes2/files/lang/uk.mo