blob: 4702a2bc86d63085c1864fdaad4ed9d41c01d044 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Layne Pedersen <layne dot pedersen at gmail dot com>
# Contributor: Sławomir Śpiewak <slawekwaga@gmail.com>
# Contributor: Difarem <difarem@gmail.com>
# Contributor: David Runge <dave@sleepmap.de>
# Contributor: Xyne
# Contributor: Scott Garrett <Wintervenom@archlinux.us>
# Contributor: Thomas Dziedzic
_name=lmms
pkgname=lmms-git
pkgver=1.3.0.alpha.1.r1024.g067c3ad41
pkgrel=1
pkgdesc='The Linux MultiMedia Studio.'
arch=('x86_64')
url="https://lmms.io"
license=('GPL2')
depends=('fftw' 'fltk' 'fluidsynth' 'lame' 'libgig' 'libsamplerate' 'sndio' 'sdl2' 'qt6-svg' 'stk')
optdepends=('pulse-native-provider: playing audio via pulseaudio'
'jack: playing audio via jack'
'alsa-lib: playing audio via alsa'
'portaudio: playing audio via portaudio'
'libsoundio: playing audio via soundio'
'wine: VST plugin support (64bit only)'
'wine32: VST plugin support (32bit+64bit)'
'carla: carla support'
'perl-xml-parser: swh LADSPA plugin support'
'lilv: lv2 support'
'libvorbis: exporting ogg vorbis'
'libogg: exporting ogg vorbis')
makedepends=('cmake' 'doxygen' 'extra-cmake-modules' 'freetype2' 'git' 'ladspa' 'qt6-tools' 'wine' 'perl-list-moreutils' 'perl-xml-parser' 'libsndfile')
provides=('lmms')
conflicts=('lmms')
source=("git+https://github.com/${_name}/${_name}.git")
sha512sums=('SKIP')
pkgver() {
cd "${_name}"
git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
cd "${_name}"
mkdir -vp build
git submodule init
git submodule update
}
build() {
cd "${_name}/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DWANT_QT6=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DTARGET_UARCH=native \
..
cmake --build .
}
package() {
cd "${_name}/build"
make DESTDIR="$pkgdir" install
}
|