summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Rafael Giani <crg7475@mailbox.org>2022-03-18 12:50:25 +0100
committerKhem Raj <raj.khem@gmail.com>2022-03-18 06:52:19 -0700
commit9442c55e084ab75b12715b18815f8aacb158cccf (patch)
tree7441aa0cb7765688cea153ecc2edc40d962c522b
parent3246da91113390166e8f33982e4ddc57e2f36f7b (diff)
downloadmeta-openembedded-9442c55e084ab75b12715b18815f8aacb158cccf.tar.gz
libopenmpt: Upgrade to version 0.6.2
* libopenmpt-modplug got removed and now exists as a separate project. * SDL1 is no longer supported. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.6.2.bb (renamed from meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.3.10.bb)31
1 files changed, 7 insertions, 24 deletions
diff --git a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.3.10.bb b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.6.2.bb
index b1634732c..a7b6b0007 100644
--- a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.3.10.bb
+++ b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.6.2.bb
@@ -1,41 +1,33 @@
1SUMMARY = "C and C++ cross-platform library for decoding tracked music files (modules)" 1SUMMARY = "C and C++ cross-platform library for decoding tracked music files (modules)"
2DESCRIPTION = "libopenmpt is a cross-platform C++ and C library to decode tracked \ 2DESCRIPTION = "libopenmpt is a cross-platform C++ and C library to decode tracked \
3music files (modules) into a raw PCM audio stream. It also comes with openmpt123, a \ 3music files (modules) into a raw PCM audio stream. It also comes with openmpt123, a \
4cross-platform command-line or terminal based module file player, and libopenmpt_modplug, \ 4cross-platform command-line or terminal based module file player. libopenmpt is based \
5a wrapper around libopenmpt that provides an interface that is ABI compatile with \ 5on the player code of the OpenMPT project."
6libmodplug. libopenmpt is based on the player code of the OpenMPT project."
7HOMEPAGE = "https://lib.openmpt.org/libopenmpt/" 6HOMEPAGE = "https://lib.openmpt.org/libopenmpt/"
8SECTION = "libs" 7SECTION = "libs"
9 8
10LICENSE = "BSD-3-Clause" 9LICENSE = "BSD-3-Clause"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=e804150573f149befef6c07e173f20c3" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=ae09d6164bdecb499183479fd32b66fb"
12 11
13DEPENDS = "virtual/libiconv" 12DEPENDS = "virtual/libiconv"
14 13
15SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \ 14SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \
16 file://run-ptest \ 15 file://run-ptest \
17 " 16 "
18SRC_URI[md5sum] = "66bbc6fbb5f27a554cb145d805e9ef9d" 17SRC_URI[md5sum] = "d21fb799695cbe10a1e9aeaea23ed708"
19SRC_URI[sha256sum] = "14a137b8d1a20e1b6a5e67cbc9467ab7e5e4e67d5aa38a247afc825685c53939" 18SRC_URI[sha256sum] = "50c0d62ff2d9afefa36cce9f29042cb1fb8d4f0b386b81a0fc7734f35e21e6b6"
20 19
21S = "${WORKDIR}/libopenmpt-${PV}+release.autotools" 20S = "${WORKDIR}/libopenmpt-${PV}+release.autotools"
22 21
23inherit autotools pkgconfig ptest 22inherit autotools pkgconfig ptest
24 23
25PACKAGECONFIG ??= " \ 24PACKAGECONFIG ??= " \
26 libopenmpt-modplug openmpt123 \ 25 openmpt123 \
27 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ 26 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
28 flac mpg123 ogg sndfile vorbis vorbisfile zlib \ 27 flac mpg123 ogg sndfile vorbis vorbisfile zlib \
29 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \ 28 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \
30" 29"
31 30
32# libopenmpt_modplug is a library that wraps libopenmpt calls into
33# functions that are ABI compatible with libmodplug. This allows for
34# using modplug headers and linking against libopenmpt_modplug
35# instead of against the original libmodplug library.
36# NOTE: The wrapper is compatible to the ABI from libmodplug version
37# 0.8.8 and newer.
38PACKAGECONFIG[libopenmpt-modplug] = "--enable-libopenmpt_modplug,--disable-libopenmpt_modplug"
39PACKAGECONFIG[openmpt123] = "--enable-openmpt123,--disable-openmpt123" 31PACKAGECONFIG[openmpt123] = "--enable-openmpt123,--disable-openmpt123"
40PACKAGECONFIG[tests] = "--enable-tests,--disable-tests" 32PACKAGECONFIG[tests] = "--enable-tests,--disable-tests"
41 33
@@ -45,22 +37,15 @@ PACKAGECONFIG[mpg123] = "--with-mpg123,--without-mpg123,mpg123"
45PACKAGECONFIG[ogg] = "--with-ogg,--without-ogg,libogg" 37PACKAGECONFIG[ogg] = "--with-ogg,--without-ogg,libogg"
46PACKAGECONFIG[portaudio] = "--with-portaudio,--without-portaudio,portaudio-v19" 38PACKAGECONFIG[portaudio] = "--with-portaudio,--without-portaudio,portaudio-v19"
47PACKAGECONFIG[pulseaudio] = "--with-pulseaudio,--without-pulseaudio,pulseaudio" 39PACKAGECONFIG[pulseaudio] = "--with-pulseaudio,--without-pulseaudio,pulseaudio"
48PACKAGECONFIG[sdl] = "--with-sdl,--without-sdl,virtual/libsdl"
49PACKAGECONFIG[sdl2] = "--with-sdl2,--without-sdl2,virtual/libsdl2" 40PACKAGECONFIG[sdl2] = "--with-sdl2,--without-sdl2,virtual/libsdl2"
50PACKAGECONFIG[sndfile] = "--with-sndfile,--without-sndfile,libsndfile1" 41PACKAGECONFIG[sndfile] = "--with-sndfile,--without-sndfile,libsndfile1"
51PACKAGECONFIG[vorbis] = "--with-vorbis,--without-vorbis,libvorbis" 42PACKAGECONFIG[vorbis] = "--with-vorbis,--without-vorbis,libvorbis"
52PACKAGECONFIG[vorbisfile] = "--with-vorbisfile,--without-vorbisfile,libvorbis" 43PACKAGECONFIG[vorbisfile] = "--with-vorbisfile,--without-vorbisfile,libvorbis"
53PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" 44PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
54 45
55# --disable-libmodplug is necessary, since otherwise we'd
56# have a collision with the libmodplug package, because of the
57# libmodplug.so file. (libmodplug.so from libopenmpt isintended
58# to be used as a drop-in replacement, and according to the
59# documentation, is not complete.)
60EXTRA_OECONF += " \ 46EXTRA_OECONF += " \
61 --disable-doxygen-doc \ 47 --disable-doxygen-doc \
62 --disable-examples \ 48 --disable-examples \
63 --disable-libmodplug \
64 --without-portaudiocpp \ 49 --without-portaudiocpp \
65" 50"
66 51
@@ -85,8 +70,7 @@ python __anonymous() {
85 bb.error("sdl and sdl2 packageconfigs cannot be both enabled") 70 bb.error("sdl and sdl2 packageconfigs cannot be both enabled")
86} 71}
87 72
88PACKAGES =+ "${PN}-modplug ${PN}-openmpt123 ${PN}-openmpt123-doc" 73PACKAGES =+ "${PN}-openmpt123 ${PN}-openmpt123-doc"
89FILES:${PN}-modplug = "${libdir}/libopenmpt_modplug.so.*"
90FILES:${PN}-openmpt123 = "${bindir}/openmpt123" 74FILES:${PN}-openmpt123 = "${bindir}/openmpt123"
91FILES:${PN}-openmpt123-doc = "${mandir}/man1/openmpt123*" 75FILES:${PN}-openmpt123-doc = "${mandir}/man1/openmpt123*"
92 76
@@ -94,7 +78,6 @@ FILES:${PN}-openmpt123-doc = "${mandir}/man1/openmpt123*"
94# The SemVer versioning scheme is incompatible with Debian/Ubuntu 78# The SemVer versioning scheme is incompatible with Debian/Ubuntu
95# package version names. 79# package version names.
96DEBIAN_NOAUTONAME:${PN} = "1" 80DEBIAN_NOAUTONAME:${PN} = "1"
97DEBIAN_NOAUTONAME:${PN}-modplug = "1"
98 81
99RDEPENDS:${PN}:libc-glibc = " \ 82RDEPENDS:${PN}:libc-glibc = " \
100 glibc-gconv-cp1252 \ 83 glibc-gconv-cp1252 \