mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
audio/ncmpcpp: Update to 0.9.1
Changelog: https://rybczak.net/ncmpcpp/ PR: 252847 Submitted by: yamagi@yamagi.org (maintainer) Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D28276
This commit is contained in:
parent
94ccb0e545
commit
3acdd5ab72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562292
5 changed files with 42 additions and 29 deletions
|
@ -1,8 +1,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= ncmpcpp
|
PORTNAME= ncmpcpp
|
||||||
DISTVERSION= 0.8.2
|
DISTVERSION= 0.9.1
|
||||||
PORTREVISION= 16
|
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= https://ncmpcpp.rybczak.net/stable/
|
MASTER_SITES= https://ncmpcpp.rybczak.net/stable/
|
||||||
|
|
||||||
|
@ -14,39 +13,32 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \
|
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \
|
||||||
libfftw3.so:math/fftw3 \
|
libfftw3.so:math/fftw3 \
|
||||||
libicudata.so:devel/icu \
|
|
||||||
libicuuc.so:devel/icu \
|
libicuuc.so:devel/icu \
|
||||||
libboost_filesystem.so:devel/boost-libs \
|
libboost_filesystem.so:devel/boost-libs \
|
||||||
libcurl.so:ftp/curl
|
libcurl.so:ftp/curl
|
||||||
|
|
||||||
USES= compiler:c++14-lang gnome iconv libtool localbase ncurses \
|
USES= compiler:c++14-lang gnome iconv libtool localbase ncurses \
|
||||||
pkgconfig readline tar:bzip2
|
pkgconfig readline tar:bzip2
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
USE_GNOME= glib20
|
USE_GNOME= glib20
|
||||||
CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1
|
GNU_CONFIGURE= yes
|
||||||
LDFLAGS+= -lpthread
|
CONFIGURE_ENV= ncursesw_CFLAGS="-L${NCURSESLIB}" ncursesw_LIBS="-lncursesw"
|
||||||
CONFIGURE_ENV= BOOST_LIB_SUFFIX="" ncursesw_CFLAGS="-L${NCURSESLIB}" ncursesw_LIBS="-lncursesw"
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= CLOCK DOCS OUTPUTS TAGLIB UTF8 VISUALIZER
|
|
||||||
OPTIONS_DEFAULT= CLOCK OUTPUTS TAGLIB UTF8 VISUALIZER
|
|
||||||
CLOCK_DESC= clock-screen support
|
|
||||||
TAGLIB_DESC= taglib support
|
|
||||||
OUTPUTS_DESC= Enable outputs screen
|
|
||||||
VISUALIZER_DESC= Enable music visualizer screen
|
|
||||||
|
|
||||||
PLIST_FILES= bin/ncmpcpp \
|
PLIST_FILES= bin/ncmpcpp \
|
||||||
man/man1/ncmpcpp.1.gz
|
man/man1/ncmpcpp.1.gz
|
||||||
PORTDOCS= AUTHORS COPYING NEWS bindings config
|
PORTDOCS= AUTHORS CHANGELOG.md COPYING bindings config
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= CLOCK DOCS OUTPUTS TAGLIB VISUALIZER
|
||||||
|
OPTIONS_DEFAULT= CLOCK OUTPUTS TAGLIB VISUALIZER
|
||||||
|
|
||||||
|
CLOCK_DESC= clock-screen support
|
||||||
|
OUTPUTS_DESC= Enable outputs screen
|
||||||
|
TAGLIB_DESC= taglib support
|
||||||
|
VISUALIZER_DESC= Enable music visualizer screen
|
||||||
|
|
||||||
CLOCK_CONFIGURE_ENABLE= clock
|
CLOCK_CONFIGURE_ENABLE= clock
|
||||||
|
OUTPUTS_CONFIGURE_ENABLE= outputs
|
||||||
UTF8_CONFIGURE_ENABLE= unicode
|
|
||||||
|
|
||||||
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib
|
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib
|
||||||
TAGLIB_CONFIGURE_WITH= taglib
|
TAGLIB_CONFIGURE_WITH= taglib
|
||||||
|
|
||||||
OUTPUTS_CONFIGURE_ENABLE= outputs
|
|
||||||
|
|
||||||
VISUALIZER_BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
|
VISUALIZER_BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
|
||||||
VISUALIZER_CONFIGURE_ENABLE= visualizer
|
VISUALIZER_CONFIGURE_ENABLE= visualizer
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1523589893
|
TIMESTAMP = 1611084686
|
||||||
SHA256 (ncmpcpp-0.8.2.tar.bz2) = 650ba3e8089624b7ad9e4cc19bc1ac6028edb7523cc111fa1686ea44c0921554
|
SHA256 (ncmpcpp-0.9.1.tar.bz2) = cb814a39c975f5b19c466188433644d1cbdb6db0abe1481d525587b149b36574
|
||||||
SIZE (ncmpcpp-0.8.2.tar.bz2) = 465713
|
SIZE (ncmpcpp-0.9.1.tar.bz2) = 474436
|
||||||
|
|
12
audio/ncmpcpp/files/patch-src_screens_visualizer.cpp
Normal file
12
audio/ncmpcpp/files/patch-src_screens_visualizer.cpp
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- src/screens/visualizer.cpp.orig 2021-01-19 19:47:11 UTC
|
||||||
|
+++ src/screens/visualizer.cpp
|
||||||
|
@@ -33,6 +33,9 @@
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#include <cassert>
|
||||||
|
+#include <sys/types.h>
|
||||||
|
+#include <sys/socket.h>
|
||||||
|
+#include <netinet/in.h>
|
||||||
|
|
||||||
|
#include "global.h"
|
||||||
|
#include "settings.h"
|
|
@ -1,4 +1,4 @@
|
||||||
--- src/status.cpp.orig 2017-05-25 13:30:40 UTC
|
--- src/status.cpp.orig 2020-12-23 15:44:33 UTC
|
||||||
+++ src/status.cpp
|
+++ src/status.cpp
|
||||||
@@ -21,6 +21,8 @@
|
@@ -21,6 +21,8 @@
|
||||||
#include <boost/date_time/posix_time/posix_time.hpp>
|
#include <boost/date_time/posix_time/posix_time.hpp>
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
Ncmpcpp is almost exact clone of ncmpc but it contains some
|
ncmpcpp is a featureful ncurses based MPD client inspired by ncmpc.
|
||||||
new features ncmpc doesn't have. It's been also rewritten
|
Features include:
|
||||||
from scratch in C++.
|
|
||||||
|
|
||||||
WWW: http://unkart.ovh.org/ncmpcpp
|
* 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
|
||||||
|
|
||||||
|
WWW: https://rybczak.net/ncmpcpp/
|
||||||
|
|
Loading…
Add table
Reference in a new issue