summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2021-10-05 11:32:51 +0100
committerEmil Velikov2021-10-05 11:34:34 +0100
commit442a9a5d028d4489450a78531594cde1a64fbc70 (patch)
tree2b3ed6dd1d961ee437c32993ef930fbd7d098544
parent46683290d0f338516df06e62bdb54b6183b5fbd1 (diff)
downloadaur-442a9a5d028d4489450a78531594cde1a64fbc70.tar.gz
Make wayland/xcb-util-wm optdepends
The program has separate backends for each platform - X11, Wayland. As such it does not need both to run. Demote these to optdepends.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7a30cf57065b..f28069fed904 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vkmark-git
pkgdesc = Vulkan benchmark
pkgver = r127.53abc4f
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/vkmark/vkmark
arch = i686
arch = x86_64
@@ -14,8 +14,8 @@ pkgbase = vkmark-git
makedepends = wayland-protocols
depends = vulkan-icd-loader
depends = assimp
- depends = xcb-util-wm
- depends = wayland
+ optdepends = xcb-util-wm: for X11 support
+ optdepends = wayland: for Wayland support
source = git+https://github.com/vkmark/vkmark.git
sha1sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index cb19afe08076..7889f91900a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,14 @@
pkgname='vkmark-git'
pkgdesc='Vulkan benchmark'
pkgver=r127.53abc4f
-pkgrel=1
+pkgrel=2
url='https://github.com/vkmark/vkmark'
arch=('i686' 'x86_64')
license=('LGPL2.1')
-depends=('vulkan-icd-loader' 'assimp' 'xcb-util-wm' 'wayland')
+depends=('vulkan-icd-loader' 'assimp')
+makedepends=('git' 'vulkan-headers' 'meson' 'ninja' 'glm' 'wayland-protocols' 'xcb-util-wm' 'wayland')
+optdepends=('xcb-util-wm: for X11 support'
+ 'wayland: for Wayland support')
makedepends=('git' 'vulkan-headers' 'meson' 'ninja' 'glm' 'wayland-protocols')
source=('git+https://github.com/vkmark/vkmark.git')
sha1sums=('SKIP')