From patchwork Mon Apr 21 09:48:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 61621 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A8F8C369D8 for ; Mon, 21 Apr 2025 09:48:46 +0000 (UTC) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by mx.groups.io with SMTP id smtpd.web11.11902.1745228921895484962 for ; Mon, 21 Apr 2025 02:48:42 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.18, mailfrom: f_l_k@t-online.de) Received: from fwd76.aul.t-online.de (fwd76.aul.t-online.de [10.223.144.102]) by mailout04.t-online.de (Postfix) with SMTP id 0556317F for ; Mon, 21 Apr 2025 11:48:40 +0200 (CEST) Received: from intel-corei7-64.fritz.box ([84.163.37.191]) by fwd76.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1u6nlX-0UaYJY0; Mon, 21 Apr 2025 11:48:39 +0200 From: Markus Volk To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][PATCH 4/9] libsdl2-mixer: update and build with cmake Date: Mon, 21 Apr 2025 11:48:27 +0200 Message-ID: <20250421094832.67450-4-f_l_k@t-online.de> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250421094832.67450-1-f_l_k@t-online.de> References: <20250421094832.67450-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1745228919-C5FF894A-7052B3EC/0/0 CLEAN NORMAL X-TOI-MSGID: f213e7c5-1e29-4214-8a7e-333b9c3693cd List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 21 Apr 2025 09:48:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116992 --- ...figure.in-Undefine-AC_CONFIG_AUX_DIR.patch | 34 ------------------- .../libsdl/libsdl2-mixer_2.0.4.bb | 27 --------------- .../libsdl/libsdl2-mixer_2.8.1.bb | 25 ++++++++++++++ 3 files changed, 25 insertions(+), 61 deletions(-) delete mode 100644 meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch delete mode 100644 meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb create mode 100644 meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch deleted file mode 100644 index 0605b32e30..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9363c98528ef850235852e44f678df6b5c011ee1 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 7 Feb 2021 18:08:36 -0800 -Subject: [PATCH] configure.in: Undefine AC_CONFIG_AUX_DIR - -This helps reconfiguring with autotools 2.70+ - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - configure.in | 5 ----- - 1 file changed, 5 deletions(-) - ---- a/configure.in -+++ b/configure.in -@@ -1,7 +1,6 @@ - dnl Process this file with autoconf to produce a configure script. - AC_INIT(README.txt) - AC_CONFIG_AUX_DIR(build-scripts) -- - dnl Set various version strings - taken gratefully from the GTk sources - - # Making releases: -@@ -40,10 +39,6 @@ AC_SUBST(LT_CURRENT) - AC_SUBST(LT_REVISION) - AC_SUBST(LT_AGE) - --dnl Detect the canonical build and host environments --AC_CONFIG_AUX_DIRS($srcdir/build-scripts) --dnl AC_CANONICAL_HOST -- - dnl Check for tools - AC_PROG_LIBTOOL - AC_PROG_CC diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb deleted file mode 100644 index dbcb2a193b..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "Simple DirectMedia Layer mixer library V2" -SECTION = "libs" -DEPENDS = "libsdl2 flac libmikmod libvorbis" -LICENSE = "Zlib" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=516daf7a177ad4c8874bb9efa1a69c1f" - -SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz \ - file://0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch \ - " -SRC_URI[sha256sum] = "b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419" - -S = "${WORKDIR}/SDL2_mixer-${PV}" - -inherit autotools-brokensep pkgconfig - -EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --disable-music-ogg-shared LIBS=-L${STAGING_LIBDIR}" - -PACKAGECONFIG ??= "" -PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" - -do_configure:prepend () { - # Remove old libtool macros. - MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" - for i in ${MACROS}; do - rm -f acinclude/$i - done -} diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb new file mode 100644 index 0000000000..71d3dd7f90 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb @@ -0,0 +1,25 @@ +SUMMARY = "Simple DirectMedia Layer mixer library V2" +SECTION = "libs" +DEPENDS = "libsdl2 flac libvorbis opusfile libxmp fluidsynth wavpack" +LICENSE = "Zlib" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" + +SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz" +SRC_URI[sha256sum] = "cb760211b056bfe44f4a1e180cc7cb201137e4d1572f2002cc1be728efd22660" + +S = "${WORKDIR}/SDL2_mixer-${PV}" + +inherit cmake pkgconfig + +do_configure:prepend() { + # cmake checks for these binaries. Touch them to pass the tests and add RDEPENDS + touch ${STAGING_BINDIR}/fluidsynth + touch ${STAGING_BINDIR}/wavpack + touch ${STAGING_BINDIR}/wvunpack + touch ${STAGING_BINDIR}/wvgain + touch ${STAGING_BINDIR}/wvtag +} + +FILES:${PN} += "${datadir}/licenses" + +RDEPENDS:${PN} = "fluidsynth-bin wavpack-bin"