[arch-commits] Commit in jack_mixer/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Feb 25 22:40:21 UTC 2021


    Date: Thursday, February 25, 2021 @ 22:40:21
  Author: dvzrv
Revision: 874249

upgpkg: jack_mixer 15-1: Upgrade to 15.

Switch to meson as build system.

Modified:
  jack_mixer/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-25 22:23:43 UTC (rev 874248)
+++ PKGBUILD	2021-02-25 22:40:21 UTC (rev 874249)
@@ -1,8 +1,8 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=jack_mixer
-pkgver=14
-pkgrel=3
+pkgver=15
+pkgrel=1
 pkgdesc="Jack desktop mixer application"
 arch=('x86_64')
 url="https://github.com/jack-mixer/jack_mixer"
@@ -10,35 +10,33 @@
 groups=('pro-audio')
 depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'python-cairo'
 'python-gobject' 'python-xdg')
-makedepends=('glib2' 'jack')
+makedepends=('cython' 'glib2' 'jack2' 'meson' 'python-docutils')
 optdepends=('new-session-manager: for session management')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/jack-mixer/${pkgname}/archive/release-${pkgver}.tar.gz")
-sha512sums=('19487f0d09a5bb1924190601c1bd2086c9ba3f456213b4b54aed82469a5e6f7def3b1dfe39fa3f9c7f0123d666c5bf119286caae1e8172cf957812285d739258')
-b2sums=('8675813782331f7abc59d0769059eabe250a57cc6bc5411c09349fa0fcce1f44af0348507b3d8dd0fc2cedc97e28910ad1a03413c5844983a8b73e77183048c3')
+sha512sums=('58e9d218902b6deb8cf6a023cbaa2b5dc3f492eaadb619f7002eb8db8eff5a20a530e932c1482e35d1d6b2c53646161a9968a62c6f9c8d47beaa3254716232d1')
+b2sums=('e8260066459a7ef1e8743a915e370fe398f0f74f7ecfdae920cdd020630e4881ec507be8fa884fbfb84d88373ab8e726cc27c7b9fe275a00b133671396644916')
 
 prepare() {
   mv -v "$pkgname-release-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  # keep autotools happy by creating README
-  touch README
-  autoreconf -vfi
 }
 
 build() {
   cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
+  arch-meson --prefix=/usr \
+             --libdir=lib \
+             --buildtype=release \
+             build
+  ninja -C build
 }
 
 check() {
   cd "$pkgname-$pkgver"
-  make -k check
+  meson test -C build
 }
 
 package() {
   depends+=('libglib-2.0.so' 'libjack.so')
   cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  install -vDm 644 {AUTHORS,NEWS,README} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  DESTDIR="${pkgdir}" meson install -C build
+  install -vDm 644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }


More information about the arch-commits mailing list