New package: draco-1.5.6

This commit is contained in:
Arjan Mossel 2023-11-12 17:26:58 +01:00 committed by classabbyamp
parent 43f6fa8283
commit a636c3bf9e
3 changed files with 27 additions and 0 deletions

View File

@ -4270,5 +4270,6 @@ libvpl.so.2 oneVPL-2023.3.1_1
libusrsctp.so.2 usrsctp-0.9.5.0_1
libdatachannel.so.0.19.1 libdatachannel-0.19.1_1
libgeotiff.so.5 libgeotiff-1.7.1_1
libdraco.so.8 draco-1.5.6_1
libpdal_base.so.15 libpdal-2.5.6_1
libpdal_util.so.15 libpdal-2.5.6_1

1
srcpkgs/draco-devel Symbolic link
View File

@ -0,0 +1 @@
draco

25
srcpkgs/draco/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'draco'
pkgname=draco
version=1.5.6
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
hostmakedepends="pkg-config python3"
short_desc="Library to compress/decompress 3D geometric meshes, point clouds"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://google.github.io/draco/"
distfiles="https://github.com/google/draco/archive/refs/tags/${version}.tar.gz"
checksum=0280888e5b8e4c4fb93bf40e65e4e8a1ba316a0456f308164fb5c2b2b0c282d6
draco-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/cmake
}
}