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.
This commit is contained in:
Yorick Hardy 2020-09-04 11:40:42 +02:00
parent 99e6b5924c
commit f8b88c5448
6 changed files with 90 additions and 0 deletions

View File

@ -239,6 +239,7 @@ SUBDIR+= bamtools
SUBDIR+= banshee
SUBDIR+= baresip
SUBDIR+= barony
SUBDIR+= barony337
SUBDIR+= barrier
SUBDIR+= basepkg
SUBDIR+= bashdb

10
barony337/DESCR Normal file
View File

@ -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.

35
barony337/Makefile Normal file
View File

@ -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
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"

5
barony337/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $NetBSD$
bin/barony
bin/barony-editor
share/barony/lang/en.ttf
share/barony/lang/en.txt

33
barony337/README Normal file
View File

@ -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.

6
barony337/distinfo Normal file
View File

@ -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