Magellan Linux

Annotation of /trunk/extras/mpg123/mpg123-1.25.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31196 - (hide annotations) (download)
Tue Jun 12 10:58:33 2018 UTC (5 years, 11 months ago) by niro
File size: 917 byte(s)
auto added: ver bump to 1.25.10-r1
1 niro 31196 # $Id$
2    
3     PNAME="mpg123"
4     PVER="1.25.10"
5     PBUILD="r1"
6    
7     PCAT="media-sound"
8    
9     # rebuild required: mplayer gpac
10     DESCRIPTION="A realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3."
11     HOMEPAGE="http://www.mpg123.org"
12    
13     DEPEND=">= sys-libs/libltdl-2.4
14     >= media-libs/alsa-lib-1.1
15     >= media-sound/libpulse-10
16     >= media-libs/libsdl-1.2.15"
17    
18     SDEPEND=">= dev-util/pkgconfig-0.25
19     >= media-sound/pulseaudio-10"
20    
21     SRCFILE="${PNAME}-${PVER}.tar.bz2"
22     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24     EMUL_LINUX_32=true
25     sminclude mtools multilib mbuild
26    
27     SRC_URI=(
28     sourceforge://${PNAME}/${SRCFILE}
29     mirror://${PNAME}/${SRCFILE}
30     )
31    
32     UP2DATE="updatecmd_sourceforge ${PNAME}"
33    
34     src_compile()
35     {
36     mconfigure \
37     --enable-int-quality \
38     --enable-network \
39     --with-module-suffix=.so \
40     --with-audio='"alsa oss sdl pulse"' \
41     || die
42    
43     mmake || die
44     }
45    
46     src_install()
47     {
48     mmake DESTDIR=${BINDIR} install || die
49     minstallexec scripts/conplay || die
50     }