From a636c3bf9ea7f5504fc063ec8209599a8f740a80 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Sun, 12 Nov 2023 17:26:58 +0100 Subject: [PATCH] New package: draco-1.5.6 --- common/shlibs | 1 + srcpkgs/draco-devel | 1 + srcpkgs/draco/template | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 120000 srcpkgs/draco-devel create mode 100644 srcpkgs/draco/template diff --git a/common/shlibs b/common/shlibs index dff2d095d89..76eab603a38 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/draco-devel b/srcpkgs/draco-devel new file mode 120000 index 00000000000..3aaa74d8def --- /dev/null +++ b/srcpkgs/draco-devel @@ -0,0 +1 @@ +draco \ No newline at end of file diff --git a/srcpkgs/draco/template b/srcpkgs/draco/template new file mode 100644 index 00000000000..fd6d26cf336 --- /dev/null +++ b/srcpkgs/draco/template @@ -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 " +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 + } +}