mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:57:14 +08:00
35 lines
973 B
Bash
35 lines
973 B
Bash
# Maintainer: abveritas@chakra-project.org
|
|
|
|
pkgname=mpg123
|
|
pkgver=1.15.1
|
|
pkgrel=1
|
|
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
|
|
arch=('x86_64')
|
|
url="http://sourceforge.net/projects/mpg123"
|
|
license=('GPL2' 'LGPL2.1')
|
|
depends=('glibc' 'libltdl' 'alsa-lib' 'pulseaudio')
|
|
makedepends=('sdl' 'jack')
|
|
optdepends=('sdl: for sdl audio support'
|
|
'jack: for jack audio support')
|
|
conflicts=('mpg321')
|
|
provides=('mpg321')
|
|
replaces=('mpg321')
|
|
options=('libtool')
|
|
categories=('multimedia')
|
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
|
sha1sums=('824003a25f22dde5a03031cb658b6d6a160e8740')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--enable-int-quality \
|
|
--with-audio="alsa oss sdl jack pulse" \
|
|
--with-module-suffix=.so
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|