1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
7 pkgdesc='Console based real time MPEG Audio Player for Layer 1, 2 and 3'
8 url="https://sourceforge.net/projects/mpg123"
11 depends=('libltdl' 'alsa-lib')
12 makedepends=('sdl2' 'jack' 'libpulse')
13 optdepends=('sdl2: for sdl audio support'
14 'jack: for jack audio support'
15 'libpulse: for pulse audio support'
17 provides=(libmpg123.so libout123.so)
18 source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
19 sha512sums=('e2e9279799f3917c9ecbcb2ccdc2c246bda50317dbfdd7ba3d56281b7b4f5b1928442fc8e712fbf90543159afc703d1ab8ceb7e3c1c038e1547b82d1616bdc82'
21 validpgpkeys=('D021FF8ECF4BE09719D61A27231C4CBC60D5CAFE')
24 cd ${pkgname}-${pkgver}
27 --enable-int-quality \
28 --with-audio="alsa oss sdl jack pulse"
29 # https://bugzilla.gnome.org/show_bug.cgi?id=655517
30 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
35 cd ${pkgname}-${pkgver}
36 make DESTDIR="${pkgdir}" install
37 install -Dm 755 scripts/conplay "${pkgdir}/usr/bin/conplay"