diff options
author | Jostein Berntsen <jvbernts@online.no> | 2022-04-21 17:40:24 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-24 01:47:08 +0700 |
commit | ca97fb18afabfb3c2df07a1d788b011a5c72d3cd (patch) | |
tree | ab44bb5e43b504d05e7269a780205b64f2e642b3 /audio | |
parent | e0f89873707c5359e315d5826b8172496a62be76 (diff) |
audio/ncmpcpp: Updated for version 0.9.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ncmpcpp/gcc10.patch | 26 | ||||
-rw-r--r-- | audio/ncmpcpp/ncmpcpp.SlackBuild | 7 | ||||
-rw-r--r-- | audio/ncmpcpp/ncmpcpp.info | 6 |
3 files changed, 6 insertions, 33 deletions
diff --git a/audio/ncmpcpp/gcc10.patch b/audio/ncmpcpp/gcc10.patch deleted file mode 100644 index 466abceecfe81..0000000000000 --- a/audio/ncmpcpp/gcc10.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 399e0f47008b487df3505476c959b4f42d8bc1b1 Mon Sep 17 00:00:00 2001 -From: Louis Sautier <sautier.louis@gmail.com> -Date: Sat, 9 May 2020 14:31:52 +0200 -Subject: [PATCH] Fix build with GCC 10 by adding missing include -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes the following error: -./mpdpp.h:438:15: error: ‘runtime_error’ is not a member of ‘std’ ---- - src/mpdpp.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/mpdpp.h b/src/mpdpp.h -index a2bb79eb..abd3666c 100644 ---- a/src/mpdpp.h -+++ b/src/mpdpp.h -@@ -25,6 +25,7 @@ - #include <exception> - #include <random> - #include <set> -+#include <stdexcept> - #include <vector> - - #include <mpd/client.h> diff --git a/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild index 85f14b7bbcb72..9df2d26e64811 100644 --- a/audio/ncmpcpp/ncmpcpp.SlackBuild +++ b/audio/ncmpcpp/ncmpcpp.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for ncmpcpp # Copyright 2006 Andrew Brouwers <abrouwers@gmail.com> -# Copyright 2015-2017 Jostein Berntsen <jvbernts@online.no> +# Copyright 2015-2022 Jostein Berntsen <jvbernts@online.no> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ncmpcpp -VERSION=${VERSION:-0.7.7} +VERSION=${VERSION:-0.9.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,8 +82,6 @@ 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 {} \; -patch -p1 < $CWD/gcc10.patch - sed -ie 's/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4, false))/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4))/g' src/tags.cpp ./autogen.sh @@ -104,6 +102,7 @@ make docdir=/usr/doc/$PRGNAM-$VERSION install-strip DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/* +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/audio/ncmpcpp/ncmpcpp.info b/audio/ncmpcpp/ncmpcpp.info index cb47162253d1c..275ef114ad5bc 100644 --- a/audio/ncmpcpp/ncmpcpp.info +++ b/audio/ncmpcpp/ncmpcpp.info @@ -1,8 +1,8 @@ PRGNAM="ncmpcpp" -VERSION="0.7.7" +VERSION="0.9.2" HOMEPAGE="http://ncmpcpp.rybczak.net" -DOWNLOAD="https://github.com/arybczak/ncmpcpp/archive/0.7.7/ncmpcpp-0.7.7.tar.gz" -MD5SUM="eecf9e690e9054cc75b772239cd4a336" +DOWNLOAD="https://github.com/arybczak/ncmpcpp/archive/0.9.2/ncmpcpp-0.9.2.tar.gz" +MD5SUM="4ce5ed2d2dc26e2c703a0c437ee1a14c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libmpdclient" |