blob: a17652323e7b4d4eceaa312c455a0c004ca66de9 (
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
|
pkgname=scopehal-apps-git
pkgver=0.0.19bc636a
pkgrel=1
pkgdesc="glscopeclient and other client applications for libscopehal"
arch=('x86_64')
url="https://github.com/glscopeclient/scopehal-apps"
license=('BSD')
groups=()
depends=('gtkmm3' 'libsigc++' 'ffts' 'openmp' 'glfw' 'libvulkan.so' 'yaml-cpp' 'glew' 'catch2' 'spirv-tools' 'shaderc' 'liblxi' 'linux-gpib')
makedepends=('cmake' 'git' 'vulkan-headers')
source=("git+https://github.com/glscopeclient/scopehal-apps.git"
"modules.patch")
sha256sums=('SKIP'
'30f8bac9602eda284761339365d3c914c6fd661e70bb51c7675081e6aef5a27b')
pkgver() {
cd "${srcdir}/scopehal-apps"
echo "0.0."$(git describe --always)
}
prepare() {
patch "$srcdir/scopehal-apps/.gitmodules" modules.patch
cd "$srcdir/scopehal-apps"
git submodule update --init --recursive
}
build() {
cd "$srcdir/scopehal-apps"
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr
# -DBUILD_DOCS=ON
make
}
package() {
cd "$srcdir/scopehal-apps/build"
make DESTDIR="$pkgdir/" install
}
|