2023-05-15 19:53:09 +00:00
|
|
|
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
|
|
pkgname=coin
|
|
|
|
pkgver=4.0.0
|
|
|
|
pkgrel=5
|
|
|
|
pkgdesc="OpenGL OpenInventor compatible graphics library"
|
|
|
|
url="https://github.com/coin3d/coin"
|
|
|
|
license="BSD-3-Clause"
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="all"
|
2023-05-15 19:53:09 +00:00
|
|
|
makedepends="boost-dev cmake glu-dev graphviz samurai"
|
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
source="https://github.com/coin3d/coin/releases/download/Coin-$pkgver/coin-$pkgver-src.tar.gz
|
|
|
|
TestSuitePatch.patch
|
|
|
|
"
|
|
|
|
builddir="$srcdir/coin"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake -B build -G Ninja \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCOIN_BUILD_TESTS=ON
|
|
|
|
cmake --build build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cmake --build build --target test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
e036276a243bfe252569cee1b67d38b8633fcf35bdf4e366a92ca67e23799d54d91fe272c23b383c451d330cee284809f28f237857493948149e0da1ebd64fae coin-4.0.0-src.tar.gz
|
|
|
|
aab464244b13371badf0878e5bfbcce859a42756cf8c7657d1480318aa291d296eac2741219c346bae056f761c5f46857f8fd1ec1c4129f86bc10236d3869deb TestSuitePatch.patch
|
|
|
|
"
|