]> Git Repo - buildroot-mgba.git/commitdiff
package/ncmpc: bump to version 0.47
authorFabrice Fontaine <[email protected]>
Sun, 10 Jul 2022 21:09:59 +0000 (23:09 +0200)
committerYann E. MORIN <[email protected]>
Sun, 17 Jul 2022 13:15:27 +0000 (15:15 +0200)
- C++20 is mandatory since
  https://github.com/MusicPlayerDaemon/ncmpc/commit/776e97b7a1f99e01d0d93bcbedbdc1736aad8ae6
- iconv is an optional dependency since
  https://github.com/MusicPlayerDaemon/ncmpc/commit/68c04f925d780d0e5705950310e8233ab6898a29
- Second patch is not needed since
  https://github.com/MusicPlayerDaemon/ncmpc/commit/c264db04dd30af301e7d85c9d145bb1f1ae3fea3

https://github.com/MusicPlayerDaemon/ncmpc/blob/v0.47/NEWS

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
package/ncmpc/0002-meson.build-link-with-lintl-if-needed.patch [deleted file]
package/ncmpc/Config.in
package/ncmpc/ncmpc.hash
package/ncmpc/ncmpc.mk

diff --git a/package/ncmpc/0002-meson.build-link-with-lintl-if-needed.patch b/package/ncmpc/0002-meson.build-link-with-lintl-if-needed.patch
deleted file mode 100644 (file)
index 9f599c8..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From 21ad6bf2bcb0745c25a28637449a72eee883a8e2 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Sun, 21 Apr 2019 19:19:10 +0200
-Subject: [PATCH] meson.build: link with lintl if needed
-
-Fixes:
- - http://autobuild.buildroot.org/results/d53978fb30d77cb4d10921bf721eff3d066567ce
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: not sent as upstream already rejected the first patch
-on atomic: https://github.com/MusicPlayerDaemon/ncmpc/pull/45]
----
- meson.build | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index 2e6defc..28e9d29 100644
---- a/meson.build
-+++ b/meson.build
-@@ -42,6 +42,7 @@ else
-   error('libintl.h not found')
- endif
- conf.set('ENABLE_NLS', enable_nls)
-+intl_dep = cc.find_library('intl', required: false)
- if enable_nls
-   conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
-   subdir('po')
-@@ -356,6 +357,7 @@ ncmpc = executable('ncmpc',
-     boost_dep,
-     pcre_dep,
-     curses_dep,
-+    intl_dep,
-     lirc_dep,
-     libmpdclient_dep,
-   ],
--- 
-2.20.1
-
index eda6e0bbd5d8e2a3108420b196f8127f5f0651f8..61c186a4ae448b88432aa8c32739d4d5c607bdba 100644 (file)
@@ -4,7 +4,7 @@ config BR2_PACKAGE_NCMPC
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
        select BR2_PACKAGE_LIBMPDCLIENT
        select BR2_PACKAGE_NCURSES
        help
@@ -14,7 +14,8 @@ config BR2_PACKAGE_NCMPC
 
          http://www.musicpd.org/clients/ncmpc/
 
-comment "ncmpc needs a toolchain w/ C++, wchar, threads, gcc >= 7"
+comment "ncmpc needs a toolchain w/ C++, wchar, threads, gcc >= 10"
        depends on BR2_USE_MMU
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
+               !BR2_TOOLCHAIN_HAS_THREADS || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_10
index a5d6698a61f9873187b907f6d2431fbb5a2731ab..17bc6e3acef3f44c290c4f8bc69eac2734aa1404 100644 (file)
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-sha256  177f77cf09dd4ab914e8438be399cdd5d83c9aa992abc8d9abac006bb092934e  ncmpc-0.46.tar.xz
+sha256  61da23b1bc6c7a593fdc28611932cd7a30fcf6803830e01764c29b8abed2249c  ncmpc-0.47.tar.xz
 
 # Hash for license file:
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
index 41fface525dfb4779236079b8f85afea0a553efb..5d4702de78a6ccd697dc647f14230af6832c1cac 100644 (file)
@@ -5,13 +5,14 @@
 ################################################################################
 
 NCMPC_VERSION_MAJOR = 0
-NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).46
+NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).47
 NCMPC_SOURCE = ncmpc-$(NCMPC_VERSION).tar.xz
 NCMPC_SITE = http://www.musicpd.org/download/ncmpc/$(NCMPC_VERSION_MAJOR)
 NCMPC_DEPENDENCIES = \
        host-pkgconf \
        libmpdclient \
        ncurses \
+       $(if $(BR2_PACKAGE_LIBICONV),libiconv) \
        $(TARGET_NLS_DEPENDENCIES)
 NCMPC_LICENSE = GPL-2.0+
 NCMPC_LICENSE_FILES = COPYING
This page took 0.044035 seconds and 4 git commands to generate.