2020-12-10 01:03:27 +01:00
|
|
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
|
|
|
|
|
|
|
|
pkgname=ignition-gui
|
2020-12-24 19:22:29 +01:00
|
|
|
pkgver=4.1.0
|
2020-12-26 19:11:25 +01:00
|
|
|
pkgrel=3
|
2020-12-10 01:03:27 +01:00
|
|
|
pkgdesc="Builds on top of Qt to provide widgets which are useful when developing
|
|
|
|
robotics applications, such as a 3D view, plots, dashboard, etc, and can be used
|
|
|
|
together in a convenient unified interface."
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://ignitionrobotics.org/libs/gui"
|
|
|
|
license=('Apache')
|
2020-12-25 19:04:30 +01:00
|
|
|
depends=(
|
|
|
|
qt5-base
|
|
|
|
protobuf
|
|
|
|
tinyxml2
|
|
|
|
ignition-math
|
|
|
|
ignition-common
|
|
|
|
ignition-plugin
|
|
|
|
ignition-transport
|
|
|
|
ignition-rendering
|
|
|
|
ignition-msgs
|
|
|
|
ignition-tools
|
|
|
|
)
|
2020-12-10 01:03:27 +01:00
|
|
|
makedepends=('cmake')
|
|
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-gui/archive/${pkgname}4_${pkgver}.tar.gz")
|
2020-12-24 19:22:29 +01:00
|
|
|
sha256sums=('9811710faa0ff07c134f07f82cbc0020dcc44c62c4feb087250e25bece252a7b')
|
2020-12-10 01:03:27 +01:00
|
|
|
|
|
|
|
_dir="ign-gui-${pkgname}4_${pkgver}"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$_dir"
|
|
|
|
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
# Configure build
|
|
|
|
cmake .. -DCMAKE_BUILD_TYPE="Release" \
|
2020-12-26 19:11:25 +01:00
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
2020-12-10 01:03:27 +01:00
|
|
|
-DCMAKE_INSTALL_LIBDIR="lib" \
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
|
|
|
|
# Compile
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_dir/build"
|
2020-12-26 19:11:25 +01:00
|
|
|
make DESTDIR="${pkgdir}/" install
|
2020-12-10 01:03:27 +01:00
|
|
|
}
|