PKGBUILDs/community/lmms/PKGBUILD

51 lines
1.5 KiB
Bash
Raw Normal View History

2012-11-18 17:38:37 +00:00
# $Id: PKGBUILD 80173 2012-11-17 12:51:55Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# 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-01-09 01:19:27 +00:00
pkgver=1.1.0
2013-05-02 12:11:50 +00:00
pkgrel=1
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')
provides=('lmms-extras')
conflicts=('lmms-extras')
2014-04-13 16:47:04 +00:00
options=('!makeflags')
2012-11-18 17:38:37 +00:00
install=lmms.install
2015-01-09 01:19:27 +00:00
source=("https://github.com/LMMS/${pkgname}/archive/v${pkgver}.tar.gz"
2012-11-18 17:38:37 +00:00
zynaddsubfx_unlink.patch)
2015-01-09 01:19:27 +00:00
md5sums=('170ce0615063e9a171f1980972cca262'
2012-11-18 17:38:37 +00:00
'd2ea78ac0cf2979505f140c6845617cf')
2014-07-22 12:23:50 +00:00
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i ../zynaddsubfx_unlink.patch
}
2012-11-18 17:38:37 +00:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
}