summaryrefslogtreecommitdiff
path: root/community/lmms/PKGBUILD
blob: 1757d9b09ddf35e09a4fbc24cf6c06e0b9afdeaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 40769 2011-02-26 18:40:13Z mherych $
# Maintainer: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Storyteller <spiralsorrow@hotmail.com>

pkgname=lmms
pkgver=0.4.10
pkgrel=1
pkgdesc="The Linux MultiMedia Studio"
arch=('i686' 'x86_64' 'mips64el')
url="http://lmms.sourceforge.net/"
license=('GPL')
depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt' 'sdl_sound' 'libsamplerate' 'shared-mime-info')
optdepends=('wine: VST support (experimental)'
	    'fftw: SpectrumAnalyzer plugin' 
		'stk: STK instruments plugins')
makedepends=('cmake' 'ladspa' 'libxft' 'freetype2')
provides=('lmms-extras')
conflicts=('lmms-extras')
options=('!libtool' '!makeflags')
install=lmms.install
source=(http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2)
md5sums=('dc44dc7bc3f3fa697a78b1719288d762')
sha1sums=('401d085f4f8e63942cd26bb0160f7009a644515c')


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
}