extra/lmms to 1.2.2-19

This commit is contained in:
Kevin Mihelich 2024-01-01 14:41:27 +00:00
parent faa1723eef
commit 25d98bcc6e
2 changed files with 30 additions and 15 deletions

View file

@ -1,11 +1,11 @@
pkgbase = lmms pkgbase = lmms
pkgdesc = The Linux MultiMedia Studio pkgdesc = The Linux MultiMedia Studio
pkgver = 1.2.2 pkgver = 1.2.2
pkgrel = 17 pkgrel = 19
url = https://lmms.io url = https://lmms.io
arch = x86_64 arch = x86_64
groups = pro-audio groups = pro-audio
license = GPL2 license = GPL-2.0-or-later
makedepends = alsa-lib makedepends = alsa-lib
makedepends = bash-completion makedepends = bash-completion
makedepends = carla makedepends = carla
@ -32,12 +32,16 @@ pkgbase = lmms
makedepends = wine makedepends = wine
depends = gcc-libs depends = gcc-libs
depends = glibc depends = glibc
depends = hicolor-icon-theme
depends = libx11 depends = libx11
depends = libxcb depends = libxcb
depends = qt5-base depends = qt5-base
depends = qt5-x11extras depends = qt5-x11extras
depends = sdl12-compat depends = sdl12-compat
depends = sh
depends = zlib depends = zlib
optdepends = lib32-gcc-libs: VST plugin support
optdepends = lib32-glibc: VST plugin support
optdepends = pulseaudio: pulseaudio support optdepends = pulseaudio: pulseaudio support
optdepends = wine: VST plugin support optdepends = wine: VST plugin support
options = !lto options = !lto
@ -57,11 +61,13 @@ pkgbase = lmms
pkgname = lmms pkgname = lmms
depends = gcc-libs depends = gcc-libs
depends = glibc depends = glibc
depends = hicolor-icon-theme
depends = libx11 depends = libx11
depends = libxcb depends = libxcb
depends = qt5-base depends = qt5-base
depends = qt5-x11extras depends = qt5-x11extras
depends = sdl12-compat depends = sdl12-compat
depends = sh
depends = zlib depends = zlib
depends = alsa-lib depends = alsa-lib
depends = libasound.so depends = libasound.so
@ -81,6 +87,8 @@ pkgname = lmms
depends = libpulse.so depends = libpulse.so
depends = libsamplerate depends = libsamplerate
depends = libsamplerate.so depends = libsamplerate.so
depends = libsndfile
depends = libsndfile.so
depends = libvorbis depends = libvorbis
depends = libvorbis.so depends = libvorbis.so
depends = libvorbisenc.so depends = libvorbisenc.so
@ -90,4 +98,4 @@ pkgname = lmms
depends = sndio depends = sndio
depends = libsndio.so depends = libsndio.so
depends = stk depends = stk
depends = libstk-4.6.2.so depends = libstk-5.0.0.so

View file

@ -12,20 +12,22 @@
pkgname=lmms pkgname=lmms
pkgver=1.2.2 pkgver=1.2.2
pkgrel=17 pkgrel=19
pkgdesc='The Linux MultiMedia Studio' pkgdesc='The Linux MultiMedia Studio'
arch=(x86_64) arch=(x86_64)
url="https://lmms.io" url="https://lmms.io"
license=(GPL2) license=(GPL-2.0-or-later)
groups=(pro-audio) groups=(pro-audio)
depends=( depends=(
gcc-libs gcc-libs
glibc glibc
hicolor-icon-theme
libx11 libx11
libxcb libxcb
qt5-base qt5-base
qt5-x11extras qt5-x11extras
sdl12-compat sdl12-compat
sh
zlib zlib
) )
makedepends=( makedepends=(
@ -53,6 +55,8 @@ makedepends=(
stk stk
) )
optdepends=( optdepends=(
'lib32-gcc-libs: VST plugin support'
'lib32-glibc: VST plugin support'
'pulseaudio: pulseaudio support' 'pulseaudio: pulseaudio support'
) )
options=(!lto) options=(!lto)
@ -88,15 +92,17 @@ prepare() {
build() { build() {
local cmake_options=( local cmake_options=(
-B build -B build
-DCMAKE_BUILD_TYPE=None -D CMAKE_BUILD_TYPE=None
-DCMAKE_MODULE_PATH=/usr/share/ECM/find-modules -D CMAKE_INSTALL_LIBDIR=lib
-DCMAKE_INSTALL_LIBDIR=lib -D CMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_PREFIX=/usr -D CMAKE_MODULE_PATH=/usr/share/ECM/find-modules
-DCMAKE_PREFIX_PATH=/usr/include/wine/windows -D CMAKE_PREFIX_PATH=/usr/include/wine/windows
-DOpenGL_GL_PREFERENCE=GLVND -D OpenGL_GL_PREFERENCE=GLVND
-DWANT_QT5=ON -D WANT_QT5=ON
-DWANT_SOUNDIO=OFF -D WANT_SOUNDIO=OFF
-DWANT_CARLA=OFF -D WINE_INCLUDE_DIR=/usr/include/wine/windows
-D WINE_LIBRARY=/usr/lib32/wine
-D WANT_CARLA=OFF
-S $pkgname -S $pkgname
-W no-dev -W no-dev
) )
@ -118,10 +124,11 @@ package() {
libogg libogg.so libogg libogg.so
libpulse libpulse.so libpulse libpulse.so
libsamplerate libsamplerate.so libsamplerate libsamplerate.so
libsndfile libsndfile.so
libvorbis libvorbis.so libvorbisenc.so libvorbisfile.so libvorbis libvorbis.so libvorbisenc.so libvorbisfile.so
portaudio libportaudio.so portaudio libportaudio.so
sndio libsndio.so sndio libsndio.so
stk libstk-4.6.2.so stk libstk-5.0.0.so
) )
DESTDIR="$pkgdir" cmake --install build DESTDIR="$pkgdir" cmake --install build