summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorØystein Sture2024-10-16 23:21:08 +0200
committerØystein Sture2024-10-16 23:21:08 +0200
commit7c7847150660881f96c8d66ffd7333dae27d3635 (patch)
tree704297ceabaab95906350f10a0cca26d4d8ce9a2
downloadaur-7c7847150660881f96c8d66ffd7333dae27d3635.tar.gz
Initial commit
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD54
2 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..407d3dcc9282
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = gz-sim9
+ pkgdesc = Open source robotics simulator
+ pkgver = 9.0.0
+ pkgrel = 1
+ url = https://github.com/gazebosim/gz-sim
+ arch = any
+ license = Apache
+ makedepends = cmake
+ makedepends = doxygen
+ makedepends = gz-cmake=4
+ makedepends = pybind11
+ makedepends = python
+ depends = eigen
+ depends = gz-common=6
+ depends = gz-fuel-tools=10
+ depends = gz-gui=9
+ depends = gz-math=8
+ depends = gz-msgs=11
+ depends = gz-physics=8
+ depends = gz-plugin=3
+ depends = gz-rendering=9
+ depends = gz-sensors=9
+ depends = gz-transport=14
+ depends = gz-utils=3
+ depends = protobuf
+ depends = qt5-base
+ depends = qt5-quickcontrols2
+ depends = sdformat=15
+ depends = tinyxml2
+ provides = gz-sim=9
+ source = https://github.com/gazebosim/gz-sim/archive/gz-sim9_9.0.0.tar.gz
+ sha256sums = de9815b4b2a19c2c3e30b29a7b312c4949713a317021d4e416c521ceb525c358
+
+pkgname = gz-sim9
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..342df7284b87
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,54 @@
+# Maintainer: oysstu <oysstu at gmail dot com>
+
+pkgname=gz-sim9
+pkgver=9.0.0
+pkgrel=1
+_pkgmaj=${pkgver%%.*}
+_pkgbase=${pkgname::-${#_pkgmaj}}
+pkgdesc="Open source robotics simulator"
+arch=('any')
+url="https://github.com/gazebosim/${_pkgbase}"
+license=('Apache')
+depends=(
+ 'eigen'
+ 'gz-common=6'
+ 'gz-fuel-tools=10'
+ 'gz-gui=9'
+ 'gz-math=8'
+ 'gz-msgs=11'
+ 'gz-physics=8'
+ 'gz-plugin=3'
+ 'gz-rendering=9'
+ 'gz-sensors=9'
+ 'gz-transport=14'
+ 'gz-utils=3'
+ 'protobuf'
+ 'qt5-base'
+ 'qt5-quickcontrols2'
+ 'sdformat=15'
+ 'tinyxml2'
+ )
+makedepends=(
+ 'cmake'
+ 'doxygen'
+ 'gz-cmake=4'
+ 'pybind11'
+ 'python'
+ )
+provides=("${_pkgbase}=${_pkgmaj}")
+source=("https://github.com/gazebosim/${_pkgbase}/archive/${pkgname}_${pkgver}.tar.gz")
+sha256sums=('de9815b4b2a19c2c3e30b29a7b312c4949713a317021d4e416c521ceb525c358')
+
+build() {
+ cmake -B build -S "${_pkgbase}-${pkgname}_${pkgver}" \
+ -DCMAKE_BUILD_TYPE='None' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DBUILD_TESTING=OFF \
+ -DUSE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION:BOOL=ON \
+ -Wno-dev
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}