pkgsrc-WIP-changes archive

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

update barony to 3.2.2



Module Name:	pkgsrc-wip
Committed By:	David Carlier <devnexen%gmail.com@localhost>
Pushed By:	devnexen
Date:		Sun Sep 30 07:27:41 2018 +0100
Changeset:	52c480eb2198e5d04a605992b11e7448fe7178d8

Modified Files:
	barony/Makefile
	barony/PLIST
	barony/distinfo
Added Files:
	barony/README

Log Message:
update barony to 3.2.2

Last Gog.com version.

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

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

diffstat:
 barony/Makefile |  9 +++++++--
 barony/PLIST    |  4 ++++
 barony/README   | 33 +++++++++++++++++++++++++++++++++
 barony/distinfo |  8 ++++----
 4 files changed, 48 insertions(+), 6 deletions(-)

diffs:
diff --git a/barony/Makefile b/barony/Makefile
index 7dd6a0ec61..426cd9ddce 100644
--- a/barony/Makefile
+++ b/barony/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 GITHUB_PROJECT=	Barony
-DISTNAME=	Barony-2.0.4
+DISTNAME=	Barony-3.2.2
 PKGNAME=	${DISTNAME:tl}
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_GITHUB:=TurningWheel/}
@@ -15,7 +15,9 @@ LICENSE=	gnu-gpl-v3
 USE_CMAKE=	yes
 USE_LANGUAGES=	c c++
 
-CMAKE_ARGS+=	-DPNG_NAMES=png16
+CMAKE_ARGS+=	-DPNG_NAMES=png16 \
+		-DEDITOR_EXE_NAME=barony-editor \
+		-DDATA_DIR=ON -DOPENAL_ENABLED=ON
 
 CFLAGS+=	-Wno-write-strings
 LDFLAGS+=	-lexecinfo
@@ -25,4 +27,7 @@ LDFLAGS+=	-lexecinfo
 .include "../../fonts/SDL2_ttf/buildlink3.mk"
 .include "../../net/SDL2_net/buildlink3.mk"
 .include "../../graphics/Mesa/buildlink3.mk"
+.include "../../devel/physfs/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/barony/PLIST b/barony/PLIST
index 48d96a5493..b1078d4c97 100644
--- a/barony/PLIST
+++ b/barony/PLIST
@@ -1 +1,5 @@
 @comment $NetBSD$
+bin/barony
+bin/barony-editor
+share/barony/lang/en.ttf
+share/barony/lang/en.txt
diff --git a/barony/README b/barony/README
new file mode 100644
index 0000000000..4d424fa1f6
--- /dev/null
+++ b/barony/README
@@ -0,0 +1,33 @@
+$NetBSD$
+
++-----------------------------------------------------------------------
+| Running barony on NetBSD
++-----------------------------------------------------------------------
+
+Barony
+======
+Barony requires the original game files from Barony: Blessed Edition
+(e.g. 3.2.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_cursed_edition_en_3_2_2_24038.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_cursed_edition_en_3_2_2_24038.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/barony/distinfo b/barony/distinfo
index 9ae0d04f02..e4fd49711b 100644
--- a/barony/distinfo
+++ b/barony/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (Barony-2.0.4.tar.gz) = 6658e62c245dca01bb96f4faaef98c2ef1a12c14
-RMD160 (Barony-2.0.4.tar.gz) = d6a65e10b7d2209176df0317d68d846edc324c97
-SHA512 (Barony-2.0.4.tar.gz) = 1425c30da2dd6caf288f086045f479c71eb0138a3c5986c24edf4e1e2c91ee5db013610ecbae3e868cbb54faece9b41234827ca6b623d7d080ef97e0c20764c2
-Size (Barony-2.0.4.tar.gz) = 47148917 bytes
+SHA1 (Barony-3.2.2.tar.gz) = b09e43049f46f6d53eabef7316fe460c0fdd9325
+RMD160 (Barony-3.2.2.tar.gz) = 3530207755d983fffe5a31ae2d892c240309ee5b
+SHA512 (Barony-3.2.2.tar.gz) = e9e5e6e8fc174226751a05dc9886f5138e2a2dd75bc2ed736c54ea76480b7b48df41b985fb8cbdb86b0fc5068ea0ce62bf366de058f0c8f5b540ca244d52a108
+Size (Barony-3.2.2.tar.gz) = 53418154 bytes


Home | Main Index | Thread Index | Old Index