summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44927aa6b84ee84c930101a9c0441e36c9a4c25b (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
# Maintainer: João Freitas <joaj.freitas at gmail dot com>
# Co-maintainer: Sven Karsten Greiner <sven@sammyshp.de>

pkgname=plotjuggler
pkgver='3.17.2'
pkgrel=1
pkgdesc="The Time Series Visualization Tool that you deserve. Without ROS dependencies."
arch=('x86_64')
url="https://github.com/PlotJuggler/PlotJuggler"
license=('MPL-2.0')
depends=(
    'arrow'
    'binutils'
    'fmt'
    'lua'
    'mosquitto'
    'nlohmann-json'
    'protobuf'
    'python'
    'qt5-base'
    'qt5-multimedia'
    'qt5-serialport'
    'qt5-svg'
    'qt5-websockets'
    'qt5-x11extras'
    'zeromq'
)
makedepends=(
    'cmake'
    'clang'
)
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/PlotJuggler/PlotJuggler/archive/${pkgver}.tar.gz")
sha256sums=('893212172f9e6534132e3f791cd3c57bb5542d494ce22b3756a8e4d48e6bfa21')

build() {
    cd "PlotJuggler-${pkgver}"
    cmake -S . -B build \
        -DCMAKE_INSTALL_PREFIX="/usr" \
        -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects"
    cmake --build build
}

package() {
    cd "PlotJuggler-${pkgver}"
    DESTDIR="${pkgdir}" cmake --install build
}