Thu Jul 21 12:49:42 2016 UTC ()
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.


(wiz)
diff -r1.11 -r1.12 pkgsrc/audio/libopenmpt/Makefile
diff -r1.11 -r1.12 pkgsrc/audio/libopenmpt/distinfo
diff -r1.4 -r1.5 pkgsrc/audio/libopenmpt/PLIST
diff -r1.1 -r1.2 pkgsrc/audio/libopenmpt/options.mk

cvs diff -r1.11 -r1.12 pkgsrc/audio/libopenmpt/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/libopenmpt/Makefile 2016/05/22 17:32:04 1.11
+++ pkgsrc/audio/libopenmpt/Makefile 2016/07/21 12:49:41 1.12
@@ -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
3DISTNAME= libopenmpt-0.2.6401-beta17-autotools 3DISTNAME= libopenmpt-0.2.6611-beta18-autotools
4PKGNAME= ${DISTNAME:C/-beta.*//} 4PKGNAME= ${DISTNAME:C/-beta.*//}
5CATEGORIES= audio 5CATEGORIES= audio
6MASTER_SITES= http://lib.openmpt.org/files/libopenmpt/src/ 6MASTER_SITES= http://lib.openmpt.org/files/libopenmpt/src/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://lib.openmpt.org/libopenmpt/ 9HOMEPAGE= http://lib.openmpt.org/libopenmpt/
10COMMENT= Library to decode tracked music files into a raw PCM audio stream 10COMMENT= Library to decode tracked music files into a raw PCM audio stream
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man 13BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
14 14
15WRKSRC= ${WRKDIR}/${DISTNAME:C/-beta.*-/-/} 15WRKSRC= ${WRKDIR}/${DISTNAME:C/-beta.*-/-/}
16USE_LANGUAGES= c c++ 16USE_LANGUAGES= c c++

cvs diff -r1.11 -r1.12 pkgsrc/audio/libopenmpt/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/libopenmpt/distinfo 2016/05/22 17:32:04 1.11
+++ pkgsrc/audio/libopenmpt/distinfo 2016/07/21 12:49:41 1.12
@@ -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
3SHA1 (libopenmpt-0.2.6401-beta17-autotools.tar.gz) = f2537e26b74eb2e6c4fd631583447e86d61d717f 3SHA1 (libopenmpt-0.2.6611-beta18-autotools.tar.gz) = 04c841b838cbd6ee251afaf593ff945ab15cd46c
4RMD160 (libopenmpt-0.2.6401-beta17-autotools.tar.gz) = c61bc92cecb1f2947b98fca36e081bb6d8884038 4RMD160 (libopenmpt-0.2.6611-beta18-autotools.tar.gz) = 297d95a376ede0547f1a2b3a9fe36528cec520a9
5SHA512 (libopenmpt-0.2.6401-beta17-autotools.tar.gz) = 6b706acbc4af8dbf6f1b9ca02a543a43dd15729386535bd49f6efd65ae54dd1c908e12aaca91ec55aedd2a2e945e2f49339d1bb3b524135f560cc8062fe38be0 5SHA512 (libopenmpt-0.2.6611-beta18-autotools.tar.gz) = c4da178dfdeab8268fc2ff9ee66b56f1a7d14a83e0e006187954f67e1ab574edc73d7714a5e9a0bfed39abb618522eb6def7adf947a1a37995bfe419d59700b7
6Size (libopenmpt-0.2.6401-beta17-autotools.tar.gz) = 1231967 bytes 6Size (libopenmpt-0.2.6611-beta18-autotools.tar.gz) = 1255020 bytes

cvs diff -r1.4 -r1.5 pkgsrc/audio/libopenmpt/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/libopenmpt/PLIST 2015/09/30 20:09:51 1.4
+++ pkgsrc/audio/libopenmpt/PLIST 2016/07/21 12:49:41 1.5
@@ -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 $
2bin/openmpt123 2bin/openmpt123
3include/libopenmpt/libopenmpt.h 3include/libopenmpt/libopenmpt.h
4include/libopenmpt/libopenmpt.hpp 4include/libopenmpt/libopenmpt.hpp
5include/libopenmpt/libopenmpt_config.h 5include/libopenmpt/libopenmpt_config.h
6include/libopenmpt/libopenmpt_ext.hpp 6include/libopenmpt/libopenmpt_ext.hpp
7include/libopenmpt/libopenmpt_stream_callbacks_fd.h 7include/libopenmpt/libopenmpt_stream_callbacks_fd.h
8include/libopenmpt/libopenmpt_stream_callbacks_file.h 8include/libopenmpt/libopenmpt_stream_callbacks_file.h
9include/libopenmpt/libopenmpt_version.h 9include/libopenmpt/libopenmpt_version.h
10lib/libopenmpt.la 10lib/libopenmpt.la
11lib/pkgconfig/libopenmpt.pc 11lib/pkgconfig/libopenmpt.pc
12man/man1/openmpt123.1 12man/man1/openmpt123.1
13share/doc/libopenmpt/LICENSE 13share/doc/libopenmpt/LICENSE
14share/doc/libopenmpt/README.md 14share/doc/libopenmpt/README.md
15share/doc/libopenmpt/TODO 15share/doc/libopenmpt/TODO
16share/doc/libopenmpt/examples/libopenmpt_example_c.c 16share/doc/libopenmpt/examples/libopenmpt_example_c.c
17share/doc/libopenmpt/examples/libopenmpt_example_c_mem.c 17share/doc/libopenmpt/examples/libopenmpt_example_c_mem.c
 18share/doc/libopenmpt/examples/libopenmpt_example_c_probe.c
18share/doc/libopenmpt/examples/libopenmpt_example_c_stdout.c 19share/doc/libopenmpt/examples/libopenmpt_example_c_stdout.c
19share/doc/libopenmpt/examples/libopenmpt_example_c_unsafe.c 20share/doc/libopenmpt/examples/libopenmpt_example_c_unsafe.c
20share/doc/libopenmpt/examples/libopenmpt_example_cxx.cpp 21share/doc/libopenmpt/examples/libopenmpt_example_cxx.cpp

cvs diff -r1.1 -r1.2 pkgsrc/audio/libopenmpt/options.mk (expand / switch to unified diff)

--- pkgsrc/audio/libopenmpt/options.mk 2014/08/26 10:44:15 1.1
+++ pkgsrc/audio/libopenmpt/options.mk 2016/07/21 12:49:41 1.2
@@ -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
3PKG_OPTIONS_VAR= PKG_OPTIONS.libopenmpt 3PKG_OPTIONS_VAR= PKG_OPTIONS.libopenmpt
4PKG_SUPPORTED_OPTIONS= flac sndfile wavpack 4PKG_SUPPORTED_OPTIONS= flac pulseaudio sndfile wavpack
5PKG_SUGGESTED_OPTIONS= sndfile 5PKG_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
 16CONFIGURE_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