Skip to contentSkip to conversation

libplacebo: add recipe

PATCH Markus Volk 2 participants 2 messages Jan 6, 2024 – Jan 9, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

v2 drops the patches that are not needed anymore

Quoted 60 lines · Markus Volk

libplacebo is a required build dependency for mpv-0.37

Signed-off-by Markus Volk <[email protected] <mailto:[email protected]>>
---
 .../mplayer/libplacebo_git.bb                 | 24 
+++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 

meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb

meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb new file +1 -0
new file mode 100644
index 000000000..337ccd23b
@@ -0,0 +1,24 @@
+SUMMARY = "The core rendering algorithms and ideas of mpv rewritten 

as an independent library."

meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb new file +5 -0
+SECTION = "multimedia"
+HOMEPAGE = "<https://opensourcelibs.com/lib/libplacebo>"
+
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = 

"file://LICENSE;md5=435ed639f84d4585d93824e7da3d85da" <file://license;md5=435ed639f84d4585d93824e7da3d85da/>

meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb new file +2 -0
+
+SRC_URI = 

"git://code.videolan.org/videolan/libplacebo.git;protocol=https;branch=v6.338"

meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb new file +8 -0
+
+S = "${WORKDIR}/git"
+SRCREV = "2805a0d01c029084ab36bf5d0e3c8742012a0b27"
+PV = "6.338.1"
+
+inherit meson pkgconfig
+
+PACKAGECONFIG ??= "${@bb.utils.filter 

<mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'vulkan opengl', d)}"

meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb new file +2 -0
+
+PACKAGECONFIG[vulkan] =  

"-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader vulkan-headers shaderc spirv-shader-generator python3-mako-native python3-jinja2-native glad-native" +PACKAGECONFIG[opengl] =
"-Dopengl=enabled,-Dopengl=disabled,glad,glad"

meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb new file +2 -0
+PACKAGECONFIG[lcms] = "-Dlcms=enabled,-Dlcms=disabled,lcms"
+PACKAGECONFIG[demos] = "-Ddemos=true,-Ddemos=false,ffmpeg libsdl2 

libsdl2-image"

meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb new file +2 -0
+
+EXTRA_OEMESON = 

"-Dvulkan-registry=${STAGING_DATADIR}/vulkan/registry/vk.xml" +
--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108064): <https://lists.openembedded.org/g/openembedded-devel/message/108064>
Mute This Topic: <https://lists.openembedded.org/mt/103566960/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Hi Markus

This has build time issues

https://sprunge.us/Ddf9jj

I think wither we need to provide a recipe for fast-float or use gitsm fetcher instead of git fetcher.
In next version drop PV setting in recipe instead use it in recipe name itself.

I will drop related patches from master-next, so please send the complete series together again.

Thanks
-Khem

Quoted 18 lines · Markus Volk

v2 drops the patches that are not needed anymore

On Sat, Jan 6 2024 at 08:45:11 PM +01:00:00, Markus Volk <[email protected]> wrote:

libplacebo is a required build dependency for mpv-0.37 Signed-off-by: Markus Volk <[email protected]> --- .../mplayer/libplacebo_git.bb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb diff --git a/meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb b/meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb new file mode 100644 index 000000000..337ccd23b --- /dev/null +++ b/meta-oe/recipes-multimedia/mplayer/libplacebo_git.bb @@ -0,0 +1,24 @@ +SUMMARY = "The core rendering algorithms and ideas of mpv rewritten as an independent library." +SECTION = "multimedia" +HOMEPAGE = "https://opensourcelibs.com/lib/libplacebo" + +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=435ed639f84d4585d93824e7da3d85da" + +SRC_URI = "git://code.videolan.org/videolan/libplacebo.git;protocol=https;branch=v6.338" + +S = "${WORKDIR}/git" +SRCREV = "2805a0d01c029084ab36bf5d0e3c8742012a0b27" +PV = "6.338.1" + +inherit meson pkgconfig + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'vulkan opengl', d)}" + +PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader vulkan-headers shaderc spirv-shader-generator python3-mako-native python3-jinja2-native glad-native" +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.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108065): https://lists.openembedded.org/g/openembedded-devel/message/108065
Mute This Topic: https://lists.openembedded.org/mt/103566960/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-