blob: 5a340d0c5d524b22028f869faa51c6d5dc3a4c4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Dan Johansen <strit@strits.dk>
pkgname=gpu-viewer
_pkgname=GPU-Viewer
pkgver=3.10
pkgrel=1
pkgdesc="A frontend to glxinfo and vulkaninfo."
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/arunsivaramanneo/GPU-Viewer/"
license=('GPL3')
depends=('gtk4'
'libadwaita>=1.4'
'python'
'python-gobject'
'python-click'
'vulkan-tools'
'clinfo'
'mesa-utils'
'vdpauinfo'
'xorg-xdpyinfo'
'lsb-release')
makedepends=('meson'
'ninja')
checkdepends=('appstream-glib')
optdepends=('nvidia: Vulkan nvidia driver'
'mesa'
'orchis-theme: Preferred GTK theme'
'vulkan-radeon: Vulkan AMD drivers'
'vulkan-intel: Vulkan Intel drivers')
source=("https://github.com/arunsivaramanneo/$_pkgname/archive/v$pkgver.tar.gz")
build() {
cd "$_pkgname-$pkgver"
meson setup -D prefix=/usr _build
}
check() {
cd GPU-Viewer-$pkgver
appstream-util validate-relax --nonet data/*.metainfo.xml
desktop-file-validate data/*.desktop
}
package() {
cd "$_pkgname-$pkgver/_build"
DESTDIR="$pkgdir" ninja install
}
sha256sums=('228204e165f20cb311d6874aa846be695593f8063fa28f148369edd2bacf35ec')
|