32 lines
863 B
Bash
32 lines
863 B
Bash
# Template file for 'libSavitar'
|
|
pkgname=libSavitar
|
|
version=4.2.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="python3"
|
|
makedepends="python3-sip-devel python3-devel pugixml-devel"
|
|
short_desc="C++ implementation of 3mf loading"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://github.com/Ultimaker/libSavitar"
|
|
distfiles="https://github.com/Ultimaker/libSavitar/archive/${version}.tar.gz"
|
|
checksum=6a77df183fef2ddaeb8de26f69315e1868ee722844f4c1fbb9cd5a054805d1a1
|
|
nocross="can't find sip on cross environment"
|
|
|
|
libSavitar-devel_package() {
|
|
depends="libSavitar-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libSavitar-python3_package() {
|
|
short_desc+=" - Python3 bindings"
|
|
pkg_install() {
|
|
vmove ${py3_sitelib}
|
|
}
|
|
}
|