+OPTS="BOOST_LIB_SUFFIX= $OPTS" &&
+
default_build
diff --git a/audio-players/ncmpcpp/CONFIGURE b/audio-players/ncmpcpp/CONFIGURE
index 1bc0395..af47abd 100755
--- a/audio-players/ncmpcpp/CONFIGURE
+++ b/audio-players/ncmpcpp/CONFIGURE
@@ -1,11 +1,23 @@
+if [[ ! -v NCMPCPP_OPTS ]]; then
+ persistent_add NCMPCPP_OPTS
+fi &&
+
+# deprecation of old variables
+for o in NCMPCPP_UNICODE NCMPCPP_CLOCK; do
+ if [[ -n ${!o} ]]; then
+ list_add "NCMPCPP_OPTS" "${!o}" &&
+ persistent_remove ${o}
+ fi
+done &&
+
config_query_option NCMPCPP_OPTS \
"Do you want support for unicode?" \
- ${NCMPCPP_UNICODE:-y} \
+ y \
"--enable-unicode" \
"--disable-unicode" &&
config_query_option NCMPCPP_OPTS \
"Do you want ncmpcpp to display a clock?" \
- ${NCMPCPP_CLOCK:-n} \
+ n \
"--enable-clock" \
"--disable-clock" &&
config_query_option NCMPCPP_OPTS \
@@ -13,7 +25,3 @@ config_query_option NCMPCPP_OPTS \
n \
"--enable-outputs" \
"--disable-outputs"
-
-# deprecation of old variables
-persistent_remove NCMPCPP_UNICODE
-persistent_remove NCMPCPP_CLOCK
diff --git a/audio-players/ncmpcpp/DEPENDS b/audio-players/ncmpcpp/DEPENDS
index ae04f8f..b41f20e 100755
--- a/audio-players/ncmpcpp/DEPENDS
+++ b/audio-players/ncmpcpp/DEPENDS
@@ -1,5 +1,9 @@
depends ncurses &&
+depends readline &&
depends libmpdclient &&
+depends -sub CXX gcc &&
+depends -sub "SYSTEM FILESYSTEM LOCALE PROGRAM_OPTIONS THREAD" boost &&
+
optional_depends curl \
"--with-curl" \
"--without-curl" \
diff --git a/audio-players/ncmpcpp/DETAILS b/audio-players/ncmpcpp/DETAILS
index 7672a0d..1b526d9 100755
--- a/audio-players/ncmpcpp/DETAILS
+++ b/audio-players/ncmpcpp/DETAILS
@@ -1,20 +1,26 @@
SPELL=ncmpcpp
- VERSION=0.5.10
+ VERSION=0.6.3
SOURCE="${SPELL}-${VERSION}.tar.bz2"
- SOURCE_URL[0]=http://${SPELL}.rybczak.net/stable/${SOURCE}
-
SOURCE_HASH=sha512:8ddbc05bd8f3febe80cc5c04992a02f8c86151bb171f8f2e46e8df79210f9445e73fd65bdcaa397b3039ebcf510c6bb6ef61be790a6dcf07d5e35e59f71f3702
+ SOURCE_URL[0]=http://ncmpcpp.rybczak.net/stable/${SOURCE}
+
SOURCE_HASH=sha512:c3d05376bed2e0161f25ab6a491f46a568f0021f4003a3300423920b6b65d8ef3ace37daf1024db87054cfee4e92dd66bb57e5f705ee1bdfa55a142e442ff4f0
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- WEB_SITE="http://unkart.ovh.org/ncmpcpp/"
+ WEB_SITE=http://ncmpcpp.rybczak.net/
LICENSE[0]=GPL
ENTERED=20081129
- SHORT="a mpd console client"
+ SHORT="featureful ncurses based MPD client inspired by ncmpc"
cat << EOF
-Ncmpcpp is almost exact clone of ncmpc but it contains some new features
-ncmpc doesn't have:
+ncmpcpp is very similar to ncmpc if it comes to user interface, but it
provides
+a lot of additional features:
-* tag editor * playlists editor * easy to use search screen * media library
-screen * lyrics screen * possibility of going to any position in * currently
-playing track without * rewinding/fastforwarding * multi colored main window
-(if you want) * songs can be added to playlist more than once * a lot of
-minor useful functions
+* tag editor
+* playlist editor
+* easy to use search engine
+* media library
+* music visualizer
+* ability to fetch artist info from last.fm
+* new display mode
+* alternative user interface
+* ability to browse and add files from outside of MPD music directory
+
+...and a lot more minor functions.
EOF
diff --git a/audio-players/ncmpcpp/HISTORY b/audio-players/ncmpcpp/HISTORY
index 27686d8..5f7d870 100644
--- a/audio-players/ncmpcpp/HISTORY
+++ b/audio-players/ncmpcpp/HISTORY
@@ -1,3 +1,14 @@
+2015-04-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 0.6.3; updated source url, website,
+ descriptions
+ * BUILD: corrected our boost lib prefix
+ * DEPENDS: added missing dependencies -- readline, gcc; boost is
+ required since 0.6.0
+ * CONFIGURE: simplified default answers
+ * PRE_BUILD: added, to optionally apply the patch
+ * cxx11.patch: added, patch by Nikolay Khabarov to fix build by
+ compilers with partial C++11 (C++0x) support (e.g. gcc 4.6)
+
2013-03-10 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 0.5.10