mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
LMMS: bump version
This commit is contained in:
99
media-sound/lmms/lmms-1.2.0~rc8.recipe
Normal file
99
media-sound/lmms/lmms-1.2.0~rc8.recipe
Normal file
@@ -0,0 +1,99 @@
|
||||
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-2019 Tobias Doerffel et al."
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/LMMS/lmms/archive/v${portVersion/\~/-}.tar.gz"
|
||||
CHECKSUM_SHA256="4511687e47f6159cb2a250528bcccaa38b36b78f345466d090514214888943e8"
|
||||
SOURCE_DIR="lmms-${portVersion/\~/-}"
|
||||
srcGitRev2="a66360f09e91cca9c7a6a16162bff6c3bd1f7efb"
|
||||
SOURCE_URI_2="https://github.com/rampantpixels/rpmalloc/archive/$srcGitRev2.tar.gz"
|
||||
CHECKSUM_SHA256_2="1aa23b2395eacc0fd86f197f0c4dffeb69107f5e0b73c2eed5c6b86ed2bef2b7"
|
||||
SOURCE_DIR_2="rpmalloc-$srcGitRev2"
|
||||
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:libfftw3f$secondaryArchSuffix
|
||||
lib:libfluidsynth$secondaryArchSuffix >= 2
|
||||
lib:libmp3lame$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
lib:libsamplerate$secondaryArchSuffix
|
||||
lib:libsdl_1.2$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libvorbisenc$secondaryArchSuffix
|
||||
lib:libvorbisfile$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libfftw3f$secondaryArchSuffix
|
||||
devel:libfluidsynth$secondaryArchSuffix >= 2
|
||||
devel:libmp3lame$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libsamplerate$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:lrelease$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# link submodule
|
||||
rm -rf src/3rdparty/rpmalloc/rpmalloc
|
||||
ln -s $sourceDir2 src/3rdparty/rpmalloc/rpmalloc
|
||||
|
||||
mkdir -p build && cd build
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=$appsDir/LMMS \
|
||||
-DWANT_QT5=ON \
|
||||
-Wno-dev
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
mv $appsDir/LMMS/bin/lmms $appsDir/LMMS/LMMS
|
||||
mv $appsDir/LMMS/share/lmms/* $appsDir/LMMS/
|
||||
mv $appsDir/LMMS/lib/lmms $appsDir/LMMS/plugins
|
||||
rm -rf $appsDir/LMMS/{share,lib,bin}
|
||||
|
||||
addResourcesToBinaries $portDir/additional-files/LMMS.rdef \
|
||||
$appsDir/LMMS/LMMS
|
||||
|
||||
addAppDeskbarSymlink $appsDir/LMMS/LMMS
|
||||
}
|
||||
Reference in New Issue
Block a user