Skip to content

Instantly share code, notes, and snippets.

@gulafaran
Created April 16, 2024 07:04
Show Gist options
  • Save gulafaran/459fa8534bce412ad618c29b468baf63 to your computer and use it in GitHub Desktop.
Save gulafaran/459fa8534bce412ad618c29b468baf63 to your computer and use it in GitHub Desktop.
EAPI=8
DESCRIPTION="Lightweight but intensive GPU stress test and benchmarking tool for OpenGL and Vulkan"
HOMEPAGE="https://www.geeks3d.com/furmark/v2/"
SRC_URI="https://gpumagick.com/downloads/files/2024/furmark2/FurMark_${PV}_linux64.zip"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
DEPEND="x11-libs/libxcb media-libs/glu"
RDEPEND="${DEPEND}"
BDEPEND="app-arch/unzip"
src_unpack() {
if [[ -n ${A} ]]; then
unpack ${A}
mv ${WORKDIR}/FurMark_linux64/ ${WORKDIR}/furmark-${PV}
fi
}
src_install() {
dodir /opt/furmark
cp -R "${WORKDIR}/furmark-${PV}/." "${D}/opt/furmark/"
dodir /usr/bin
dosym /opt/furmark/furmark /usr/bin/furmark
dosym /opt/furmark/FurMark_GUI /usr/bin/furmark-gui
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment