mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
ncmpcpp: update to 0.10.1, use taglib2
This commit is contained in:
parent
d3ef86333a
commit
a44a12924e
2 changed files with 10 additions and 26 deletions
|
@ -1,16 +0,0 @@
|
||||||
# Support sockets without a socket inode
|
|
||||||
# https://github.com/ncmpcpp/ncmpcpp/commit/40e4f98ee896ea10967eb1c4323bb718331eabea
|
|
||||||
diff --git a/src/mpdpp.cpp b/src/mpdpp.cpp
|
|
||||||
index ccdee31d..9a92e5df 100644
|
|
||||||
--- a/src/mpdpp.cpp
|
|
||||||
+++ b/src/mpdpp.cpp
|
|
||||||
@@ -147,7 +147,7 @@ unsigned Connection::Version() const
|
|
||||||
void Connection::SetHostname(const std::string &host)
|
|
||||||
{
|
|
||||||
size_t at = host.find("@");
|
|
||||||
- if (at != std::string::npos)
|
|
||||||
+ if (at != 0 && at != std::string::npos)
|
|
||||||
{
|
|
||||||
m_password = host.substr(0, at);
|
|
||||||
m_host = host.substr(at+1);
|
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
# Template file for 'ncmpcpp'
|
# Template file for 'ncmpcpp'
|
||||||
pkgname=ncmpcpp
|
pkgname=ncmpcpp
|
||||||
version=0.9.2
|
version=0.10.1
|
||||||
revision=11
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args=" BOOST_LIB_SUFFIX= --enable-clock --enable-outputs
|
configure_args=" --enable-clock --enable-outputs --enable-unicode
|
||||||
--enable-unicode --enable-visualizer --with-curl --with-taglib --with-fftw"
|
--enable-visualizer --with-curl --with-taglib --with-fftw"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="boost-devel fftw-devel icu-devel libcurl-devel libmpdclient-devel
|
makedepends="boost-devel fftw-devel icu-devel libcurl-devel libltdl-devel
|
||||||
readline-devel taglib-devel"
|
libmpdclient-devel readline-devel taglib-devel"
|
||||||
short_desc="Ncurses mpd client inspired by ncmpc"
|
short_desc="Ncurses mpd client inspired by ncmpc"
|
||||||
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://rybczak.net/ncmpcpp"
|
homepage="https://rybczak.net/ncmpcpp"
|
||||||
distfiles="${homepage}/stable/ncmpcpp-${version}.tar.bz2"
|
distfiles="https://github.com/ncmpcpp/ncmpcpp/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=faabf6157c8cb1b24a059af276e162fa9f9a3b9cd3810c43b9128860c9383a1b
|
checksum=ddc89da86595d272282ae8726cc7913867b9517eec6e765e66e6da860b58e2f9
|
||||||
|
|
||||||
# Required by waddwstr() with ncurses on musl
|
# Required by waddwstr() with ncurses on musl
|
||||||
CXXFLAGS="-D_XOPEN_SOURCE=600"
|
CXXFLAGS="-D_XOPEN_SOURCE=600"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
vsed -e '/^docdir/d' -i {,doc/}Makefile.in
|
autoreconf -fiv
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue