From: Markus Volk <f_l_k@t-online.de>
To: openembedded-devel@lists.openembedded.org, Khem Raj <raj.khem@gmail.com>
Subject: Re: [oe] [meta-oe][PATCHv2 2/2] libplacebo: dont use gitsm
Date: Tue, 15 Oct 2024 02:38:46 +0200 [thread overview]
Message-ID: <MGGDLS.DG417TWA6BZ1@t-online.de> (raw)
In-Reply-To: <17FE791DE787812C.27606@lists.openembedded.org>
[-- Attachment #1: Type: text/plain, Size: 4171 bytes --]
I have successfully built this for Clang
On Tue, Oct 15 2024 at 02:36:27 AM +02:00:00, Markus Volk
<f_l_k@t-online.de> wrote:
> - Add PACKAGECONFIGs to allow build according to DISTRO_FEATURES
> - Add path to vulkan-registry
> - Add fastfloat dependency for clang
> - Build with lcms by default, because mpv warns about missing
> littlecms2
> support
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de
> <mailto:f_l_k@t-online.de>>
> ---
> .../mplayer/libplacebo_7.349.0.bb | 28
> +++++++++----------
> 1 file changed, 14 insertions(+), 14 deletions(-)
>
> diff --git a/meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb
> b/meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb
> index b68e67a8c..f0f18f2e4 100644
> --- a/meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb
> +++ b/meta-oe/recipes-multimedia/mplayer/libplacebo_7.349.0.bb
> @@ -1,22 +1,22 @@
> SUMMARY ="Reusable library for GPU-accelerated video/image rendering
> primitives"
> -LICENSE = "Apache-2.0 & BSD-3-Clause & BSL-1.0 & MIT"
> -LIC_FILES_CHKSUM =
> "<file://3rdparty/Vulkan-Headers/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57>
> \
> -
> <file://3rdparty/fast_float/LICENSE-APACHE;md5=81db248e90379bcfc0582b578b009bc3>
> \
> -
> <file://3rdparty/fast_float/LICENSE-BOOST;md5=2c7a3fa82e66676005cd4ee2608fd7d2>
> \
> -
> <file://3rdparty/fast_float/LICENSE-MIT;md5=32b11d50c7d9788d4270f6a83f3e68eb>
> \
> -
> <file://3rdparty/glad/LICENSE;md5=ae570f26774ac096cff8f992091a223c> \
> -
> <file://3rdparty/jinja/LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462>
> \
> -
> <file://3rdparty/jinja/docs/license.rst;md5=5f4c795946979fabc2361be4c70d0a9f>
> \
> -
> <file://3rdparty/markupsafe/LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75>
> \
> -
> <file://3rdparty/markupsafe/docs/license.rst;md5=5f4c795946979fabc2361be4c70d0a9f>
> \
> -
> file://LICENSE;md5=435ed639f84d4585d93824e7da3d85da
> <file://license;md5=435ed639f84d4585d93824e7da3d85da/> \
> -
> <file://demos/3rdparty/nuklear/src/LICENSE;md5=6052431ae6cd4f0082276c54996e7770>
> \
> -
> file://demos/LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032"
> <file://demos/LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032>
> +LICENSE = "LGPL-2.1-only"
> +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=435ed639f84d4585d93824e7da3d85da"
> <file://license;md5=435ed639f84d4585d93824e7da3d85da/>
>
> -SRC_URI =
> "gitsm://github.com/haasn/libplacebo;protocol=https;branch=master"
> +DEPENDS += "fastfloat"
>
> +SRC_URI =
> "git://code.videolan.org/videolan/libplacebo.git;protocol=https;branch=v7.349"
> SRCREV = "1fd3c7bde7b943fe8985c893310b5269a09b46c5"
>
> inherit meson pkgconfig
>
> S = "${WORKDIR}/git"
> +
> +PACKAGECONFIG ??= "${@bb.utils.filter
> <mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'vulkan opengl', d)}
> lcms"
> +
> +PACKAGECONFIG[vulkan] =
> "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader vulkan-headers
> shaderc spirv-shader-generator python3-mako-native
> python3-jinja2-native glad-native"
> +PACKAGECONFIG[glslang] =
> "-Dglslang=enabled,-Dglslang=disabled,glslang"
> +PACKAGECONFIG[opengl] =
> "-Dopengl=enabled,-Dopengl=disabled,glad,glad"
> +PACKAGECONFIG[lcms] = "-Dlcms=enabled,-Dlcms=disabled,lcms"
> +PACKAGECONFIG[demos] = "-Ddemos=true,-Ddemos=false,ffmpeg libsdl2
> libsdl2-image"
> +
> +EXTRA_OEMESON =
> "-Dvulkan-registry=${STAGING_DATADIR}/vulkan/registry/vk.xml"
> --
> 2.47.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#112914):
> <https://lists.openembedded.org/g/openembedded-devel/message/112914>
> Mute This Topic: <https://lists.openembedded.org/mt/109014269/3618223>
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> <mailto:openembedded-devel+owner@lists.openembedded.org>
> Unsubscribe:
> <https://lists.openembedded.org/g/openembedded-devel/unsub>
> [f_l_k@t-online.de <mailto:f_l_k@t-online.de>]
> -=-=-=-=-=-=-=-=-=-=-=-
>
[-- Attachment #2: Type: text/html, Size: 5380 bytes --]
next prev parent reply other threads:[~2024-10-15 0:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-15 0:36 [meta-oe][PATCHv2 1/2] fastfloat: add recipe Markus Volk
2024-10-15 0:36 ` [meta-oe][PATCHv2 2/2] libplacebo: dont use gitsm Markus Volk
[not found] ` <17FE791DE787812C.27606@lists.openembedded.org>
2024-10-15 0:38 ` Markus Volk [this message]
2024-10-17 16:45 ` [oe] " Martin Jansa
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=MGGDLS.DG417TWA6BZ1@t-online.de \
--to=f_l_k@t-online.de \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.