summaryrefslogtreecommitdiff
path: root/homebrew/arxlibertatis/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/arxlibertatis/.beer')
-rw-r--r--homebrew/arxlibertatis/.beer69
1 files changed, 69 insertions, 0 deletions
diff --git a/homebrew/arxlibertatis/.beer b/homebrew/arxlibertatis/.beer
new file mode 100644
index 000000000..f68b8cd39
--- /dev/null
+++ b/homebrew/arxlibertatis/.beer
@@ -0,0 +1,69 @@
+{
+ "name": "ArxLibertatis",
+ "description": "Cross-platform, open source port of Arx Fatalis",
+ "url": "https://arx-libertatis.org/files/arx-libertatis-1.1.2.tar.xz",
+ "mirror": null,
+ "homepage": "https://arx-libertatis.org/",
+ "depends": [
+ {
+ "depend": "boost",
+ "build-depend": true
+ },
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "glm",
+ "build-depend": true
+ },
+ {
+ "depend": "freetype",
+ "build-depend": false
+ },
+ {
+ "depend": "glew",
+ "build-depend": false
+ },
+ {
+ "depend": "innoextract",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "arx-libertatis-data",
+ "url": "https://github.com/arx/ArxLibertatisData.git"
+ }
+ ],
+ "conflicts": [
+ {
+ "conflict": "rnv",
+ "reason": "both install `arx` binaries"
+ }
+ ],
+ "patches": [
+ {
+ "url": "https://github.com/arx/ArxLibertatis/commit/442ba4af978160abd3856a9daec38f5b6e213cb4.patch?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "args = std_cmake_args",
+ "if build.stable?",
+ "inreplace \"src/platform/Time.cpp\", \"clock_t \", \"clockid_t \"",
+ "inreplace \"src/core/Version.cpp.in\" do |s|",
+ "s.gsub! \"${VERSION_COUNT}\", \"5\"",
+ "s.gsub! \"${VERSION_2}\", \"10\"",
+ "s.gsub! \"${VERSION_0}\", \"1.1.2\"",
+ "s.gsub! \"${GIT_SUFFIX_5}\", \"+Homebrew-1\"",
+ "s.gsub! \"${VERSION_4}\", \"Rhaa Movis\"",
+ "end"
+ ],
+ "version": "1.1.2",
+ "file": "arx-libertatis.rb"
+} \ No newline at end of file