Debian: darkice mit mp3

Mist, darkice bringt bei Debian von Natur aus keine Ünterstützung für mp3 mit (und das ist lizenzmäßig auch gut so).
Das musste ich erstmal für meinen Hausgebrauch ändern :-)
 
 
 
debian/rules

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --sysconfdir=/usr/share/doc/darkice/examples --with-lame --with-faac

 
 
debian/control

Source: darkice
Section: sound
Priority: optional
Maintainer: Jochen Friedrich <jochen@scram.de>
Standards-Version: 3.7.2
Build-Depends: cdbs, debhelper (>=4.1.0), libvorbis-dev, libasound2-dev [!kfreebsd-i386], libjack0.100.0-dev, libtwolame-dev, liblame-dev, libfaac-dev

Package: darkice
Architecture: any
Depends: ${shlibs:Depends}
Description: Live audio streamer
 DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
 takes audio input from a sound card, encodes it into mp3 and/or Ogg
 Vorbis, and sends the mp3 stream to one or more IceCast and/or
 ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2
 servers. DarkIce uses lame as a shared object as its mp3 encoder, and
 the Ogg Vorbis as its Ogg Vorbis encoder.

 
 

cassmodiah@schafwiese:~$ ldd /usr/bin/darkice
        linux-gate.so.1 =>  (0xb7f1f000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7e70000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7e6b000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7e43000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7d4a000)
        libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb7d39000)
        libtwolame.so.0 => /usr/lib/libtwolame.so.0 (0xb7d17000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7c56000)
        libjack-0.100.0.so.0 => /usr/lib/libjack-0.100.0.so.0 (0xb7c3f000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7c36000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7c20000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b3b000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7b15000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b0a000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb79d9000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb79c7000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb79c3000)
        /lib/ld-linux.so.2 (0xb7f20000)

MP3: libmp3lame.so.0 => /usr/lib/libmp3lame.so.0
OGG: libvorbis.so.0 => /usr/lib/libvorbis.so.0
AAC: libfaac.so.0 => /usr/lib/libfaac.so.0

Tags: , ,

Hinterlasse eine Antwort