blob: 4c5b53acc4d3cce7502fb2b9d83d94b0ee4a9532 (
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
|
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=gammaray
pkgver=2.11.0
pkgrel=1
pkgdesc="A tool for examining the internals of a Qt application and to some extent also manipulate it"
url="https://www.kdab.com/development-resources/qt-tools/gammaray/"
arch="all !ppc64le !s390x !armhf" # Limited by qt5-qtwebengine
license="GPL-2.0-or-later"
makedepends="cmake qt5-qtbase-dev qt5-qtwebengine-dev qt5-qtlocation-dev
qt5-qtwayland-dev qt5-qttools-dev qt5-qtsvg-dev qt5-qtdeclarative-dev
qt5-qtscript-dev qt5-qtconnectivity-dev syntax-highlighting-dev
kcoreaddons-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/KDAB/GammaRay/releases/download/v$pkgver/gammaray-$pkgver.tar.gz
f50f74f.patch"
options="!check" # No tests
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} .
make
}
package() {
make DESTDIR="$pkgdir" install
gzip "$pkgdir"/usr/share/man/man1/gammaray.1
}
sha512sums="22280bc1915211d6d818162a7d19f1f10cbd3da2b610e5f09c946a54689ef5f08af0700a65d3d7838a6669aabddb745b94a13faaaaaa54ec1fda7febf3ace174 gammaray-2.11.0.tar.gz
26b8277f88d4c4dc7abed8481910c9bb6741b49488af51158cef450d033b8cdb097f474d150fc02b1ec12d8a14a5edcacf6157b98912ae2e837985107f5232c9 f50f74f.patch"
|