diff options
author | Carlos Rafael Giani <crg7475@mailbox.org> | 2022-03-18 12:50:25 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-18 06:52:19 -0700 |
commit | 9442c55e084ab75b12715b18815f8aacb158cccf (patch) | |
tree | 7441aa0cb7765688cea153ecc2edc40d962c522b | |
parent | 3246da91113390166e8f33982e4ddc57e2f36f7b (diff) | |
download | meta-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 @@ | |||
1 | SUMMARY = "C and C++ cross-platform library for decoding tracked music files (modules)" | 1 | SUMMARY = "C and C++ cross-platform library for decoding tracked music files (modules)" |
2 | DESCRIPTION = "libopenmpt is a cross-platform C++ and C library to decode tracked \ | 2 | DESCRIPTION = "libopenmpt is a cross-platform C++ and C library to decode tracked \ |
3 | music files (modules) into a raw PCM audio stream. It also comes with openmpt123, a \ | 3 | music files (modules) into a raw PCM audio stream. It also comes with openmpt123, a \ |
4 | cross-platform command-line or terminal based module file player, and libopenmpt_modplug, \ | 4 | cross-platform command-line or terminal based module file player. libopenmpt is based \ |
5 | a wrapper around libopenmpt that provides an interface that is ABI compatile with \ | 5 | on the player code of the OpenMPT project." |
6 | libmodplug. libopenmpt is based on the player code of the OpenMPT project." | ||
7 | HOMEPAGE = "https://lib.openmpt.org/libopenmpt/" | 6 | HOMEPAGE = "https://lib.openmpt.org/libopenmpt/" |
8 | SECTION = "libs" | 7 | SECTION = "libs" |
9 | 8 | ||
10 | LICENSE = "BSD-3-Clause" | 9 | LICENSE = "BSD-3-Clause" |
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e804150573f149befef6c07e173f20c3" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ae09d6164bdecb499183479fd32b66fb" |
12 | 11 | ||
13 | DEPENDS = "virtual/libiconv" | 12 | DEPENDS = "virtual/libiconv" |
14 | 13 | ||
15 | SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \ | 14 | SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \ |
16 | file://run-ptest \ | 15 | file://run-ptest \ |
17 | " | 16 | " |
18 | SRC_URI[md5sum] = "66bbc6fbb5f27a554cb145d805e9ef9d" | 17 | SRC_URI[md5sum] = "d21fb799695cbe10a1e9aeaea23ed708" |
19 | SRC_URI[sha256sum] = "14a137b8d1a20e1b6a5e67cbc9467ab7e5e4e67d5aa38a247afc825685c53939" | 18 | SRC_URI[sha256sum] = "50c0d62ff2d9afefa36cce9f29042cb1fb8d4f0b386b81a0fc7734f35e21e6b6" |
20 | 19 | ||
21 | S = "${WORKDIR}/libopenmpt-${PV}+release.autotools" | 20 | S = "${WORKDIR}/libopenmpt-${PV}+release.autotools" |
22 | 21 | ||
23 | inherit autotools pkgconfig ptest | 22 | inherit autotools pkgconfig ptest |
24 | 23 | ||
25 | PACKAGECONFIG ??= " \ | 24 | PACKAGECONFIG ??= " \ |
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. | ||
38 | PACKAGECONFIG[libopenmpt-modplug] = "--enable-libopenmpt_modplug,--disable-libopenmpt_modplug" | ||
39 | PACKAGECONFIG[openmpt123] = "--enable-openmpt123,--disable-openmpt123" | 31 | PACKAGECONFIG[openmpt123] = "--enable-openmpt123,--disable-openmpt123" |
40 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests" | 32 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests" |
41 | 33 | ||
@@ -45,22 +37,15 @@ PACKAGECONFIG[mpg123] = "--with-mpg123,--without-mpg123,mpg123" | |||
45 | PACKAGECONFIG[ogg] = "--with-ogg,--without-ogg,libogg" | 37 | PACKAGECONFIG[ogg] = "--with-ogg,--without-ogg,libogg" |
46 | PACKAGECONFIG[portaudio] = "--with-portaudio,--without-portaudio,portaudio-v19" | 38 | PACKAGECONFIG[portaudio] = "--with-portaudio,--without-portaudio,portaudio-v19" |
47 | PACKAGECONFIG[pulseaudio] = "--with-pulseaudio,--without-pulseaudio,pulseaudio" | 39 | PACKAGECONFIG[pulseaudio] = "--with-pulseaudio,--without-pulseaudio,pulseaudio" |
48 | PACKAGECONFIG[sdl] = "--with-sdl,--without-sdl,virtual/libsdl" | ||
49 | PACKAGECONFIG[sdl2] = "--with-sdl2,--without-sdl2,virtual/libsdl2" | 40 | PACKAGECONFIG[sdl2] = "--with-sdl2,--without-sdl2,virtual/libsdl2" |
50 | PACKAGECONFIG[sndfile] = "--with-sndfile,--without-sndfile,libsndfile1" | 41 | PACKAGECONFIG[sndfile] = "--with-sndfile,--without-sndfile,libsndfile1" |
51 | PACKAGECONFIG[vorbis] = "--with-vorbis,--without-vorbis,libvorbis" | 42 | PACKAGECONFIG[vorbis] = "--with-vorbis,--without-vorbis,libvorbis" |
52 | PACKAGECONFIG[vorbisfile] = "--with-vorbisfile,--without-vorbisfile,libvorbis" | 43 | PACKAGECONFIG[vorbisfile] = "--with-vorbisfile,--without-vorbisfile,libvorbis" |
53 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" | 44 | PACKAGECONFIG[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.) | ||
60 | EXTRA_OECONF += " \ | 46 | EXTRA_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 | ||
88 | PACKAGES =+ "${PN}-modplug ${PN}-openmpt123 ${PN}-openmpt123-doc" | 73 | PACKAGES =+ "${PN}-openmpt123 ${PN}-openmpt123-doc" |
89 | FILES:${PN}-modplug = "${libdir}/libopenmpt_modplug.so.*" | ||
90 | FILES:${PN}-openmpt123 = "${bindir}/openmpt123" | 74 | FILES:${PN}-openmpt123 = "${bindir}/openmpt123" |
91 | FILES:${PN}-openmpt123-doc = "${mandir}/man1/openmpt123*" | 75 | FILES:${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. |
96 | DEBIAN_NOAUTONAME:${PN} = "1" | 80 | DEBIAN_NOAUTONAME:${PN} = "1" |
97 | DEBIAN_NOAUTONAME:${PN}-modplug = "1" | ||
98 | 81 | ||
99 | RDEPENDS:${PN}:libc-glibc = " \ | 82 | RDEPENDS:${PN}:libc-glibc = " \ |
100 | glibc-gconv-cp1252 \ | 83 | glibc-gconv-cp1252 \ |