[crux-commits] ports/contrib (3.5): mpc: 0.28 -> 0.33

crux at crux.nu crux at crux.nu
Mon Jun 8 20:03:06 UTC 2020


commit 7b4fbeaf6b9dde0ea60ef2d79a6dadf83c42ba3b
Author: Tim Biermann <tbier at posteo.de>
Date:   Mon Jun 8 18:17:29 2020 +0000

    mpc: 0.28 -> 0.33

diff --git a/mpc/.footprint b/mpc/.footprint
index 89cf076f1..68279c1a1 100644
--- a/mpc/.footprint
+++ b/mpc/.footprint
@@ -2,6 +2,3 @@ drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/bin/
 -rwxr-xr-x	root/root	usr/bin/mpc
 drwxr-xr-x	root/root	usr/share/
-drwxr-xr-x	root/root	usr/share/man/
-drwxr-xr-x	root/root	usr/share/man/man1/
--rw-r--r--	root/root	usr/share/man/man1/mpc.1.gz
diff --git a/mpc/.signature b/mpc/.signature
index 67bf13da2..b1b0d8329 100644
--- a/mpc/.signature
+++ b/mpc/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF33dNueKFMQAkHJADy93mFXTbGu6RdW+tfKLiI2b/RUbO3jIxoW4wyauS1lBNUpvIzTLKTS4mpB2GCmn9T2/qAgc=
-SHA256 (Pkgfile) = 4a23ac0cadf1b6335d50478d10e65cf4a839c665869178e7d749be7327ca3bc3
-SHA256 (.footprint) = 7cb24c1c5428439113eaee28b57aa63b8e1768e0b1f4dacc527c69ae462257c7
-SHA256 (mpc-0.28.tar.xz) = a4337d06c85dc81a638821d30fce8a137a58d13d510be34a11c1cce95cabc547
+RWSagIOpLGJF32abWWA1TQsdn7uXUz7DlE/9bT6w/WGvrDX0OLFOvDDSZdWcRkzpucIFVpjqHdjCqRF2haz9ZRx/gA4aSgTJ/QM=
+SHA256 (Pkgfile) = fe356c1bd6ed8c8d3d26421a38caadf6d763ca115ec3388cec9384ce047dfe2f
+SHA256 (.footprint) = db8b52b774d25e31b0f34602f36aa2390d1ee975bb44e88a9e41cd9378010965
+SHA256 (mpc-0.33.tar.xz) = 4f40ccbe18f5095437283cfc525a97815e983cbfd3a29e48ff610fa4f1bf1296
diff --git a/mpc/Pkgfile b/mpc/Pkgfile
index b2344384f..a15fbb012 100644
--- a/mpc/Pkgfile
+++ b/mpc/Pkgfile
@@ -2,20 +2,20 @@
 # URL: https://www.musicpd.org/mpc.shtml
 # Maintainer:  Thomas Penteker, tek at serverop dot de
 # Packager: Mark Rosenstand, mark at borkware dot net
-# Depends on: libmpdclient
+# Depends on: libmpdclient meson ninja
+# Optional: python3-docutils python3-sphinx
 
 name=mpc
-version=0.28
+version=0.33
 release=1
 source=(http://www.musicpd.org/download/mpc/0/mpc-$version.tar.xz)
 
 build() {
-  cd $name-$version
-
-  ./configure --prefix=/usr --mandir=/usr/share/man
-
-  make
-  make DESTDIR=$PKG install
-
+  # manpages need a new port: python3-docutils
+  #[[ -e /usr/bin/sphinx-build && -e /usr/bin/rst2man3 ]] && PKGMK_MPC+=" -Ddocumentation=enabled" || PKGMK_MPC+=" -Ddocumentation=disabled"
+  meson $name-$version build $PKGMK_MPC \
+    --prefix=/usr
+  ninja -C build
+  DESTDIR=$PKG ninja -C build install
   rm -rf $PKG/usr/share/doc
 }


More information about the crux-commits mailing list