pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games
Module Name: pkgsrc
Committed By: nia
Date: Mon Aug 19 22:09:32 UTC 2024
Modified Files:
pkgsrc/games: Makefile
Added Files:
pkgsrc/games/fheroes2: DESCR Makefile PLIST distinfo
pkgsrc/games/fheroes2/patches: patch-src_engine_endian__h2.h
Log Message:
Import games/fheroes2
fheroes2 is a recreation of the Heroes of Might and Magic II game engine.
This open source multiplatform project, written from scratch, is designed
to reproduce the original game with significant improvements in gameplay,
graphics and logic (including support for high-resolution graphics, improved
AI, numerous fixes and user interface improvements), breathing new life into
one of the most addictive turn-based strategy games.
To generate a diff of this commit:
cvs rdiff -u -r1.552 -r1.553 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/fheroes2/DESCR \
pkgsrc/games/fheroes2/Makefile pkgsrc/games/fheroes2/PLIST \
pkgsrc/games/fheroes2/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/games/fheroes2/patches/patch-src_engine_endian__h2.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.552 pkgsrc/games/Makefile:1.553
--- pkgsrc/games/Makefile:1.552 Mon Aug 12 11:19:25 2024
+++ pkgsrc/games/Makefile Mon Aug 19 22:09:32 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.552 2024/08/12 11:19:25 nia Exp $
+# $NetBSD: Makefile,v 1.553 2024/08/19 22:09:32 nia Exp $
#
COMMENT= Games
@@ -130,6 +130,7 @@ SUBDIR+= exult
SUBDIR+= exult-audio
SUBDIR+= falcons-eye
SUBDIR+= fallingtime
+SUBDIR+= fheroes2
SUBDIR+= fillets-ng
SUBDIR+= fillets-ng-data
SUBDIR+= finalbattle
Added files:
Index: pkgsrc/games/fheroes2/DESCR
diff -u /dev/null pkgsrc/games/fheroes2/DESCR:1.1
--- /dev/null Mon Aug 19 22:09:32 2024
+++ pkgsrc/games/fheroes2/DESCR Mon Aug 19 22:09:32 2024
@@ -0,0 +1,7 @@
+fheroes2 is a recreation of the Heroes of Might and Magic II game engine.
+
+This open source multiplatform project, written from scratch, is designed
+to reproduce the original game with significant improvements in gameplay,
+graphics and logic (including support for high-resolution graphics, improved
+AI, numerous fixes and user interface improvements), breathing new life into
+one of the most addictive turn-based strategy games.
Index: pkgsrc/games/fheroes2/Makefile
diff -u /dev/null pkgsrc/games/fheroes2/Makefile:1.1
--- /dev/null Mon Aug 19 22:09:32 2024
+++ pkgsrc/games/fheroes2/Makefile Mon Aug 19 22:09:32 2024
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2024/08/19 22:09:32 nia Exp $
+
+DISTNAME= fheroes2-1.1.1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ihhub/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://ihhub.github.io/fheroes2/
+COMMENT= Recreation of Heroes of Might and Magic II game engine
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+USE_CXX_FEATURES+= c++17
+
+.include "../../devel/cmake/build.mk"
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/fheroes2/PLIST
diff -u /dev/null pkgsrc/games/fheroes2/PLIST:1.1
--- /dev/null Mon Aug 19 22:09:32 2024
+++ pkgsrc/games/fheroes2/PLIST Mon Aug 19 22:09:32 2024
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2024/08/19 22:09:32 nia Exp $
+bin/fheroes2
+share/applications/fheroes2.desktop
+share/doc/fheroes2/LICENSE
+share/doc/fheroes2/README.txt
+share/doc/fheroes2/changelog.txt
+share/doc/fheroes2/demo/download_demo_version.sh
+share/doc/fheroes2/homm2/extract_homm2_resources.sh
+share/fheroes2/files/data/resurrection.h2d
+share/icons/hicolor/128x128/apps/fheroes2.png
+share/metainfo/fheroes2.metainfo.xml
+@pkgdir share/fheroes2/files/lang
Index: pkgsrc/games/fheroes2/distinfo
diff -u /dev/null pkgsrc/games/fheroes2/distinfo:1.1
--- /dev/null Mon Aug 19 22:09:32 2024
+++ pkgsrc/games/fheroes2/distinfo Mon Aug 19 22:09:32 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/08/19 22:09:32 nia Exp $
+
+BLAKE2s (fheroes2-1.1.1.tar.gz) = a3367c681bef42f168688ac779df92a30b564f0fcb72fdf78a28848e626b0ecd
+SHA512 (fheroes2-1.1.1.tar.gz) = 08aceb9755558516eb747f13b0c4e442786a9a818120e077de6d6921b6fb7e44c440b94447d36c7c735d3670656259b49eac6965656352590d58572756ed7990
+Size (fheroes2-1.1.1.tar.gz) = 12212585 bytes
+SHA1 (patch-src_engine_endian__h2.h) = b8a0e396da4a4915efffd73d52cc09eb258283a3
Index: pkgsrc/games/fheroes2/patches/patch-src_engine_endian__h2.h
diff -u /dev/null pkgsrc/games/fheroes2/patches/patch-src_engine_endian__h2.h:1.1
--- /dev/null Mon Aug 19 22:09:32 2024
+++ pkgsrc/games/fheroes2/patches/patch-src_engine_endian__h2.h Mon Aug 19 22:09:32 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_engine_endian__h2.h,v 1.1 2024/08/19 22:09:32 nia Exp $
+
+Portability.
+
+--- src/engine/endian_h2.h.orig 2024-08-19 20:58:53.651518405 +0000
++++ src/engine/endian_h2.h
+@@ -83,7 +83,7 @@
+ #define le32toh( x ) ( x )
+
+ #else
+-#error "Unsupported platform"
++#include <endian.h> // IWYU pragma: export
+ #endif
+
+ #define IS_BIGENDIAN ( BYTE_ORDER == BIG_ENDIAN )
Home |
Main Index |
Thread Index |
Old Index