diff options
author | Alexandros Theodotou | 2019-06-05 11:12:26 +0100 |
---|---|---|
committer | Alexandros Theodotou | 2019-06-05 11:12:26 +0100 |
commit | dd5e30825f0631e4be35d475b64a1898ddfc1947 (patch) | |
tree | aded06155a52f8a10470cef6563b1ce2566c7b4a | |
parent | c35f38ae49f6202efbbd986db670e25eba831b13 (diff) | |
download | aur-dd5e30825f0631e4be35d475b64a1898ddfc1947.tar.gz |
use meson
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 17 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = zrythm-git pkgdesc = An highly automated, intuitive, Digital Audio Workstation (DAW) - pkgver = 0.4.151.r2.g58e3f445 + pkgver = 0.5.007.r2.g6a0eed7b pkgrel = 1 url = https://git.zrythm.org/zrythm/zrythm arch = x86_64 @@ -8,8 +8,8 @@ pkgbase = zrythm-git makedepends = python makedepends = gettext makedepends = sed - makedepends = git - makedepends = libtool + makedepends = meson + makedepends = ninja depends = gtk3 depends = lv2 depends = lilv @@ -21,8 +21,6 @@ pkgbase = zrythm-git depends = qt5-base depends = libsamplerate depends = alsa-lib - depends = ffmpeg - depends = libgtop depends = portaudio depends = ladspa depends = fftw @@ -1,7 +1,7 @@ # Maintainer: Alexandros Theodotou <alex@zrythm.org> _pkgname=zrythm pkgname=$_pkgname-git -pkgver=0.4.151.r2.g58e3f445 +pkgver=0.5.007.r2.g6a0eed7b pkgrel=1 pkgdesc="An highly automated, intuitive, Digital Audio Workstation (DAW)" arch=( 'x86_64' ) @@ -9,9 +9,10 @@ url='https://git.zrythm.org/zrythm/zrythm' license=( 'GPL3' ) depends=('gtk3' 'lv2' 'lilv' 'libx11' 'jack' 'libsndfile' 'libyaml' 'gettext' 'qt5-base' - 'libsamplerate' 'alsa-lib' 'ffmpeg' 'libgtop' - 'portaudio' 'ladspa' 'fftw') -makedepends=('python' 'gettext' 'sed' 'git' 'libtool') + 'libsamplerate' 'alsa-lib' 'portaudio' + 'ladspa' 'fftw') +makedepends=('python' 'gettext' 'sed' + 'meson' 'ninja') conflicts=( "$_pkgname" ) provides=( "$_pkgname" ) source=("$_pkgname::git+https://git.zrythm.org/zrythm/zrythm.git") @@ -25,12 +26,17 @@ pkgver () { build() { cd "$srcdir/$_pkgname" - autoreconf -fi - ./configure --prefix=/usr --with-ffmpeg --with-qt5 - make + mkdir -p build + cd build && meson --prefix=/usr .. -Denable_tests=true + ninja +} + +check() { + cd "$srcdir/$_pkgname" + cd build && ninja test } package() { cd "$srcdir/$_pkgname" - make DESTDIR="${pkgdir}/" install + cd build && DESTDIR="${pkgdir}/" ninja install } |