void-packages/srcpkgs/libArcus/template
Andrew J. Hesford f66e990470 libArcus: really rebuild for protobuf
The revbump was lost in a rebase.
2021-10-13 06:04:48 -04:00

33 lines
960 B
Bash

# Template file for 'libArcus'
pkgname=libArcus
version=4.11.0
revision=3
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=2682a898a033f855c9a9d24da976a5467f8823b448db86e308d54017c0c6a372
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*"
}
}