mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-02 22:41:33 +01:00
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
pkgname=libarcus
|
|
_pkgname=libArcus
|
|
# Needs to be upgraded in sync with the curaengine aport
|
|
pkgver=4.10.0
|
|
pkgrel=0
|
|
pkgdesc="Communication library for Cura"
|
|
url="https://github.com/Ultimaker/libArcus"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
makedepends="protobuf-dev py3-sip-dev python3-dev cmake"
|
|
subpackages="$pkgname-dev $pkgname-python:_py"
|
|
options="!check" # no test suite
|
|
source="https://github.com/Ultimaker/libArcus/archive/$pkgver/libArcus-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
cmake -B ./build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=None .
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
|
|
_py() {
|
|
pkgdesc="Python bindings for libarcus"
|
|
depends="python3"
|
|
amove usr/lib/python3*
|
|
}
|
|
|
|
sha512sums="452c541360d74a8f58ab1b20df59efd36756812a9ecd09804ba16877956fb240d367bd968271a9c010496598ef0b459f62aa287553d4ba3fdb4cd2742c25553f libArcus-4.10.0.tar.gz"
|