Contents of /branches/R11-unstable/extras/mpg123/mpg123-1.22.2-r1.smage2
Parent Directory
|
Revision Log
Revision 25650 -
(show annotations)
(download)
Tue Nov 25 04:04:56 2014 UTC (9 years, 6 months ago) by niro
File size: 914 byte(s)
Tue Nov 25 04:04:56 2014 UTC (9 years, 6 months ago) by niro
File size: 914 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="mpg123" |
4 | PVER="1.22.2" |
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 | SDEPEND=">= dev-util/pkgconfig-0.25 |
19 | >= media-sound/pulseaudio-0.5" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | EMUL_LINUX_32=true |
25 | 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 | --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 | } |