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

David Runge dvzrv at gemini.archlinux.org
Tue Oct 19 09:48:16 UTC 2021


    Date: Tuesday, October 19, 2021 @ 09:48:16
  Author: dvzrv
Revision: 426228

upgpkg: mpd 0.23-2: Rebuild to disable debug build.

Use arch-meson to simplify call to meson.
Set b_ndebug to true, as by default a debug build is done:
https://bugs.archlinux.org/task/72455
https://mesonbuild.com/Builtin-options.html#base-options

Modified:
  mpd/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-19 06:49:49 UTC (rev 426227)
+++ PKGBUILD	2021-10-19 09:48:16 UTC (rev 426228)
@@ -8,7 +8,7 @@
 
 pkgname=mpd
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="Flexible, powerful, server-side application for playing music"
 url="https://www.musicpd.org/"
 license=('GPL2')
@@ -51,19 +51,12 @@
   # NOTE: sndio conflicts with alsa
   # TODO: package adplug
   # TODO: package shine
-  meson --prefix /usr \
-        --libexecdir lib \
-        --sbindir bin \
-        --buildtype plain \
-        --auto-features enabled \
-        --wrap-mode nodownload \
-        -D b_lto=true \
-        -D b_pie=true \
-        -D documentation=enabled \
+  arch-meson -D documentation=enabled \
         -D adplug=disabled \
         -D sndio=disabled \
         -D shine=disabled \
         -D tremor=disabled \
+        -D b_ndebug=true \
         build
   ninja -C build
 }



More information about the arch-commits mailing list