blob: 78a1a9b52a49f9b61df1842220867435ef95cc2e (
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
|
# Maintainer: oysstu <oysstu at gmail dot com>
pkgname=gz-gui7
pkgver=7.2.2
pkgrel=1
_pkgmaj=${pkgver%%.*}
_pkgbase=${pkgname::-${#_pkgmaj}}
pkgdesc="Graphical interfaces for robotics applications"
arch=('any')
url="https://github.com/gazebosim/${_pkgbase}"
license=('Apache')
depends=(
'protobuf'
'tinyxml2'
'gz-utils=2'
'gz-math=7'
'gz-common=5'
'gz-plugin=2'
'gz-transport=12'
'gz-rendering=7'
'gz-msgs=9'
'qt5-base'
'qt5-quickcontrols2'
)
makedepends=(
'cmake'
'doxygen'
'gz-cmake=3'
)
provides=("${_pkgbase}=${_pkgmaj}")
source=("https://github.com/gazebosim/${_pkgbase}/archive/${pkgname}_${pkgver}.tar.gz")
sha256sums=('26b5c502977cf87f13e86bc504a72b1a8d810d4100c2878c76f7a0994ea26617')
build() {
cmake -B build -S "${_pkgbase}-${pkgname}_${pkgver}" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DBUILD_TESTING=OFF \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|