pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

barony337: Import Barony-3.3.7 as wip/barony337



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Fri Sep 4 11:40:42 2020 +0200
Changeset:	f8b88c5448239fac6e69a4027aebc6971f596843

Modified Files:
	Makefile
Added Files:
	barony337/DESCR
	barony337/Makefile
	barony337/PLIST
	barony337/README
	barony337/distinfo

Log Message:
barony337: Import Barony-3.3.7 as wip/barony337

Motivation for separate package:

This package is based on wip/barony. The game engine (package) version
needs to match the game data version (but not precisely), so create a
separate package for this version.

Description:

Barony is a 3D, first-person roguelike. The goal of the game is to
descend to the bottom of a dark dungeon known as the Devil's Bastion
and destroy an undead lich named Baron Herx, who terrorized the
peaceful town of Hamlet in life and is now harboring a curse against
the land from beyond the grave. To aid you in your quest are friendly
humans who have been eeking out a rough life within the dungeon
for generations, as well as any friends you can bring with you in
real life: Barony is the first of its kind as a first-person
roguelike in that it fully supports cooperative multiplayer for up
to four players.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f8b88c5448239fac6e69a4027aebc6971f596843

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile           |  1 +
 barony337/DESCR    | 10 ++++++++++
 barony337/Makefile | 35 +++++++++++++++++++++++++++++++++++
 barony337/PLIST    |  5 +++++
 barony337/README   | 33 +++++++++++++++++++++++++++++++++
 barony337/distinfo |  6 ++++++
 6 files changed, 90 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0ebcffdeaf..f09247bad1 100644
--- a/Makefile
+++ b/Makefile
@@ -239,6 +239,7 @@ SUBDIR+=	bamtools
 SUBDIR+=	banshee
 SUBDIR+=	baresip
 SUBDIR+=	barony
+SUBDIR+=	barony337
 SUBDIR+=	barrier
 SUBDIR+=	basepkg
 SUBDIR+=	bashdb
diff --git a/barony337/DESCR b/barony337/DESCR
new file mode 100644
index 0000000000..875717f294
--- /dev/null
+++ b/barony337/DESCR
@@ -0,0 +1,10 @@
+Barony is a 3D, first-person roguelike. The goal of the game is to
+descend to the bottom of a dark dungeon known as the Devil's Bastion
+and destroy an undead lich named Baron Herx, who terrorized the
+peaceful town of Hamlet in life and is now harboring a curse against
+the land from beyond the grave. To aid you in your quest are friendly
+humans who have been eeking out a rough life within the dungeon
+for generations, as well as any friends you can bring with you in
+real life: Barony is the first of its kind as a first-person
+roguelike in that it fully supports cooperative multiplayer for up
+to four players.
diff --git a/barony337/Makefile b/barony337/Makefile
new file mode 100644
index 0000000000..0f7a299259
--- /dev/null
+++ b/barony337/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	Barony
+DISTNAME=	Barony-3.3.7
+PKGNAME=	${DISTNAME:tl}
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=TurningWheel/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/TurningWheel/Barony/
+COMMENT=	First person rogue-like
+LICENSE=	gnu-gpl-v3
+
+USE_CMAKE=	yes
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pkg-config
+
+CMAKE_ARGS+=	-DPNG_NAMES=png16 \
+		-DEDITOR_EXE_NAME=barony-editor \
+		-DDATA_DIR=ON -DOPENAL_ENABLED=ON
+
+CFLAGS+=	-Wno-write-strings
+LDFLAGS+=	-lexecinfo
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/physfs/buildlink3.mk"
+.include "../../fonts/SDL2_ttf/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../net/SDL2_net/buildlink3.mk"
+.include "../../textproc/rapidjson/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/barony337/PLIST b/barony337/PLIST
new file mode 100644
index 0000000000..b1078d4c97
--- /dev/null
+++ b/barony337/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+bin/barony
+bin/barony-editor
+share/barony/lang/en.ttf
+share/barony/lang/en.txt
diff --git a/barony337/README b/barony337/README
new file mode 100644
index 0000000000..a0ed34c89d
--- /dev/null
+++ b/barony337/README
@@ -0,0 +1,33 @@
+$NetBSD$
+
++-----------------------------------------------------------------------
+| Running barony on NetBSD
++-----------------------------------------------------------------------
+
+Barony
+======
+Barony requires the original game files from Barony: Blessed Edition
+(e.g. 3.3.x) to work properly.  These can come from the GOG.com or the
+Steam versions of the game.
+
+If using the GOG.com version, you should download the Linux version
+barony_blessed_addition_v3_3_4_40927.sh and use the unzip package to
+extract the data.
+
+The files will be in a directory named data/noarch/game. You can move
+the contents of this directory to the ${TRUEPREFIX}/share/barony
+directory for a global install. You will also need to fix the
+permissions on the files.
+
+The easiest way to do this is to follow these steps:
+$ unzip barony_blessed_addition_v3_3_4_40927.sh
+$ doas cp -R data/noarch/game/* ${TRUEPREFIX}/share/barony
+$ doas find ${TRUEPREFIX}/share/barony -type d ! -perm 755 -exec chmod 755 {} \;
+
+As an alternative, the game assets can be placed into a personal folder
+of your choice and the game can be launched with the -datadir= option,
+for example:
+$ barony -datadir=$HOME/.barony
+
+You do not have to fix file permissions in this case.
+
diff --git a/barony337/distinfo b/barony337/distinfo
new file mode 100644
index 0000000000..519fee0a44
--- /dev/null
+++ b/barony337/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (Barony-3.3.7.tar.gz) = a10e4d65168af60d343887eb5898a37d5f5098c4
+RMD160 (Barony-3.3.7.tar.gz) = a7dcbf8a6619e405ff214f9a46818767e037bcb9
+SHA512 (Barony-3.3.7.tar.gz) = e7091c55af798967afd6c8c162864bd3f9329c914ddfa31c44ae4de2cdb721fc7a22fc6984d0a132240d35ecb7c164bc4570cd36ac1faa073d939d608b988897
+Size (Barony-3.3.7.tar.gz) = 53830405 bytes


Home | Main Index | Thread Index | Old Index