Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22474 - (show annotations) (download)
Mon Oct 20 13:36:47 2014 UTC (9 years, 7 months ago) by niro
Original Path: trunk/extras/mpg123/mpg123-1.21.0-r1.smage2
File size: 953 byte(s)
auto added: ver bump to 1.21.0-r1
1 # $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-libs/nas-1.9
16 >= media-sound/libpulse-0.5
17 >= media-libs/libsdl-1.2.15"
18
19 SDEPEND=">= dev-util/pkgconfig-0.25"
20
21 SRCFILE="${PNAME}-${PVER}.tar.bz2"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23
24 sminclude mtools multilib
25
26 SRC_URI=(
27 sourceforge://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd_sourceforge ${PNAME}"
32
33 src_compile()
34 {
35 mconfigure \
36 --enable-int-quality \
37 --enable-network \
38 --with-module-suffix=.so \
39 --with-audio="alsa oss sdl nas pulse" \
40 $(MULTILIB_VERBOSE=false only-m32 echo "--disable-modules") \
41 || die
42
43 mmake || die
44 }
45
46 src_install()
47 {
48 mmake DESTDIR=${BINDIR} install || die
49 minstallexec scripts/conplay || die
50 }