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
|
2017-11-05 21:14:04 +00:00
|
|
|
pkgver=0.8.1
|
|
|
|
pkgrel=1
|
2016-04-09 16:54:28 +00:00
|
|
|
pkgdesc='Almost exact clone of ncmpc with some new features'
|
|
|
|
url='http://ncmpcpp.rybczak.net/'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
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)
|
2017-11-05 21:14:04 +00:00
|
|
|
sha512sums=('2b1b615672910f6b55d4a3e1842f677b8c72659a86dca74d9c306612038d7b765f622e4b8948f14d8a3f4fa913d413d128ed8726f70d7a09cfe95d3c1fe87d15')
|
2016-04-09 16:54:28 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
sed -i 's/-march=native//' extras/Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
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:
|