extra/mpg123 to 1.29.3-1.1

This commit is contained in:
Kevin Mihelich 2022-02-07 03:27:08 +00:00
parent 67820cb752
commit d95338dbbb

View file

@ -1,12 +1,11 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Eric Bélanger <eric@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable neon for !aarch64
# remove when bumped upstream
pkgname=mpg123
pkgver=1.29.3
pkgrel=1
pkgrel=1.1
pkgdesc='Console based real time MPEG Audio Player for Layer 1, 2 and 3'
url="https://sourceforge.net/projects/mpg123"
arch=('x86_64')
@ -25,11 +24,10 @@ validpgpkeys=('D021FF8ECF4BE09719D61A27231C4CBC60D5CAFE')
build() {
cd ${pkgname}-${pkgver}
[[ $CARCH != "aarch64" ]] && CONFIG="--with-cpu=arm_nofpu"
./configure \
--prefix=/usr \
--enable-int-quality \
--with-audio="alsa oss sdl jack pulse" $CONFIG
--with-audio="alsa oss sdl jack pulse"
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make