mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 02:52:58 +02:00
ncmpcpp: for boost-1.88
This commit is contained in:
parent
ada4dcf5d1
commit
ce7b9796ae
2 changed files with 18 additions and 2 deletions
13
srcpkgs/ncmpcpp/patches/fix-cxxflags.patch
Normal file
13
srcpkgs/ncmpcpp/patches/fix-cxxflags.patch
Normal file
|
@ -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)
|
|
@ -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 <cinerea0@protonmail.com>"
|
||||
|
|
Loading…
Add table
Reference in a new issue