mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-11 00:31:49 +02:00
47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
pkgname=libarcus
|
|
# Needs to be upgraded in sync with the py3-arcus aport
|
|
# Should be in sync with the CuraEngine aport, but sometimes
|
|
# upstream doesn't version them together
|
|
pkgver=5.2.2
|
|
pkgrel=3
|
|
pkgdesc="Communication library for Cura"
|
|
url="https://github.com/Ultimaker/libArcus"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
makedepends="
|
|
cmake
|
|
protobuf-dev
|
|
py3-sip
|
|
python3-dev
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
options="!check" # no test suite
|
|
source="https://github.com/Ultimaker/libArcus/archive/$pkgver/libArcus-$pkgver.tar.gz
|
|
cmake-build.patch
|
|
ArcusConfig.patch"
|
|
builddir="$srcdir/libArcus-$pkgver"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
-DARCUS_VERSION=$pkgver
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
d33fb7dae1fef4d99bad7a165b02767b9e8d1f48dc3e2d4fe635a56019f294c9703762421efcf3bc4e20fab8c6c9e9816bba9ddb4ecc85c0303cd027e39dede1 libArcus-5.2.2.tar.gz
|
|
87c8d80afca0be287d8686e3a2133753f95dbc361fbffda8f0cfd63a8890fff9a9374e00bb6d42040ef23def9a116126e0d5a1a001d596dc74934292ed0791d7 cmake-build.patch
|
|
9a058e240014de0c6698b3cc38a4b5064455adc0901fad05c0f78b67ae6cf82e9ca5dd4e74a8cc95d8915fd57b10336c7974b19f061e5a53a28d7b63f80c4851 ArcusConfig.patch
|
|
"
|