2016-04-09 16:54:28 +00:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
2022-10-22 14:43:23 +00:00
|
|
|
# Maintainer: T.J. Townsend <blakkheim@archlinux.org>
|
2016-04-09 16:54:28 +00:00
|
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
2023-10-21 12:01:04 +00:00
|
|
|
# Contributor: graysky <therealgraysky AT protonmail DOT com>
|
2016-04-09 16:54:28 +00:00
|
|
|
# Contributor: Mateusz Herych <heniekk@gmail.com>
|
|
|
|
# Contributor: Army <uli[dot]armbruster[at]gmail[dot]com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2021-01-10 21:58:29 +00:00
|
|
|
# - configure with --without-lto
|
2016-04-09 16:54:28 +00:00
|
|
|
|
|
|
|
pkgname=ncmpcpp
|
2024-09-03 15:55:51 +00:00
|
|
|
pkgver=0.10
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Featureful ncurses based MPD client inspired by ncmpc'
|
|
|
|
url='https://github.com/ncmpcpp/ncmpcpp'
|
2017-11-17 23:37:44 +00:00
|
|
|
arch=('x86_64')
|
2024-01-29 21:38:36 +00:00
|
|
|
license=('GPL-2.0-only')
|
2020-12-21 03:29:52 +00:00
|
|
|
depends=('curl' 'libcurl.so' 'libmpdclient' 'libmpdclient.so' 'fftw' 'libfftw3.so' 'boost-libs'
|
|
|
|
'libboost_filesystem.so' 'libboost_locale.so' 'libboost_program_options.so'
|
2024-01-07 18:07:30 +00:00
|
|
|
'libboost_thread.so' 'icu' 'libicui18n.so' 'libicuuc.so'
|
2020-12-21 03:29:52 +00:00
|
|
|
'glibc' 'gcc-libs' 'ncurses' 'libncursesw.so' 'readline' 'libreadline.so' 'taglib')
|
2024-04-02 23:22:45 +00:00
|
|
|
makedepends=('boost' 'git')
|
2024-09-03 15:55:51 +00:00
|
|
|
source=(git+https://github.com/ncmpcpp/ncmpcpp.git#tag=${pkgver})
|
|
|
|
sha512sums=('11ecfca5ab9e9c55666990dce720b628e13abc84476770be5956b9736e9ee96de028ac96a60430218f6ce05859617b6875c540c2f4d9fe8dcc252017e72f5f48')
|
|
|
|
b2sums=('6009107e2c58c2a1281313ab8071723b34a6b26f353f8fb13d99d39cc1315357a2b7f05f89910edd2829023fa54f1a7d6ae29f9a78830116849a847f46ac2f56')
|
2016-04-09 16:54:28 +00:00
|
|
|
|
|
|
|
prepare() {
|
2024-04-02 23:22:45 +00:00
|
|
|
cd ${pkgname}
|
2020-12-21 03:29:52 +00:00
|
|
|
autoreconf -fiv
|
|
|
|
sed -e 's/CXXFLAGS=/CXXFLAGS+=/' \
|
|
|
|
-e 's/CPPFLAGS=/CPPFLAGS+=/' \
|
|
|
|
-e 's/LDFLAGS=/LDFLAGS+=/' \
|
2024-01-29 21:38:36 +00:00
|
|
|
-e 's/-march=native//' \
|
2020-12-21 03:29:52 +00:00
|
|
|
-i extras/Makefile
|
2016-04-09 16:54:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2024-04-02 23:22:45 +00:00
|
|
|
cd ${pkgname}
|
2017-05-30 17:58:06 +00:00
|
|
|
BOOST_LIB_SUFFIX='' ./configure \
|
|
|
|
--prefix=/usr \
|
2016-04-09 16:54:28 +00:00
|
|
|
--enable-clock \
|
|
|
|
--enable-outputs \
|
|
|
|
--enable-visualizer \
|
|
|
|
--with-fftw \
|
2021-01-10 21:58:29 +00:00
|
|
|
--with-taglib \
|
|
|
|
--without-lto
|
2016-04-09 16:54:28 +00:00
|
|
|
make
|
|
|
|
make -C extras
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2024-04-02 23:22:45 +00:00
|
|
|
cd ${pkgname}
|
2016-04-09 16:54:28 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm 755 extras/artist_to_albumartist -t "${pkgdir}/usr/bin"
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|