diff --git a/srcpkgs/ncmpcpp/patches/fix-cxxflags.patch b/srcpkgs/ncmpcpp/patches/fix-cxxflags.patch new file mode 100644 index 00000000000..91a27c919ce --- /dev/null +++ b/srcpkgs/ncmpcpp/patches/fix-cxxflags.patch @@ -0,0 +1,13 @@ +--- a/extras/Makefile ++++ b/extras/Makefile +@@ -1,7 +1,7 @@ + CXX=g++ +-CXXFLAGS=-O2 -march=native -pipe -std=c++0x -Wall -Wextra -Wshadow -Werror +-CPPFLAGS=`taglib-config --cflags` +-LDFLAGS=`taglib-config --libs` ++CXXFLAGS+=-O2 -pipe -std=c++20 -Wall -Wextra -Wshadow ++CPPFLAGS+=`taglib-config --cflags` ++LDFLAGS+=`taglib-config --libs` + + artist_to_albumartist: artist_to_albumartist.cpp + $(CXX) artist_to_albumartist.cpp -o artist_to_albumartist $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) diff --git a/srcpkgs/ncmpcpp/template b/srcpkgs/ncmpcpp/template index b0fba7f09df..ad03d716844 100644 --- a/srcpkgs/ncmpcpp/template +++ b/srcpkgs/ncmpcpp/template @@ -1,12 +1,15 @@ # Template file for 'ncmpcpp' pkgname=ncmpcpp version=0.10.1 -revision=1 +revision=2 build_style=gnu-configure configure_args=" --enable-clock --enable-outputs --enable-unicode --enable-visualizer --with-curl --with-taglib --with-fftw" hostmakedepends="automake libtool pkg-config" -makedepends="boost-devel fftw-devel icu-devel libcurl-devel libltdl-devel +makedepends="boost-devel-minimal libboost_filesystem libboost_locale + libboost_date_time libboost_program_options libboost_program_options + libboost_regex + libboost_thread fftw-devel icu-devel libcurl-devel libltdl-devel libmpdclient-devel readline-devel taglib-devel" short_desc="Ncurses mpd client inspired by ncmpc" maintainer="cinerea0 "