From 37e6936495345074e156b17b64293af70032e100 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Thu, 25 Dec 2025 13:47:19 +0100 Subject: libopenmpt: upgrade 0.7.10 -> 0.8.4 Changelog: https://lib.openmpt.org/doc/changelog.html License-Update: copyright year bump Ptest passed: root@qemux86-64:/usr/lib/libopenmpt/ptest# ptest-runner START: ptest-runner 2025-12-25T09:29 BEGIN: /usr/lib/libopenmpt/ptest PASS: libopenmpttest DURATION: 1 END: /usr/lib/libopenmpt/ptest 2025-12-25T09:29 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- .../libopenmpt/libopenmpt_0.7.10.bb | 82 ---------------------- .../libopenmpt/libopenmpt_0.8.4.bb | 82 ++++++++++++++++++++++ 2 files changed, 82 insertions(+), 82 deletions(-) delete mode 100644 meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.10.bb create mode 100644 meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.4.bb diff --git a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.10.bb b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.10.bb deleted file mode 100644 index dececf7488..0000000000 --- a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.10.bb +++ /dev/null @@ -1,82 +0,0 @@ -SUMMARY = "C and C++ cross-platform library for decoding tracked music files (modules)" -DESCRIPTION = "libopenmpt is a cross-platform C++ and C library to decode tracked \ -music files (modules) into a raw PCM audio stream. It also comes with openmpt123, a \ -cross-platform command-line or terminal based module file player. libopenmpt is based \ -on the player code of the OpenMPT project." -HOMEPAGE = "https://lib.openmpt.org/libopenmpt/" -SECTION = "libs" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=829270a66f67187a1d08640df673249a" - -DEPENDS = "virtual/libiconv" - -SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \ - file://run-ptest \ - " -SRC_URI[sha256sum] = "093713c1c1024f4f10c4779a66ceb2af51fb7c908a9e99feb892d04019220ba1" - -S = "${UNPACKDIR}/libopenmpt-${PV}+release.autotools" - -inherit autotools pkgconfig ptest - -PACKAGECONFIG ??= " \ - openmpt123 \ - ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ - flac mpg123 ogg sndfile vorbis vorbisfile zlib \ - ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \ -" - -PACKAGECONFIG[openmpt123] = "--enable-openmpt123,--disable-openmpt123" -PACKAGECONFIG[tests] = "--enable-tests,--disable-tests" - -# These packageconfigs affect openmpt123 -PACKAGECONFIG[flac] = "--with-flac,--without-flac,flac" -PACKAGECONFIG[mpg123] = "--with-mpg123,--without-mpg123,mpg123" -PACKAGECONFIG[ogg] = "--with-ogg,--without-ogg,libogg" -PACKAGECONFIG[portaudio] = "--with-portaudio,--without-portaudio,portaudio-v19" -PACKAGECONFIG[pulseaudio] = "--with-pulseaudio,--without-pulseaudio,pulseaudio" -PACKAGECONFIG[sdl2] = "--with-sdl2,--without-sdl2,virtual/libsdl2" -PACKAGECONFIG[sndfile] = "--with-sndfile,--without-sndfile,libsndfile1" -PACKAGECONFIG[vorbis] = "--with-vorbis,--without-vorbis,libvorbis" -PACKAGECONFIG[vorbisfile] = "--with-vorbisfile,--without-vorbisfile,libvorbis" -PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" - -EXTRA_OECONF += " \ - --disable-doxygen-doc \ - --disable-examples \ - --without-portaudiocpp \ -" - -do_compile_ptest() { - oe_runmake ${PARALLEL_MAKE} libopenmpttest -} - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - install -m 0755 ${B}/libopenmpttest ${D}${PTEST_PATH} - install -m 0644 ${S}/test/test.mptm ${D}${PTEST_PATH}/test - install -m 0644 ${S}/test/test.s3m ${D}${PTEST_PATH}/test - install -m 0644 ${S}/test/test.xm ${D}${PTEST_PATH}/test - install -m 0644 ${S}/test/test.mod ${D}${PTEST_PATH}/test - - install -d ${D}${PTEST_PATH}/libopenmpt - install -m 0644 ${S}/libopenmpt/libopenmpt_version.mk ${D}${PTEST_PATH}/libopenmpt -} - -PACKAGES =+ "${PN}-openmpt123 ${PN}-openmpt123-doc" -FILES:${PN}-openmpt123 = "${bindir}/openmpt123" -FILES:${PN}-openmpt123-doc = "${mandir}/man1/openmpt123*" - -# Since version 0.3, libopenmpt uses SemVer 2.0.0 versioning. -# The SemVer versioning scheme is incompatible with Debian/Ubuntu -# package version names. -DEBIAN_NOAUTONAME:${PN} = "1" - -RDEPENDS:${PN}:libc-glibc = " \ - glibc-gconv \ - glibc-gconv-cp1252 \ - glibc-gconv-ibm437 \ - glibc-gconv-iso8859-1 \ - glibc-gconv-iso8859-15 \ -" diff --git a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.4.bb b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.4.bb new file mode 100644 index 0000000000..37264423c4 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.4.bb @@ -0,0 +1,82 @@ +SUMMARY = "C and C++ cross-platform library for decoding tracked music files (modules)" +DESCRIPTION = "libopenmpt is a cross-platform C++ and C library to decode tracked \ +music files (modules) into a raw PCM audio stream. It also comes with openmpt123, a \ +cross-platform command-line or terminal based module file player. libopenmpt is based \ +on the player code of the OpenMPT project." +HOMEPAGE = "https://lib.openmpt.org/libopenmpt/" +SECTION = "libs" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=979c86485a65d11403e9bf083b9a0812" + +DEPENDS = "virtual/libiconv" + +SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \ + file://run-ptest \ + " +SRC_URI[sha256sum] = "627f9bf11aacae615a1f2c982c7e88cb21f11b2d6f0267946f7c82c5eae4943b" + +S = "${UNPACKDIR}/libopenmpt-${PV}+release.autotools" + +inherit autotools pkgconfig ptest + +PACKAGECONFIG ??= " \ + openmpt123 \ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ + flac mpg123 ogg sndfile vorbis vorbisfile zlib \ + ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \ +" + +PACKAGECONFIG[openmpt123] = "--enable-openmpt123,--disable-openmpt123" +PACKAGECONFIG[tests] = "--enable-tests,--disable-tests" + +# These packageconfigs affect openmpt123 +PACKAGECONFIG[flac] = "--with-flac,--without-flac,flac" +PACKAGECONFIG[mpg123] = "--with-mpg123,--without-mpg123,mpg123" +PACKAGECONFIG[ogg] = "--with-ogg,--without-ogg,libogg" +PACKAGECONFIG[portaudio] = "--with-portaudio,--without-portaudio,portaudio-v19" +PACKAGECONFIG[pulseaudio] = "--with-pulseaudio,--without-pulseaudio,pulseaudio" +PACKAGECONFIG[sdl2] = "--with-sdl2,--without-sdl2,virtual/libsdl2" +PACKAGECONFIG[sndfile] = "--with-sndfile,--without-sndfile,libsndfile1" +PACKAGECONFIG[vorbis] = "--with-vorbis,--without-vorbis,libvorbis" +PACKAGECONFIG[vorbisfile] = "--with-vorbisfile,--without-vorbisfile,libvorbis" +PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" + +EXTRA_OECONF += " \ + --disable-doxygen-doc \ + --disable-examples \ + --without-portaudiocpp \ +" + +do_compile_ptest() { + oe_runmake ${PARALLEL_MAKE} libopenmpttest +} + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + install -m 0755 ${B}/libopenmpttest ${D}${PTEST_PATH} + install -m 0644 ${S}/test/test.mptm ${D}${PTEST_PATH}/test + install -m 0644 ${S}/test/test.s3m ${D}${PTEST_PATH}/test + install -m 0644 ${S}/test/test.xm ${D}${PTEST_PATH}/test + install -m 0644 ${S}/test/test.mod ${D}${PTEST_PATH}/test + + install -d ${D}${PTEST_PATH}/libopenmpt + install -m 0644 ${S}/libopenmpt/libopenmpt_version.mk ${D}${PTEST_PATH}/libopenmpt +} + +PACKAGES =+ "${PN}-openmpt123 ${PN}-openmpt123-doc" +FILES:${PN}-openmpt123 = "${bindir}/openmpt123" +FILES:${PN}-openmpt123-doc = "${mandir}/man1/openmpt123*" + +# Since version 0.3, libopenmpt uses SemVer 2.0.0 versioning. +# The SemVer versioning scheme is incompatible with Debian/Ubuntu +# package version names. +DEBIAN_NOAUTONAME:${PN} = "1" + +RDEPENDS:${PN}:libc-glibc = " \ + glibc-gconv \ + glibc-gconv-cp1252 \ + glibc-gconv-ibm437 \ + glibc-gconv-iso8859-1 \ + glibc-gconv-iso8859-15 \ +" -- cgit v1.2.3-54-g00ecf