From ce7b9796ae01701ce0bb681ff79bd4cee8908fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 8 Aug 2025 22:01:05 +0700 Subject: [PATCH] ncmpcpp: for boost-1.88 --- srcpkgs/ncmpcpp/patches/fix-cxxflags.patch | 13 +++++++++++++ srcpkgs/ncmpcpp/template | 7 +++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/ncmpcpp/patches/fix-cxxflags.patch 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 "