aboutsummaryrefslogtreecommitdiffstats
path: root/community/ncmpc
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-09-24 22:33:44 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-09-24 22:33:44 +0200
commit0093f454047bd48d744721ed8cc4053349e982c6 (patch)
tree94d0b7e5a5cbe46b99d2e72984867a46a7dcc46f /community/ncmpc
parentc3567d214b0207dcbc2a542a0ed0a7a6b14e2eb9 (diff)
downloadaports-0093f454047bd48d744721ed8cc4053349e982c6.tar.bz2
aports-0093f454047bd48d744721ed8cc4053349e982c6.tar.xz
community/ncmpc: upgrade to 0.31
Diffstat (limited to 'community/ncmpc')
-rw-r--r--community/ncmpc/0001-Fix-blank-progressbar-when-colors-are-not-in-use.patch39
-rw-r--r--community/ncmpc/APKBUILD10
2 files changed, 4 insertions, 45 deletions
diff --git a/community/ncmpc/0001-Fix-blank-progressbar-when-colors-are-not-in-use.patch b/community/ncmpc/0001-Fix-blank-progressbar-when-colors-are-not-in-use.patch
deleted file mode 100644
index f3b36fdd02..0000000000
--- a/community/ncmpc/0001-Fix-blank-progressbar-when-colors-are-not-in-use.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From fa73e3faa29af8638d2557c6c808bda9dc67afc2 Mon Sep 17 00:00:00 2001
-From: Aleksi Blinnikka <aleksi.blinnikka@gmail.com>
-Date: Tue, 10 Apr 2018 02:33:30 +0300
-Subject: [PATCH] Fix blank progressbar when colors are not in use
-
-When moving wbkgd() call in 9c22a95 it was not conditional like it was
-for others (commits 7946611 and 6b337bc), which caused progress bar to
-not show.
----
- src/ProgressBar.cxx | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/ProgressBar.cxx b/src/ProgressBar.cxx
-index 7ddc72f..02782db 100644
---- a/src/ProgressBar.cxx
-+++ b/src/ProgressBar.cxx
-@@ -19,6 +19,7 @@
-
- #include "ProgressBar.hxx"
- #include "colors.hxx"
-+#include "options.hxx"
-
- #include <assert.h>
-
-@@ -26,7 +27,10 @@ ProgressBar::ProgressBar(Point p, unsigned _width)
- :window(p, {_width, 1u})
- {
- leaveok(window.w, true);
-- wbkgd(window.w, COLOR_PAIR(COLOR_PROGRESSBAR));
-+#ifdef ENABLE_COLORS
-+ if (options.enable_colors)
-+ wbkgd(window.w, COLOR_PAIR(COLOR_PROGRESSBAR));
-+#endif
- }
-
- void
---
-2.17.0
-
diff --git a/community/ncmpc/APKBUILD b/community/ncmpc/APKBUILD
index 102ad142d2..22139fcd59 100644
--- a/community/ncmpc/APKBUILD
+++ b/community/ncmpc/APKBUILD
@@ -2,16 +2,15 @@
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=ncmpc
-pkgver=0.30
-pkgrel=2
+pkgver=0.31
+pkgrel=0
pkgdesc="Ncurses client for the Music Player Daemon (MPD)"
url="https://www.musicpd.org/clients/ncmpc"
arch="all"
license="GPL-2.0-or-later"
makedepends="glib-dev libmpdclient-dev meson ncurses-dev py-sphinx"
subpackages="$pkgname-doc $pkgname-lang $pkgname-dbg"
-source="http://www.musicpd.org/download/$pkgname/0/$pkgname-$pkgver.tar.xz
- 0001-Fix-blank-progressbar-when-colors-are-not-in-use.patch"
+source="http://www.musicpd.org/download/$pkgname/0/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
@@ -46,5 +45,4 @@ package() {
rm -rf "$pkgdir"/usr/share/doc/$pkgname/html
}
-sha512sums="bc92c51c78f7919eb6b5cebaac8bda1231701fd9011fcadd6da8bbc5cc16e5dbe30d33d6e2f7d4cc07399299bcd3de572c9516f90d0376212771fd2c3af8afc7 ncmpc-0.30.tar.xz
-b153014180e2efc18f458a375ad3507f74bb98a5d7272fe1b1234a2d54ed2d70194115980ea8f33b4854647cbd16e49b4a2427100bf10b96b628a39d98154e3e 0001-Fix-blank-progressbar-when-colors-are-not-in-use.patch"
+sha512sums="0d3fed08f54afd9aef6342928a3f3b63a973d86ec6510f54c59271316aad856cd1a493e193f676971d90c40ef26486789e8580f2df528bd031251265c48a5eac ncmpc-0.31.tar.xz"