Skip to contentSkip to conversation

libde265: switch to cmake buildsystem

PATCH Markus Volk 1 participant 1 message Jan 16, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

dec265 is now build by default, with or without libsdl

Change the PACKAGECONFIG accordingly

Quoted 43 lines · Markus Volk

This fixes build issues with clang/qemuarm

Signed-off-by Markus Volk <[email protected] <mailto:[email protected]>>
---
 .../recipes-multimedia/libde265/libde265_1.0.15.bb   | 12 
+++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
meta-multimedia/recipes-multimedia/libde265/libde265_1.0.15.bb +0 -0
index 818654bdb0..12bdb23354 100644
@@ -13,12 +13,10 @@ SRCREV = 

"17bb8d9fcea62db8cdeb0fc7ef8d15dbd19a22e4"

S = "${WORKDIR}/git"

meta-multimedia/recipes-multimedia/libde265/libde265_1.0.15.bb +5 -8
-EXTRA_OECONF = "--disable-sherlock265"
+inherit cmake pkgconfig
 
-inherit autotools pkgconfig
+PACKAGECONFIG ?= "libsdl"
+PACKAGECONFIG[libsdl] = "-DENABLE_SDL=ON,-DENABLE_SDL=OFF,libsdl2"
 
-PACKAGECONFIG ?= "dec265"
-PACKAGECONFIG[dec265] = "--enable-dec265,--disable-dec265,libsdl2"
-
-PACKAGES =+ "${PN}-tools"
-FILES:${PN}-tools = "${bindir}/*"
+FILES:${PN} += "${libdir}/libde265.so"
+FILES:${PN}-dev = "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"
--

2.47.1

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