void-packages/srcpkgs/libArcus/template
Andrew J. Hesford 0492a74db9 Revert "libArcus: update to 4.8.0."
The cura/cura-engine/libArcus v4.8.0 toolchain requires some additional
dependencies that are not yet packaged, so go back to a working version
until everything is in order.

This reverts commit 843ef3e342.
2021-02-20 17:40:39 -05:00

34 lines
975 B
Bash

# Template file for 'libArcus'
pkgname=libArcus
reverts=4.8.0_1
version=4.7.1
revision=4
build_style=cmake
configure_args="-DBUILD_EXAMPLES=OFF"
hostmakedepends="protobuf python3-sip-devel"
makedepends="protobuf-devel libprotoc-devel python3-devel python3-sip-devel"
depends="python3-sip"
short_desc="Communication library for Ultimaker software components"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/Ultimaker/libArcus"
distfiles="https://github.com/Ultimaker/libArcus/archive/${version}.tar.gz"
checksum=ba35ebecf4112ccfbe2b493c0e10e0276e85e0d449ce82cfa7590165b801facf
libArcus-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}
libArcus-python3_package() {
lib32disabled=yes
short_desc+=" - Python3 bindings"
pkg_install() {
vmove "usr/lib/python3*"
}
}