[arch-commits] Commit in ncmpcpp/repos/community-x86_64 (3 files)

Levente Polyak anthraxx at archlinux.org
Sun Dec 20 23:53:26 UTC 2020


    Date: Sunday, December 20, 2020 @ 23:53:26
  Author: anthraxx
Revision: 780826

archrelease: copy trunk to community-x86_64

Added:
  ncmpcpp/repos/community-x86_64/PKGBUILD
    (from rev 780825, ncmpcpp/trunk/PKGBUILD)
Deleted:
  ncmpcpp/repos/community-x86_64/PKGBUILD
  ncmpcpp/repos/community-x86_64/gcc10.patch

-------------+
 PKGBUILD    |  108 +++++++++++++++++++++++++++++-----------------------------
 gcc10.patch |   26 -------------
 2 files changed, 55 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-20 23:53:22 UTC (rev 780825)
+++ PKGBUILD	2020-12-20 23:53:26 UTC (rev 780826)
@@ -1,53 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: graysky <graysky AT archlinux DOT us>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: Army <uli[dot]armbruster[at]gmail[dot]com>
-
-pkgname=ncmpcpp
-pkgver=0.8.2
-pkgrel=14
-pkgdesc='Almost exact clone of ncmpc with some new features'
-url='https://ncmpcpp.rybczak.net/'
-arch=('x86_64')
-license=('GPL')
-depends=('curl' 'libmpdclient' 'taglib' 'ncurses' 'fftw' 'boost-libs')
-makedepends=('boost')
-source=(${pkgname}-${pkgver}.tar.bz2::https://rybczak.net/ncmpcpp/stable/${pkgname}-${pkgver}.tar.bz2
-        gcc10.patch)
-sha512sums=('9384edd162f40af23e4f26f437356520f117e4e2ab513ed3de132d2f11e597082d1cb7f0dd3696660d0c9bb85ad03e31fb921c97a11c7b28b32c5907fdbb8e8f'
-            '99298d813391c03fc70ab16ffe8dd57c6151b87f4cd84f25a1747691d8f9f41e5f647b59c0d2ca25808acb995c7df6c99f386a4cc1f3f133b722731ef99a8a3b')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-
-  # https://github.com/ncmpcpp/ncmpcpp/pull/385
-  patch -Np1 -i ../gcc10.patch
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-
-  # http://site.icu-project.org/download/61#TOC-Migration-Issues
-  CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
-
-  BOOST_LIB_SUFFIX='' ./configure \
-    --prefix=/usr \
-    --enable-clock \
-    --enable-outputs \
-    --enable-unicode \
-    --enable-visualizer \
-    --with-curl \
-    --with-fftw \
-    --with-taglib
-  make
-  make -C extras
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm 755 extras/artist_to_albumartist -t "${pkgdir}/usr/bin"
-}
-
-# vim: ts=2 sw=2 et:

Copied: ncmpcpp/repos/community-x86_64/PKGBUILD (from rev 780825, ncmpcpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-20 23:53:26 UTC (rev 780826)
@@ -0,0 +1,55 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: graysky <graysky AT archlinux DOT us>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Army <uli[dot]armbruster[at]gmail[dot]com>
+
+pkgname=ncmpcpp
+pkgver=0.9
+pkgrel=1
+pkgdesc='Almost exact clone of ncmpc with some new features'
+url='https://ncmpcpp.rybczak.net/'
+arch=('x86_64')
+license=('GPL')
+depends=('curl' 'libcurl.so' 'libmpdclient' 'libmpdclient.so' 'fftw' 'libfftw3.so' 'boost-libs'
+         'libboost_filesystem.so' 'libboost_locale.so' 'libboost_program_options.so'
+         'libboost_regex.so' 'libboost_thread.so' 'icu' 'libicui18n.so' 'libicuuc.so'
+         'glibc' 'gcc-libs' 'ncurses' 'libncursesw.so' 'readline' 'libreadline.so' 'taglib')
+makedepends=('boost')
+source=(https://rybczak.net/ncmpcpp/stable/${pkgname}-${pkgver}.tar.bz2)
+sha512sums=('aadf4bb510ce91b2af106d4881c90b618dbc30583c745e3ff924fc6c87553195b6cfb7d0034db7cf39d7001599a742d29d73a7de2701b70f36ad42d657df10e0')
+b2sums=('bdc55f16079d54b6ffdc0c1562b5cc91e1ea6c22bb45fe29642f8cedc8064d087a91fff37e04ec0f858163115cce50aa2e15bfd73a406ae58983ef53e11e6c39')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
+  sed -e 's/CXXFLAGS=/CXXFLAGS+=/' \
+      -e 's/CPPFLAGS=/CPPFLAGS+=/' \
+      -e 's/LDFLAGS=/LDFLAGS+=/' \
+      -i extras/Makefile
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  # http://site.icu-project.org/download/61#TOC-Migration-Issues
+  export CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
+  BOOST_LIB_SUFFIX='' ./configure \
+    --prefix=/usr \
+    --enable-clock \
+    --enable-outputs \
+    --enable-visualizer \
+    --with-fftw \
+    --with-taglib
+  make
+  make -C extras
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 755 extras/artist_to_albumartist -t "${pkgdir}/usr/bin"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: gcc10.patch
===================================================================
--- gcc10.patch	2020-12-20 23:53:22 UTC (rev 780825)
+++ gcc10.patch	2020-12-20 23:53:26 UTC (rev 780826)
@@ -1,26 +0,0 @@
-From 399e0f47008b487df3505476c959b4f42d8bc1b1 Mon Sep 17 00:00:00 2001
-From: Louis Sautier <sautier.louis at gmail.com>
-Date: Sat, 9 May 2020 14:31:52 +0200
-Subject: [PATCH] Fix build with GCC 10 by adding missing include
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fixes the following error:
-./mpdpp.h:438:15: error: ‘runtime_error’ is not a member of ‘std’
----
- src/mpdpp.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/mpdpp.h b/src/mpdpp.h
-index a2bb79eb..abd3666c 100644
---- a/src/mpdpp.h
-+++ b/src/mpdpp.h
-@@ -25,6 +25,7 @@
- #include <exception>
- #include <random>
- #include <set>
-+#include <stdexcept>
- #include <vector>
- 
- #include <mpd/client.h>



More information about the arch-commits mailing list