summaryrefslogtreecommitdiff
path: root/benchmarks/linux-unigine-heaven
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-11-21 18:38:08 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-11-21 18:38:09 +0000
commit76c32b8d6b0b8bb00c3feaba7cc1efbb633b7153 (patch)
tree8aff614a0ad0379415ba6fbb2963adeffcace63b /benchmarks/linux-unigine-heaven
parentdevel/py-prance: Revert e6ef35b3f8840514c41e0fce60656e7a07206f03 (diff)
games/linux-unigine-{heaven,valley}: move to a more appropriate category
These programs are techno-demos that can only be used as benchmarks, not as actually playable games.
Diffstat (limited to 'benchmarks/linux-unigine-heaven')
-rw-r--r--benchmarks/linux-unigine-heaven/Makefile45
-rw-r--r--benchmarks/linux-unigine-heaven/distinfo3
-rw-r--r--benchmarks/linux-unigine-heaven/pkg-descr14
-rw-r--r--benchmarks/linux-unigine-heaven/pkg-plist67
4 files changed, 129 insertions, 0 deletions
diff --git a/benchmarks/linux-unigine-heaven/Makefile b/benchmarks/linux-unigine-heaven/Makefile
new file mode 100644
index 000000000000..b46236bd1ddc
--- /dev/null
+++ b/benchmarks/linux-unigine-heaven/Makefile
@@ -0,0 +1,45 @@
+# Created by: Hannes Hauswedell <h2+fbsdports@fsfe.org>
+
+PORTNAME= unigine-heaven
+PORTVERSION= 4.0
+PORTREVISION= 3
+CATEGORIES= benchmarks linux
+MASTER_SITES= https://assets.unigine.com/d/
+PKGNAMEPREFIX= linux-
+DISTNAME= Unigine_Heaven-${PORTVERSION}
+EXTRACT_SUFX= .run
+
+MAINTAINER= h2+fbsdports@fsfe.org
+COMMENT= Unigine Heaven Benchmark, basic version, linux binaries
+
+LICENSE= Proprietary
+LICENSE_NAME= Unigine "Basic" License
+LICENSE_TEXT= Binary only, License text not available. Free-to-use + no-redistribution implied from homepage
+LICENSE_PERMS= no-dist-sell no-pkg-sell no-dist-mirror no-pkg-mirror
+
+ONLY_FOR_ARCHS= amd64 i386
+USES= linux shebangfix
+USE_LINUX= dri xorglibs
+USE_LDCONFIG= yes
+NO_BUILD= yes
+
+SHEBANG_FILES= heaven
+bash_CMD= ${LINUXBASE}/bin/bash
+
+DESKTOP_ENTRIES="Unigine Heaven" "${COMMENT}" "${DATADIR}/data/launcher/icon.png" \
+ "${PKGNAMEPREFIX}${PORTNAME}" "Game;" false
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ cd ${WRKSRC} && ${TAIL} -n 1097642 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf -
+ ${PRINTF} '#!/bin/sh\ncd ${DATADIR}\nexec\
+ ${LINUXBASE}/bin/bash ./heaven\n' > ${WRKDIR}/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} ./data ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} ./bin ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} ./documentation ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/heaven ${STAGEDIR}${DATADIR}/heaven
+
+.include <bsd.port.mk>
diff --git a/benchmarks/linux-unigine-heaven/distinfo b/benchmarks/linux-unigine-heaven/distinfo
new file mode 100644
index 000000000000..1cf39e1de509
--- /dev/null
+++ b/benchmarks/linux-unigine-heaven/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1565539326
+SHA256 (Unigine_Heaven-4.0.run) = 1bb0204a9bd9b0bdbf2fe23aa0c32129905cb387040098b815332ddb396f36a7
+SIZE (Unigine_Heaven-4.0.run) = 286326725
diff --git a/benchmarks/linux-unigine-heaven/pkg-descr b/benchmarks/linux-unigine-heaven/pkg-descr
new file mode 100644
index 000000000000..93eb6d0cbb3f
--- /dev/null
+++ b/benchmarks/linux-unigine-heaven/pkg-descr
@@ -0,0 +1,14 @@
+Heaven Benchmark immerses a user into a magical steampunk world of
+shiny brass, wood and gears. Nested on flying islands, a tiny village
+with its cozy, sun-heated cobblestone streets, an elaborately crafted
+dirigible above the expanse of fluffy clouds, and a majestic dragon
+on the central square gives a true sense of adventure. An interactive
+experience with fly-by and walk-through modes allows for exploring
+all corners of this world powered by the cutting-edge UNIGINE Engine
+that leverages the most advanced capabilities of graphics APIs and
+turns this benchmark into a visual masterpiece.
+
+This port includes the linux-binaries of the basic (free-to-use)
+version of the benchmark.
+
+WWW: https://benchmark.unigine.com/heaven
diff --git a/benchmarks/linux-unigine-heaven/pkg-plist b/benchmarks/linux-unigine-heaven/pkg-plist
new file mode 100644
index 000000000000..8df5f77e9d7f
--- /dev/null
+++ b/benchmarks/linux-unigine-heaven/pkg-plist
@@ -0,0 +1,67 @@
+@mode 755
+bin/linux-unigine-heaven
+%%DATADIR%%/bin/browser_x64
+%%DATADIR%%/bin/browser_x86
+%%DATADIR%%/bin/heaven_x64
+%%DATADIR%%/bin/heaven_x86
+%%DATADIR%%/heaven
+@mode
+%%DATADIR%%/bin/libAppStereo_x64.so
+%%DATADIR%%/bin/libAppStereo_x86.so
+%%DATADIR%%/bin/libAppSurround_x64.so
+%%DATADIR%%/bin/libAppSurround_x86.so
+%%DATADIR%%/bin/libAppWall_x64.so
+%%DATADIR%%/bin/libAppWall_x86.so
+%%DATADIR%%/bin/libGPUMonitor_x64.so
+%%DATADIR%%/bin/libGPUMonitor_x86.so
+%%DATADIR%%/bin/libQtCoreUnigine_x64.so.4
+%%DATADIR%%/bin/libQtCoreUnigine_x86.so.4
+%%DATADIR%%/bin/libQtGuiUnigine_x64.so.4
+%%DATADIR%%/bin/libQtGuiUnigine_x86.so.4
+%%DATADIR%%/bin/libQtNetworkUnigine_x64.so.4
+%%DATADIR%%/bin/libQtNetworkUnigine_x86.so.4
+%%DATADIR%%/bin/libQtWebKitUnigine_x64.so.4
+%%DATADIR%%/bin/libQtWebKitUnigine_x86.so.4
+%%DATADIR%%/bin/libQtXmlUnigine_x64.so.4
+%%DATADIR%%/bin/libQtXmlUnigine_x86.so.4
+%%DATADIR%%/bin/libUnigine_x64.so
+%%DATADIR%%/bin/libUnigine_x86.so
+%%DATADIR%%/bin/x64/libopenal.so
+%%DATADIR%%/bin/x86/libopenal.so
+%%DATADIR%%/data/core.ung
+%%DATADIR%%/data/heaven-version
+%%DATADIR%%/data/heaven.ung
+%%DATADIR%%/data/heaven_4.0.cfg
+%%DATADIR%%/data/launcher/banners/oil-rush-v1/code.js
+%%DATADIR%%/data/launcher/banners/oil-rush-v1/content.html
+%%DATADIR%%/data/launcher/banners/oil-rush-v1/oil-rush-v1.banner
+%%DATADIR%%/data/launcher/banners/oil-rush-v1/style.css
+%%DATADIR%%/data/launcher/banners/update/content.html
+%%DATADIR%%/data/launcher/banners/update/style.css
+%%DATADIR%%/data/launcher/banners/update/update.banner
+%%DATADIR%%/data/launcher/icon.png
+%%DATADIR%%/data/launcher/interface.html
+%%DATADIR%%/data/launcher/js/browser.js
+%%DATADIR%%/data/launcher/js/heaven-ui-logic.js
+%%DATADIR%%/data/launcher/js/hquality.js
+%%DATADIR%%/data/launcher/js/jquery-ui.selectmenu.js
+%%DATADIR%%/data/launcher/launcher.xml
+%%DATADIR%%/data/launcher/style/images/background-pro.png
+%%DATADIR%%/data/launcher/style/images/background.png
+%%DATADIR%%/data/launcher/style/images/button_run_selected.png
+%%DATADIR%%/data/launcher/style/images/button_run_simple.png
+%%DATADIR%%/data/launcher/style/images/button_unigine_selected.png
+%%DATADIR%%/data/launcher/style/images/button_unigine_simple.png
+%%DATADIR%%/data/launcher/style/images/checkbox.png
+%%DATADIR%%/data/launcher/style/images/get_products_selected.png
+%%DATADIR%%/data/launcher/style/images/get_products_simple.png
+%%DATADIR%%/data/launcher/style/images/other_products_icon.png
+%%DATADIR%%/data/launcher/style/images/other_products_icon_selected.png
+%%DATADIR%%/data/launcher/style/images/upgrade_icon.png
+%%DATADIR%%/data/launcher/style/images/upgrade_icon_selected.png
+%%DATADIR%%/data/launcher/style/images/upgrade_selected.png
+%%DATADIR%%/data/launcher/style/images/upgrade_simple.png
+%%DATADIR%%/data/launcher/style/jquery-ui.selectmenu.css
+%%DATADIR%%/data/launcher/style/project.css
+%%DATADIR%%/data/launcher/style/style.css
+%%DATADIR%%/documentation/User_Manual.pdf