Permalink
Comparing changes
Open a pull request
- 1 commit
- 2 files changed
- 0 commit comments
- 1 contributor
Commits on Apr 14, 2019
Unified
Split
Showing
with
518 additions
and 0 deletions.
- +97 −0 media-sound/fluidsynth/fluidsynth2-2.0.4.recipe
- +421 −0 media-sound/fluidsynth/patches/fluidsynth2-2.0.4.patchset
| @@ -0,0 +1,97 @@ | ||
| SUMMARY="A software real-time synthesizer" | ||
| DESCRIPTION=" | ||
| Fluidsynth is a free open source software synthesizer written in C. It \ | ||
| can convert MIDI note data to an audio signal using SoundFont technology \ | ||
| without a SoundFont compatible soundcard. Fluidsynth can perform as a virtual \ | ||
| MIDI device and read in SMF (.mid) files directly. Another function is its \ | ||
| ability to send audio data to a Raw or Wave file." | ||
| HOMEPAGE="http://www.fluidsynth.org/" | ||
| COPYRIGHT="2007-2019 Josh Green, Pedro Lopez-Cabanillas, David Henningsson" | ||
| LICENSE="GNU LGPL v2.1" | ||
| REVISION="1" | ||
| SOURCE_URI="https://github.com/FluidSynth/fluidsynth/archive/v$portVersion.tar.gz" | ||
| CHECKSUM_SHA256="2c065de87e9c9ba0311ebf2f4828a4fd76f1f5cc7d1d93dd80d7a048d7d2a76c" | ||
| SOURCE_DIR="fluidsynth-$portVersion" | ||
| PATCHES="fluidsynth2-$portVersion.patchset" | ||
|
|
||
| ARCHITECTURES="?x86_gcc2 x86_64" | ||
| SECONDARY_ARCHITECTURES="x86" | ||
|
|
||
| PROVIDES=" | ||
| fluidsynth2${secondaryArchSuffix} = $portVersion | ||
| cmd:fluidsynth${secondaryArchSuffix} | ||
| lib:libfluidsynth${secondaryArchSuffix} = 2.1.1 compat >= 2 | ||
| " | ||
| REQUIRES=" | ||
| haiku${secondaryArchSuffix} | ||
| lib:libFLAC$secondaryArchSuffix | ||
| lib:libglib_2.0$secondaryArchSuffix | ||
| lib:libgomp$secondaryArchSuffix | ||
| lib:libiconv$secondaryArchSuffix | ||
| lib:libintl$secondaryArchSuffix | ||
| lib:libncurses$secondaryArchSuffix | ||
| lib:libogg$secondaryArchSuffix | ||
| lib:libreadline$secondaryArchSuffix | ||
| lib:libSDL_1.2$secondaryArchSuffix | ||
| lib:libsndfile$secondaryArchSuffix | ||
| lib:libvorbis$secondaryArchSuffix | ||
| " | ||
|
|
||
| PROVIDES_devel=" | ||
| fluidsynth2${secondaryArchSuffix}_devel = $portVersion | ||
| devel:libfluidsynth$secondaryArchSuffix = 2.1.1 compat >= 2 | ||
| " | ||
| REQUIRES_devel=" | ||
| fluidsynth2$secondaryArchSuffix == $portVersion base | ||
| " | ||
| CONFLICTS_devel=" | ||
| fluidsynth${secondaryArchSuffix}_devel | ||
| " | ||
|
|
||
| BUILD_REQUIRES=" | ||
| haiku${secondaryArchSuffix}_devel | ||
| devel:libFLAC$secondaryArchSuffix | ||
| devel:libglib_2.0$secondaryArchSuffix | ||
| devel:libiconv$secondaryArchSuffix | ||
| devel:libncurses$secondaryArchSuffix | ||
| devel:libogg$secondaryArchSuffix | ||
| devel:libreadline$secondaryArchSuffix | ||
| devel:libSDL_1.2$secondaryArchSuffix | ||
| devel:libsndfile$secondaryArchSuffix | ||
| devel:libvorbis$secondaryArchSuffix | ||
| " | ||
| BUILD_PREREQUIRES=" | ||
| cmd:cmake | ||
| cmd:gcc$secondaryArchSuffix | ||
| cmd:libtoolize$secondaryArchSuffix | ||
| cmd:make | ||
| cmd:pkg_config$secondaryArchSuffix | ||
| " | ||
|
|
||
| BUILD() | ||
| { | ||
| mkdir -p build | ||
| cd build | ||
| cmake .. $cmakeDirArgs | ||
| make $jobArgs | ||
| } | ||
|
|
||
| INSTALL() | ||
| { | ||
| cd build | ||
| make install | ||
|
|
||
| mkdir -p $(dirname $includeDir) | ||
| mv $prefix/include $includeDir | ||
| mv $prefix/lib64 $libDir || true | ||
| mkdir -p $(dirname $manDir) | ||
| mv $prefix/share/man $manDir | ||
| rm -rf $prefix/share | ||
|
|
||
| prepareInstalledDevelLib libfluidsynth | ||
| fixPkgconfig | ||
|
|
||
| # devel package | ||
| packageEntries devel \ | ||
| $developDir | ||
| } |
Oops, something went wrong.