Skip to content

Commit

Permalink
libopenmpt: push 10.13 back to older 0.5.x release due to code FTBFS …
Browse files Browse the repository at this point in the history
…with 0.7 series.

see #1202
  • Loading branch information
nieder committed Dec 26, 2024
1 parent 9ccc9b9 commit 49eb4de
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 1 deletion.
111 changes: 111 additions & 0 deletions 10.9-libcxx/stable/main/finkinfo/libs/libopenmpt0-shlibs-0.5.24.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
Package: libopenmpt0-shlibs
# 0.6 and 0.7 series fail looking for ____builtin_LINE (gnuism?)
Version: 0.5.24
Revision: 1
# 10.13 doesn't have "member function 'value'" used in 0.7 series
# https://github.com/fink/fink-distributions/issues/1202
Distribution: 10.13
Description: Library to decode tracked music files
License: BSD
Maintainer: Hanspeter Niederstrasser <[email protected]>
Depends: <<
libmpg123-shlibs,
libogg-shlibs,
libtool2-shlibs,
libvorbis0-shlibs
<<
BuildDepends: <<
doxygen,
fink-package-precedence,
libflac12-dev,
libmpg123,
libogg,
libtool2,
libsndfile1-dev,
libvorbis0,
pkgconfig,
portaudio2 (>= 2.19.6.0-20161030-1)
<<
Source: https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-%v+release.autotools.tar.gz
Source-Checksum: SHA256(0b146370512c0db0daec1d6e62d44f45c4cca28293ec46acf4fdab61e7c9ff11)
Source2: https://raw.githubusercontent.com/apple-opensource/zlib/9262b43df5648cd5ed4a2d4f79895eeefec0dbe9/zlib/zlib.pc
Source2-Checksum: SHA256(b5d9db6f6c7dfdb3719a9c55074fd64713fbc36d8ebf720405b3b23c95cac805)
Source2ExtractDir: pkgconfig
PatchScript: <<
# Patch configure to not link like Puma on Yosemite
perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure
<<
ConfigureParams: <<
--enable-dependency-tracking \
--disable-static \
--without-pulseaudio \
--without-portaudiocpp \
--with-sdl2=no
<<
GCC: 4.0
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH=`pwd`/../pkgconfig
%{default_script}
fink-package-precedence --prohibit-bdep=libopenmpt0-dev .
<<
InfoTest: <<
TestDepends: portaudio2-cpp (>= 2.19.6.0-20161030-1)
TestScript: <<
#!/bin/sh -ev
make check || exit 2
fink-package-precedence --prohibit-bdep=libopenmpt0-dev .
<<
TestConfigureParams: --with-portaudiocpp
<<
InstallScript: <<
make install DESTDIR=%d
# Remove private requires
perl -ni -e 'print unless /Libs.private:/' %i/lib/pkgconfig/*.pc
perl -ni -e 'print unless /Requires.private:/' %i/lib/pkgconfig/*.pc
<<
DocFiles: LICENSE README.md
Shlibs: %p/lib/libopenmpt.0.dylib 3.0.0 %n (>= 0.5.10-1)
SplitOff: <<
Package: libopenmpt0-dev
Description: Developer files for libopenmpt0-shlibs
Depends: <<
%N (= %v-%r)
<<
BuildDependsOnly: true
Files: <<
include
lib/libopenmpt.dylib
lib/libopenmpt.la
lib/pkgconfig
share/doc/libopenmpt
<<
DocFiles: LICENSE README.md
<<
SplitOff2: <<
Package: libopenmpt-bin
Description: OpenMPT player
Depends: <<
%N (>= %v-%r),
libflac12,
libmpg123-shlibs,
libogg-shlibs,
libsndfile1-shlibs,
libtool2-shlibs,
libvorbis0-shlibs,
portaudio2-shlibs (>= 2.19.6.0-20161030-1)
<<
Files: <<
bin
share/man
<<
DocFiles: LICENSE
<<
Homepage: https://openmpt.org/
DescDetail: <<
libopenmpt is a cross-platform C++ and C library to decode tracked music
files (modules) into a raw PCM audio stream.

libopenmpt is based on the player code of the Open ModPlug Tracker project
(OpenMPT, https://openmpt.org/)
<<
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: libopenmpt0-shlibs
Version: 0.7.12
Revision: 1
# Dist restricted by needing c++17
Distribution: 10.13, 10.14, 10.14.5, 10.15, 11.0, 11.3, 12.0, 13.0, 14.0, 14.4, 15.0
Distribution: 10.14, 10.14.5, 10.15, 11.0, 11.3, 12.0, 13.0, 14.0, 14.4, 15.0
Description: Library to decode tracked music files
License: BSD
Maintainer: Hanspeter Niederstrasser <[email protected]>
Expand Down

0 comments on commit 49eb4de

Please sign in to comment.