diff --git a/audio/ncmpc/Makefile b/audio/ncmpc/Makefile index 8b553d7c8a25..204fc02b685c 100644 --- a/audio/ncmpc/Makefile +++ b/audio/ncmpc/Makefile @@ -1,50 +1,49 @@ PORTNAME= ncmpc -PORTVERSION= 0.41 -PORTREVISION= 2 +PORTVERSION= 0.48 CATEGORIES= audio MASTER_SITES= https://www.musicpd.org/download/ncmpc/0/ MAINTAINER= laurent@nilio.ca COMMENT= Ncurses client for the musicpd WWW= https://www.musicpd.org/clients/ncmpc/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libboost_system.so:devel/boost-libs \ - libmpdclient.so:audio/libmpdclient \ - libpcre.so:devel/pcre +LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \ + libpcre2-8.so:devel/pcre2 USES= compiler:c++17-lang cpe iconv localbase:ldflags meson ncurses \ - pkgconfig tar:xz + pkgconfig tar:xz shebangfix MESON_ARGS= -Dlirc=disabled +SHEBANG_GLOB= *.py CPE_VENDOR= ncmpc_project OPTIONS_DEFINE= COLORS DOCS LYRICS MANPAGES NLS OPTIONS_DEFAULT= COLORS LYRICS MANPAGES OPTIONS_SUB= yes COLORS_DESC= Compile with color support LYRICS_DESC= Compile with lyrics screen COLORS_MESON_TRUE= colors DOCS_IMPLIES= MANPAGES DOCS_MESON_TRUE= html_manual LYRICS_MESON_TRUE= lyrics_screen MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} MANPAGES_MAKE_ENV= PYTHON=${PYTHON_CMD} \ SPHINX=sphinx-build-${PYTHON_VER} MANPAGES_MESON_TRUE= manual MANPAGES_USES= python:build NLS_LDFLAGS= -lintl NLS_MESON_ENABLED= nls NLS_USES= gettext PORTDOCS= * .include diff --git a/audio/ncmpc/distinfo b/audio/ncmpc/distinfo index 51e4f8625b67..dbf2953a80de 100644 --- a/audio/ncmpc/distinfo +++ b/audio/ncmpc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1602960213 -SHA256 (ncmpc-0.41.tar.xz) = 8a732a58fbec8a634625372a1c5c39f40724d6ca59320300b36ac0f15bec13ac -SIZE (ncmpc-0.41.tar.xz) = 269280 +TIMESTAMP = 1689471482 +SHA256 (ncmpc-0.48.tar.xz) = b4b2d27e518096de2a145ef5ddf86cf46f8ba1f849bf45c6d81183a38869b90c +SIZE (ncmpc-0.48.tar.xz) = 296320 diff --git a/audio/ncmpc/files/patch-src_plugin.cxx b/audio/ncmpc/files/patch-src_plugin.cxx new file mode 100644 index 000000000000..dcd45c579fcc --- /dev/null +++ b/audio/ncmpc/files/patch-src_plugin.cxx @@ -0,0 +1,11 @@ +--- src/plugin.cxx.orig 2023-07-16 02:01:20 UTC ++++ src/plugin.cxx +@@ -21,6 +21,8 @@ + #include + #include + ++extern char **environ; ++ + struct PluginCycle; + + class PluginPipe { diff --git a/audio/ncmpc/files/patch-src_screen__utils.cxx b/audio/ncmpc/files/patch-src_screen__utils.cxx deleted file mode 100644 index 3e0abd451536..000000000000 --- a/audio/ncmpc/files/patch-src_screen__utils.cxx +++ /dev/null @@ -1,10 +0,0 @@ ---- src/screen_utils.cxx.orig 2020-10-17 18:44:29 UTC -+++ src/screen_utils.cxx -@@ -31,6 +31,7 @@ - #include "WaitUserInput.hxx" - #endif - -+#include - #include - - void diff --git a/audio/ncmpc/files/patch-src_signals.cxx b/audio/ncmpc/files/patch-src_signals.cxx deleted file mode 100644 index 6534b9c0f891..000000000000 --- a/audio/ncmpc/files/patch-src_signals.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- src/signals.cxx.orig 2020-10-17 18:45:52 UTC -+++ src/signals.cxx -@@ -19,6 +19,8 @@ - - #include "Instance.hxx" - -+#include -+ - void - Instance::OnSigwinch() noexcept - { diff --git a/audio/ncmpc/pkg-plist b/audio/ncmpc/pkg-plist index 8c93e4b546b8..d801e66459d0 100644 --- a/audio/ncmpc/pkg-plist +++ b/audio/ncmpc/pkg-plist @@ -1,25 +1,36 @@ bin/ncmpc -%%LYRICS%%lib/ncmpc/lyrics/10-hd.sh +%%LYRICS%%lib/ncmpc/lyrics/20-azlyrics.py +%%LYRICS%%lib/ncmpc/lyrics/40-tekstowo.py +%%LYRICS%%lib/ncmpc/lyrics/51-supermusic.py +%%LYRICS%%lib/ncmpc/lyrics/60-google.py +%%LYRICS%%lib/ncmpc/lyrics/30-karaoke_texty.py +%%LYRICS%%lib/ncmpc/lyrics/50-genius.py +%%LYRICS%%lib/ncmpc/lyrics/52-zeneszoveg.py %%MANPAGES%%man/man1/ncmpc.1.gz %%NLS%%share/locale/cs/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/da/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/de/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/en/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/eo/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/es/LC_MESSAGES/ncmpc.mo +%%NLS%%share/locale/fa/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/fi/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/fr/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/gl/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/he/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/hu/LC_MESSAGES/ncmpc.mo +%%NLS%%share/locale/ie/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/it/LC_MESSAGES/ncmpc.mo +%%NLS%%share/locale/ja/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/ko/LC_MESSAGES/ncmpc.mo +%%NLS%%share/locale/lt/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/nb/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/nl/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/pl/LC_MESSAGES/ncmpc.mo +%%NLS%%share/locale/pt/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/ru/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/sk/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/sv/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/uk/LC_MESSAGES/ncmpc.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/ncmpc.mo