mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 1/3] assimp: new package
Date: Mon, 03 Feb 2025 09:21:21 +0100	[thread overview]
Message-ID: <8d419f12e5408b0ccfcac0ec687c7499470c0a48.camel@pengutronix.de> (raw)
In-Reply-To: <20250128124058.1620435-1-p.zabel@pengutronix.de>

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 <p.zabel@pengutronix.de>
> ---
>  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 <p.zabel@pengutronix.de>
> +#
> +# 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.



      parent reply	other threads:[~2025-02-03  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-28 12:40 Philipp Zabel
2025-01-28 12:40 ` [ptxdist] [PATCH 2/3] glm: " Philipp Zabel
2025-02-14  9:02   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-01-28 12:40 ` [ptxdist] [PATCH 3/3] vkmark: " Philipp Zabel
2025-02-03  8:21 ` Philipp Zabel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d419f12e5408b0ccfcac0ec687c7499470c0a48.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox