aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-10-05 16:35:52 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-09 13:10:52 +0700
commitd13421bfb744daa622bdd590f64bbce7f23dcfe4 (patch)
tree38ff4fdfc720636e48c65570907306be806a322a
parente9754d04571fa36500434bbc5343988a84d1b5da (diff)
multimedia/playerctl: Updated for version 2.4.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/playerctl/playerctl.SlackBuild33
-rw-r--r--multimedia/playerctl/playerctl.info6
2 files changed, 21 insertions, 18 deletions
diff --git a/multimedia/playerctl/playerctl.SlackBuild b/multimedia/playerctl/playerctl.SlackBuild
index 652adcde9bb2..9a64551872a2 100644
--- a/multimedia/playerctl/playerctl.SlackBuild
+++ b/multimedia/playerctl/playerctl.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=playerctl
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,20 +79,23 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make -j1
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ -Dbash-completions=true \
+ -Dzsh-completions=true \
+ --sysconfdir=/etc
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/multimedia/playerctl/playerctl.info b/multimedia/playerctl/playerctl.info
index 471768965ac5..50e873ed82f8 100644
--- a/multimedia/playerctl/playerctl.info
+++ b/multimedia/playerctl/playerctl.info
@@ -1,8 +1,8 @@
PRGNAM="playerctl"
-VERSION="0.5.0"
+VERSION="2.4.1"
HOMEPAGE="https://github.com/acrisci/playerctl"
-DOWNLOAD="https://github.com/acrisci/playerctl/archive/v0.5.0/playerctl-0.5.0.tar.gz"
-MD5SUM="1c6059978ca08c32d9f991fdccb30f6f"
+DOWNLOAD="https://github.com/acrisci/playerctl/archive/v2.4.1/playerctl-2.4.1.tar.gz"
+MD5SUM="795c7f66fb865aa87a301b11f2a78940"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""