backports/soqt: new aport

This commit is contained in:
Antoine Martin 2023-05-15 15:59:37 -04:00 committed by Antoine Martin
parent fd0479b93a
commit 91ce841d04

30
backports/soqt/APKBUILD Normal file
View file

@ -0,0 +1,30 @@
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=soqt
pkgver=1.6.0
pkgrel=0
pkgdesc="GUI binding library for coin"
url="https://github.com/coin3d/soqt"
arch="all !armv7"
license="BSD-3-Clause"
makedepends="coin-dev cmake mesa-dev qt5-qtbase-dev"
options="!check" # test suite consists only of interactive programs
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/coin3d/soqt/releases/download/SoQt-$pkgver/soqt-$pkgver-src.tar.gz"
builddir="$srcdir/$pkgname"
build() {
cmake -B build . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DSOQT_BUILD_DOC_MAN=ON
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
4221e98f51cca4dda23043428e869b60ab4d994710f97c0f44cd82631ffad2bd8bbaf0b820434a4636892df663d66ecd2aec14b185972671b2d22c0fe242b553 soqt-1.6.0-src.tar.gz
"