2015-12-10 05:06:18 +00:00
|
|
|
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
|
2012-11-18 17:38:37 +00:00
|
|
|
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
|
|
|
|
# Contributor: Mateusz Herych <heniekk@gmail.com>
|
|
|
|
# Contributor: Storyteller <spiralsorrow@hotmail.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove wine makedepend, no vst
|
|
|
|
|
|
|
|
pkgname=lmms
|
2015-04-11 15:33:57 +00:00
|
|
|
pkgver=1.1.3
|
2016-07-02 23:26:34 +00:00
|
|
|
pkgrel=3
|
2012-11-18 17:38:37 +00:00
|
|
|
pkgdesc='The Linux MultiMedia Studio.'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url='http://lmms.sourceforge.net/'
|
|
|
|
license=('GPL')
|
2013-03-01 21:15:15 +00:00
|
|
|
depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt4' 'sdl_sound'
|
2014-04-13 16:47:04 +00:00
|
|
|
'libsamplerate' 'shared-mime-info' 'fltk')
|
2012-11-18 17:38:37 +00:00
|
|
|
optdepends=('fftw: SpectrumAnalyzer plugin'
|
|
|
|
'stk: STK instruments plugins'
|
|
|
|
'pulseaudio: PulseAudio output')
|
|
|
|
makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'stk')
|
2016-07-02 23:26:34 +00:00
|
|
|
makedepends_x86_64=('gcc-multilib')
|
2012-11-18 17:38:37 +00:00
|
|
|
provides=('lmms-extras')
|
|
|
|
conflicts=('lmms-extras')
|
2014-04-13 16:47:04 +00:00
|
|
|
options=('!makeflags')
|
2015-12-10 05:06:18 +00:00
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/LMMS/${pkgname}/archive/v${pkgver}.tar.gz"
|
2016-07-02 23:26:34 +00:00
|
|
|
'lmms-1.1.3-gcc-6.0-buildfix.patch'
|
2015-12-10 05:06:18 +00:00
|
|
|
"make-werrror-optional.patch")
|
|
|
|
md5sums=('88d9e66d240b711c37315e3c9da644a1'
|
2016-07-02 23:26:34 +00:00
|
|
|
'daf525e570f58f9cc5de0af380162e79'
|
2015-12-10 05:06:18 +00:00
|
|
|
'2c6e51b665c34fa61dc8b23e129404a9')
|
2012-11-18 17:38:37 +00:00
|
|
|
|
2015-12-10 05:06:18 +00:00
|
|
|
prepare() {
|
2012-11-18 17:38:37 +00:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
|
|
|
|
|
2016-07-02 23:26:34 +00:00
|
|
|
patch -Np1 -i ../lmms-1.1.3-gcc-6.0-buildfix.patch
|
2015-12-10 05:06:18 +00:00
|
|
|
patch -Np1 -i ../make-werrror-optional.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
2012-11-18 17:38:37 +00:00
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|