Updated libopenmpt to 0.2.6611. Add pulseaudio option, default on to follow upstream. libopenmpt 0.2-beta18 (2016-07-11) [Change] openmpt123: Add PulseAudio output support. Autotools and Makefile build systems now depend on libpulse and libpulse-simple by default. Disable with --without-pulseaudio or NO_PULSEAUDIO=1 respectively. When enabled, PulseAudio will be the default output driver, [Change] xmp-openmpt: Settings are now stored in xmplay.ini like with every other plugin. [Regression] openmpt123: Support for FLAC < 1.3.0 has been removed. FLAC before 1.3.0 is broken beyond repair as it provides assert.h in the include path. [Bug] Generated pkg-config file libopenmpt.pc by both Makefile and Autotools build systems was totally broken. [Bug] libopenmpt no longer uses the non-thread-safe global std::rand() function. [Bug] Sample loops in GDM modules did not work when using Emscripten. [Bug] XM and MO3 loaders could crash due to unaligned memory accesses. [Bug] Fixed incorrect handling of custom MPTM tunings on big endian platforms. [Bug] Fixed various problems found with clang 3.8 static analyzer, address sanitizer and undefined behaviour sanitizer. [Bug] File header probing functionality was broken for most formats. [Bug] With non-seekable streams, the entire file was almost always cached even if it was not of any supported module type. Seeking in allsubsongs-mode now works correctly. openmpt123: Added subsong support. Various playback fixes for 669, IT, MT2 and MTM files. Some MOD files with more than 128 patterns (e.g. NIETNU.MOD) were not loaded correctly. A new example libopenmpt_example_c_probe has been added which demonstrates the usage and flexibility of openmpt_could_open_propability() in the C API under various constraints.diff -r1.11 -r1.12 pkgsrc/audio/libopenmpt/Makefile
(wiz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2016/05/22 17:32:04 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2016/07/21 12:49:41 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= libopenmpt-0.2.6401-beta17-autotools | 3 | DISTNAME= libopenmpt-0.2.6611-beta18-autotools | |
4 | PKGNAME= ${DISTNAME:C/-beta.*//} | 4 | PKGNAME= ${DISTNAME:C/-beta.*//} | |
5 | CATEGORIES= audio | 5 | CATEGORIES= audio | |
6 | MASTER_SITES= http://lib.openmpt.org/files/libopenmpt/src/ | 6 | MASTER_SITES= http://lib.openmpt.org/files/libopenmpt/src/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://lib.openmpt.org/libopenmpt/ | 9 | HOMEPAGE= http://lib.openmpt.org/libopenmpt/ | |
10 | COMMENT= Library to decode tracked music files into a raw PCM audio stream | 10 | COMMENT= Library to decode tracked music files into a raw PCM audio stream | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man | 13 | BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man | |
14 | 14 | |||
15 | WRKSRC= ${WRKDIR}/${DISTNAME:C/-beta.*-/-/} | 15 | WRKSRC= ${WRKDIR}/${DISTNAME:C/-beta.*-/-/} | |
16 | USE_LANGUAGES= c c++ | 16 | USE_LANGUAGES= c c++ |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2016/05/22 17:32:04 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.12 2016/07/21 12:49:41 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (libopenmpt-0.2.6401-beta17-autotools.tar.gz) = f2537e26b74eb2e6c4fd631583447e86d61d717f | 3 | SHA1 (libopenmpt-0.2.6611-beta18-autotools.tar.gz) = 04c841b838cbd6ee251afaf593ff945ab15cd46c | |
4 | RMD160 (libopenmpt-0.2.6401-beta17-autotools.tar.gz) = c61bc92cecb1f2947b98fca36e081bb6d8884038 | 4 | RMD160 (libopenmpt-0.2.6611-beta18-autotools.tar.gz) = 297d95a376ede0547f1a2b3a9fe36528cec520a9 | |
5 | SHA512 (libopenmpt-0.2.6401-beta17-autotools.tar.gz) = 6b706acbc4af8dbf6f1b9ca02a543a43dd15729386535bd49f6efd65ae54dd1c908e12aaca91ec55aedd2a2e945e2f49339d1bb3b524135f560cc8062fe38be0 | 5 | SHA512 (libopenmpt-0.2.6611-beta18-autotools.tar.gz) = c4da178dfdeab8268fc2ff9ee66b56f1a7d14a83e0e006187954f67e1ab574edc73d7714a5e9a0bfed39abb618522eb6def7adf947a1a37995bfe419d59700b7 | |
6 | Size (libopenmpt-0.2.6401-beta17-autotools.tar.gz) = 1231967 bytes | 6 | Size (libopenmpt-0.2.6611-beta18-autotools.tar.gz) = 1255020 bytes |
@@ -1,20 +1,21 @@ | @@ -1,20 +1,21 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2015/09/30 20:09:51 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2016/07/21 12:49:41 wiz Exp $ | |
2 | bin/openmpt123 | 2 | bin/openmpt123 | |
3 | include/libopenmpt/libopenmpt.h | 3 | include/libopenmpt/libopenmpt.h | |
4 | include/libopenmpt/libopenmpt.hpp | 4 | include/libopenmpt/libopenmpt.hpp | |
5 | include/libopenmpt/libopenmpt_config.h | 5 | include/libopenmpt/libopenmpt_config.h | |
6 | include/libopenmpt/libopenmpt_ext.hpp | 6 | include/libopenmpt/libopenmpt_ext.hpp | |
7 | include/libopenmpt/libopenmpt_stream_callbacks_fd.h | 7 | include/libopenmpt/libopenmpt_stream_callbacks_fd.h | |
8 | include/libopenmpt/libopenmpt_stream_callbacks_file.h | 8 | include/libopenmpt/libopenmpt_stream_callbacks_file.h | |
9 | include/libopenmpt/libopenmpt_version.h | 9 | include/libopenmpt/libopenmpt_version.h | |
10 | lib/libopenmpt.la | 10 | lib/libopenmpt.la | |
11 | lib/pkgconfig/libopenmpt.pc | 11 | lib/pkgconfig/libopenmpt.pc | |
12 | man/man1/openmpt123.1 | 12 | man/man1/openmpt123.1 | |
13 | share/doc/libopenmpt/LICENSE | 13 | share/doc/libopenmpt/LICENSE | |
14 | share/doc/libopenmpt/README.md | 14 | share/doc/libopenmpt/README.md | |
15 | share/doc/libopenmpt/TODO | 15 | share/doc/libopenmpt/TODO | |
16 | share/doc/libopenmpt/examples/libopenmpt_example_c.c | 16 | share/doc/libopenmpt/examples/libopenmpt_example_c.c | |
17 | share/doc/libopenmpt/examples/libopenmpt_example_c_mem.c | 17 | share/doc/libopenmpt/examples/libopenmpt_example_c_mem.c | |
18 | share/doc/libopenmpt/examples/libopenmpt_example_c_probe.c | |||
18 | share/doc/libopenmpt/examples/libopenmpt_example_c_stdout.c | 19 | share/doc/libopenmpt/examples/libopenmpt_example_c_stdout.c | |
19 | share/doc/libopenmpt/examples/libopenmpt_example_c_unsafe.c | 20 | share/doc/libopenmpt/examples/libopenmpt_example_c_unsafe.c | |
20 | share/doc/libopenmpt/examples/libopenmpt_example_cxx.cpp | 21 | share/doc/libopenmpt/examples/libopenmpt_example_cxx.cpp |
@@ -1,19 +1,25 @@ | @@ -1,19 +1,25 @@ | |||
1 | # $NetBSD: options.mk,v 1.1 2014/08/26 10:44:15 wiz Exp $ | 1 | # $NetBSD: options.mk,v 1.2 2016/07/21 12:49:41 wiz Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.libopenmpt | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.libopenmpt | |
4 | PKG_SUPPORTED_OPTIONS= flac sndfile wavpack | 4 | PKG_SUPPORTED_OPTIONS= flac pulseaudio sndfile wavpack | |
5 | PKG_SUGGESTED_OPTIONS= sndfile | 5 | PKG_SUGGESTED_OPTIONS= pulseaudio sndfile | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | .if !empty(PKG_OPTIONS:Mflac) | 9 | .if !empty(PKG_OPTIONS:Mflac) | |
10 | .include "../../audio/flac/buildlink3.mk" | 10 | .include "../../audio/flac/buildlink3.mk" | |
11 | .endif | 11 | .endif | |
12 | 12 | |||
13 | .if !empty(PKG_OPTIONS:Mpulseaudio) | |||
14 | .include "../../audio/pulseaudio/buildlink3.mk" | |||
15 | .else | |||
16 | CONFIGURE_ARGS+= --without-pulseaudio | |||
17 | .endif | |||
18 | ||||
13 | .if !empty(PKG_OPTIONS:Msndfile) | 19 | .if !empty(PKG_OPTIONS:Msndfile) | |
14 | .include "../../audio/libsndfile/buildlink3.mk" | 20 | .include "../../audio/libsndfile/buildlink3.mk" | |
15 | .endif | 21 | .endif | |
16 | 22 | |||
17 | .if !empty(PKG_OPTIONS:Mwavpack) | 23 | .if !empty(PKG_OPTIONS:Mwavpack) | |
18 | .include "../../audio/wavpack/buildlink3.mk" | 24 | .include "../../audio/wavpack/buildlink3.mk" | |
19 | .endif | 25 | .endif |