Package Details: blender-benchmark 1:3.1.0-1

Git Clone URL: https://aur.archlinux.org/blender-benchmark.git (read-only, click to copy)
Package Base: blender-benchmark
Description: Benchmark based on Blender to perform hardware and software performance tests
Upstream URL: https://opendata.blender.org/
Licenses: CC0-1.0, GPL-3.0-or-later
Submitter: andybreuhan
Maintainer: andybreuhan
Last Packager: andybreuhan
Votes: 13
Popularity: 0.34
First Submitted: 2018-09-24 17:04 (UTC)
Last Updated: 2024-11-23 09:11 (UTC)

Latest Comments

andybreuhan commented on 2024-11-23 09:15 (UTC)

Hi HurricanePootis, thanks for the patch submission. I integrated your changes.

HurricanePootis commented on 2024-11-22 22:04 (UTC)

Hello, this package currently has some issues:

  1. Wrong pkgver(). I suspect you are trying to set this to match blender, but that is incorrect. This is blender-benchmark, not blender. Please keep the pkgver() to the actual software downloaded. Therefore, since the value of pkgver() is decreasing, also set epoch=1
  2. Wrong license, and not spdx complient.
  3. Unecessary installation into /opt. benchmark-launcher does not need to be in /opt, as it has no misc files that needs to be next to it. It can just be installed into /usr/bin/.
  4. Missing depends(): 'libglvnd' 'libxi' 'libx11' 'libxrandr' 'libxxf86vm' 'libxcursor' 'libxinerama' 'gcc-libs'
  5. Missing optdenepds(): 'cuda' 'intel-compute-runtime'
diff --git a/PKGBUILD b/PKGBUILD
index 48b87fd..ca2997e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,22 @@
 # Maintainer: Andy Breuhan <andybreuhan 'at' andybreuhan 'dot' de>

 pkgname=blender-benchmark
-pkgver=4.1.0
+pkgver=3.1.0
+epoch=1
 pkgrel=1
 pkgdesc="Benchmark based on Blender to perform hardware and software performance tests"
 arch=('x86_64')
 url="https://opendata.blender.org/"
-license=('GPL' 'GPL3')
-depends=('glibc>=2.19')
-optdepends=('rocm-hip-runtime: Support AMD GPU acceleration')
+license=('GPL-3.0-or-later' 'CC0-1.0')
+depends=('glibc' 'libglvnd' 'libxi' 'libx11' 'libxrandr' 'libxxf86vm' 'libxcursor' 'libxinerama' 'gcc-libs')
+optdepends=('rocm-hip-runtime: Support AMD GPU acceleration'
+       'cuda: Cycles render CUDA support'
+       'intel-compute-runtime: Cycles renderer Intel OneAPI support')
 options=('!strip')

-source=("${pkgname}-launcher-${pkgver}.tar.gz::https://download.blender.org/release/BlenderBenchmark2.0/launcher/benchmark-launcher-3.1.0-linux.tar.gz")
+source=("https://download.blender.org/release/BlenderBenchmark2.0/launcher/benchmark-launcher-${pkgver}-linux.tar.gz")
 sha256sums=('4059c576407aa5add4f6280c59d68070b721572ec91aa6d5dfd528441070bb62')

 package() {
-  install -d -m755 "${pkgdir}/opt/${pkgname}"
-  install -d -m755 "${pkgdir}/usr/bin"
-  cp "${srcdir}/benchmark-launcher" "${pkgdir}/opt/${pkgname}/benchmark-launcher"
-  ln -s "/opt/${pkgname}/benchmark-launcher" "${pkgdir}/usr/bin/${pkgname}"
+   install -Dm755 "$srcdir/benchmark-launcher" "${pkgdir}/usr/bin/blender-benchmark"
 }

leejuyuu commented on 2023-05-16 15:54 (UTC)

I suggest adding an optional dependency rocm-hip-runtime for benchmarking AMD GPUs.

andybreuhan commented on 2020-01-24 06:24 (UTC)

Yes, I would fully agree with you. The executable binary should have the same name as the package.

svenstaro commented on 2020-01-24 00:59 (UTC)

I think it'd be nice if /usr/bin/benchmark-launcher were called /usr/bin/blender-benchmark. What do you think?