On Di, 2025-01-28 at 13:40 +0100, Philipp Zabel wrote: > The Open Asset Import Library is a dependency of vkmark. > > Only the .3ds and .ply format importers used by vkmark are enabled > and all exporters are disabled for now, reducing the library size > from 11 MiB to 1.5 MiB on x86_64. > > Signed-off-by: Philipp Zabel <[email protected]> > --- > rules/assimp.in | 10 ++++++ > rules/assimp.make | 86 +++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 96 insertions(+) > create mode 100644 rules/assimp.in > create mode 100644 rules/assimp.make > > diff --git a/rules/assimp.in b/rules/assimp.in > new file mode 100644 > index 000000000000..686cc18051f8 > --- /dev/null > +++ b/rules/assimp.in > @@ -0,0 +1,10 @@ > +## SECTION=multimedia_libs > + > +config ASSIMP > + tristate > + prompt "assimp" > + select HOST_CMAKE > + select ZLIB > + help > + Open Asset Import Library (assimp) to load various 3d file formats > + into a shared, in-memory format. > diff --git a/rules/assimp.make b/rules/assimp.make > new file mode 100644 > index 000000000000..c1764dfdb09f > --- /dev/null > +++ b/rules/assimp.make > @@ -0,0 +1,86 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Philipp Zabel <[email protected]> > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_ASSIMP) += assimp > + > +# > +# Paths and names > +# > +ASSIMP_VERSION := 5.4.3 > +ASSIMP_MD5 := fd64a9a57a3d81940ba7fc4a3a946502 > +ASSIMP := assimp-$(ASSIMP_VERSION) > +ASSIMP_SUFFIX := tar.gz > +ASSIMP_URL := > https://github.com/assimp/assimp/archive/refs/tags/v$(ASSIMP_VERSION).$(ASSIMP_SUFFIX) > +ASSIMP_SOURCE := $(SRCDIR)/$(ASSIMP).$(ASSIMP_SUFFIX) > +ASSIMP_DIR := $(BUILDDIR)/$(ASSIMP) > +ASSIMP_LICENSE := Open Asset Import Library (assimp) > +GLM_LICENSE_FILES := file://LICENSE;md5=462e4b97f73ef12f8171c3c546ce4e8d
copy&paste error, will fix in v2.
