Commit 3f590762 authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play: add furmark (eterbug #18119)

parent d244b07b
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
. $(dirname $0)/common.sh
#FurMark_2.6.0.0_linux64.7z
BASENAME=$(basename $TAR .7z)
VERSION=$(echo $BASENAME | sed -e 's|FurMark_||' | sed -e 's|_linux64||')
erc unpack $TAR || fatal
mkdir -p opt/furmark
mv FurMark_linux64/* opt/furmark
# create desktop file
cat <<EOF | create_file /usr/share/applications/$PRODUCT.desktop
[Desktop Entry]
Version=1.0
Name=FurMark
Comment=GPU Stress Test
Exec=FurMark_GUI
Icon=$PRODUCT
Type=Application
Categories=Graphics;
StartupNotify=true
EOF
# need writable log in /opt/furmark/
ln -s /var/tmp/_geexlab_log.txt opt/furmark/
ln -s /var/tmp/_furmark_log.txt opt/furmark/
# install icon
install_file ipfs://Qmf1Ced3UdH6ARezEwbf6FmAjqve4THZf1sbE6JUGBhitg /usr/share/pixmaps/$PRODUCT.png
PKGNAME=$PRODUCT-$VERSION
erc pack $PKGNAME.tar usr opt || fatal
return_tar $PKGNAME.tar
#!/bin/sh
PKGNAME=furmark
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="GPU Stress Test OpenGL and Vulkan Graphics Benchmark"
URL="https://www.geeks3d.com/furmark/downloads/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
DL_VER="$(eget -O- "https://www.geeks3d.com/furmark/downloads/" | grep -o '/dl/show/.*linux.*[0-9]\{3\}' | head -n 1 | grep -o "[0-9]\{3\}" | head -n 1 )"
PKGURL="https://www.geeks3d.com/dl/get/$DL_VER"
install_pack_pkgurl
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=furmark
PRODUCTDIR=/opt/$PRODUCT
. $(dirname $0)/common.sh
add_bin_exec_command
add_bin_exec_command FurMark_GUI $PRODUCTDIR/FurMark_GUI
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment