SUMMARY="Cross-platform music production software" DESCRIPTION="LMMS is a free cross-platform alternative to commercial \ programs like FL Studio®, which allow you to produce music with your \ computer. This includes the creation of melodies and beats, the \ synthesis and mixing of sounds, and arranging of samples. You can have fun \ with your MIDI-keyboard and much more; all in a user-friendly and modern \ interface." HOMEPAGE="http://lmms.io/" COPYRIGHT="2004-2017 Tobias Doerffel et al." LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://github.com/LMMS/lmms/archive/v${portVersion/\~/-}.tar.gz" CHECKSUM_SHA256="ce6938b95e0c2af63b68c40180036b08c54127fba21737f2cd904aa67a36a00d" SOURCE_DIR="lmms-${portVersion/\~/-}" #PATCHES="lmms-$portVersion.patchset" ADDITIONAL_FILES="LMMS.rdef" ARCHITECTURES="!x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" lmms$secondaryArchSuffix = $portVersion app:lmms$secondaryArchSuffix " REQUIRES=" haiku$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5Gui$secondaryArchSuffix lib:libQt5Widgets$secondaryArchSuffix lib:libQt5Xml$secondaryArchSuffix lib:libsndfile$secondaryArchSuffix lib:libvorbis$secondaryArchSuffix lib:libvorbisenc$secondaryArchSuffix lib:libvorbisfile$secondaryArchSuffix lib:libogg$secondaryArchSuffix lib:libsdl_1.2$secondaryArchSuffix lib:libfluidsynth$secondaryArchSuffix lib:libsamplerate$secondaryArchSuffix lib:libfftw3f$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libQt5Core$secondaryArchSuffix devel:libQt5Gui$secondaryArchSuffix devel:libQt5Widgets$secondaryArchSuffix devel:libsndfile$secondaryArchSuffix devel:libvorbis$secondaryArchSuffix devel:libogg$secondaryArchSuffix devel:libsdl$secondaryArchSuffix devel:libfluidsynth$secondaryArchSuffix devel:libsamplerate$secondaryArchSuffix devel:libfftw3f$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake cmd:pkg_config$secondaryArchSuffix cmd:g++$secondaryArchSuffix cmd:ninja " BUILD() { mkdir -p build && cd build cmake -DCMAKE_INSTALL_PREFIX=$appsDir/LMMS/ -DWANT_QT5=ON -Wno-dev -GNinja .. ninja $jobArgs } INSTALL() { cd build ninja install rm -rf $appsDir/LMMS/share/man mv $appsDir/LMMS/bin/lmms $appsDir/LMMS/bin/LMMS addResourcesToBinaries $portDir/additional-files/LMMS.rdef \ $appsDir/LMMS/bin/LMMS addAppDeskbarSymlink $appsDir/LMMS/bin/LMMS "LMMS" }