2016-04-09 16:54:28 +00:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
|
|
|
# Contributor: graysky <graysky AT archlinux DOT us>
|
|
|
|
# Contributor: Mateusz Herych <heniekk@gmail.com>
|
|
|
|
# Contributor: Army <uli[dot]armbruster[at]gmail[dot]com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - strip -march=native from extras Makefile
|
|
|
|
|
|
|
|
pkgname=ncmpcpp
|
2018-04-12 00:10:22 +00:00
|
|
|
pkgver=0.8.2
|
2018-08-08 19:38:09 +00:00
|
|
|
pkgrel=3
|
2016-04-09 16:54:28 +00:00
|
|
|
pkgdesc='Almost exact clone of ncmpc with some new features'
|
|
|
|
url='http://ncmpcpp.rybczak.net/'
|
2017-11-17 23:37:44 +00:00
|
|
|
arch=('x86_64')
|
2016-04-09 16:54:28 +00:00
|
|
|
license=('GPL')
|
|
|
|
depends=('curl' 'libmpdclient' 'taglib' 'ncurses' 'fftw' 'boost-libs')
|
|
|
|
makedepends=('boost')
|
2016-11-02 00:33:04 +00:00
|
|
|
source=(${pkgname}-${pkgver}.tar.bz2::https://rybczak.net/ncmpcpp/stable/${pkgname}-${pkgver}.tar.bz2)
|
2018-04-12 00:10:22 +00:00
|
|
|
sha512sums=('9384edd162f40af23e4f26f437356520f117e4e2ab513ed3de132d2f11e597082d1cb7f0dd3696660d0c9bb85ad03e31fb921c97a11c7b28b32c5907fdbb8e8f')
|
2016-04-09 16:54:28 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
sed -i 's/-march=native//' extras/Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
2018-03-30 00:01:52 +00:00
|
|
|
|
|
|
|
# http://site.icu-project.org/download/61#TOC-Migration-Issues
|
|
|
|
CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
|
|
|
|
|
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-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:
|