Magellan Linux

Annotation of /branches/R11-stable/extras/mpg123/mpg123-1.21.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22475 - (hide annotations) (download)
Mon Oct 20 13:59:34 2014 UTC (9 years, 7 months ago) by niro
Original Path: trunk/extras/mpg123/mpg123-1.21.0-r1.smage2
File size: 914 byte(s)
-use emul linux 32, disable nas, build 32 modules too, fixed evaluation and added missing pulseaudio sdep
1 niro 22474 # $Id$
2    
3     PNAME="mpg123"
4     PVER="1.21.0"
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.0.28
15     >= media-sound/libpulse-0.5
16     >= media-libs/libsdl-1.2.15"
17    
18 niro 22475 SDEPEND=">= dev-util/pkgconfig-0.25
19     >= media-sound/pulseaudio-0.5"
20 niro 22474
21     SRCFILE="${PNAME}-${PVER}.tar.bz2"
22     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24 niro 22475 EMUL_LINUX_32=true
25 niro 22474 sminclude mtools multilib
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 niro 22475 --with-audio='"alsa oss sdl pulse"' \
41 niro 22474 || die
42    
43     mmake || die
44     }
45    
46     src_install()
47     {
48     mmake DESTDIR=${BINDIR} install || die
49     minstallexec scripts/conplay || die
50     }