summaryrefslogtreecommitdiff
path: root/community/lmms
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/lmms
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/lmms')
-rw-r--r--community/lmms/PKGBUILD38
-rw-r--r--community/lmms/lmms.install11
2 files changed, 49 insertions, 0 deletions
diff --git a/community/lmms/PKGBUILD b/community/lmms/PKGBUILD
new file mode 100644
index 000000000..3bd2ee9d8
--- /dev/null
+++ b/community/lmms/PKGBUILD
@@ -0,0 +1,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')
+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
+}
+
diff --git a/community/lmms/lmms.install b/community/lmms/lmms.install
new file mode 100644
index 000000000..11549cb5c
--- /dev/null
+++ b/community/lmms/lmms.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}