#99: Fixed portage-scm tree for liquidsoap via subversion
-------------------------+--------------------------------------------------
  Reporter:  karye       |       Owner:  admin
      Type:  Feature     |      Status:  new  
  Priority:  1           |   Milestone:       
 Component:  Liquidsoap  |     Version:       
Resolution:              |    Keywords:       
       Mac:  0           |       Other:  0    
   Freebsd:  0           |       Linux:  1    
-------------------------+--------------------------------------------------
Comment (by karye):

 I've added the debug use flag:

 {{{
 # Copyright 2003-2008 The Savonet Team
 # Distributed under the terms of the GNU General Public License, v2 or
 later
 # $Header: $

 IUSE="debug doc nativecode unicode alsa ao mp3 aac taglib lame rtp speech
 wget soundtouch"

 inherit subversion eutils

 DESCRIPTION="Programmable and flexible audio stream generator, mainly
 intended as a web-radio engine."
 HOMEPAGE="http://savonet.sf.net";

 
ESVN_REPO_URI="https://savonet.svn.sourceforge.net/svnroot/savonet/trunk/liquidsoap";
 ESVN_BOOTSTRAP="./bootstrap"

 DEPEND="
         dev-lang/ocaml
         dev-ml/pcre-ocaml
         dev-ml/ocaml-duppy-svn
         dev-ml/ocaml-dtools-svn
         dev-ml/ocaml-shout-svn
         dev-ml/ocaml-vorbis-svn
         dev-ml/ocaml-ogg-svn
         unicode? ( dev-ml/camomile )
         alsa?    ( dev-ml/ocaml-alsa-svn )
         ao?      ( dev-ml/ocaml-ao-svn )
         mp3?     ( dev-ml/ocaml-mad-svn )
         aac?     ( dev-ml/ocaml-faac-svn dev-ml/ocaml-faad-svn )
         taglib?  ( dev-ml/ocaml-taglib-svn )
         lame?    ( dev-ml/ocaml-lame-svn )
         soundtouch? ( media-libs/libsoundtouch )
         rtp?     ( net-libs/libortp )
         speech?  ( app-accessibility/festival )
 "
 RDEPEND="
         >=dev-lang/ocaml-3.08
         speech?  (
                 app-accessibility/festival
                 media-sound/sox
                 media-sound/normalize
         )
         wget?    ( net-misc/wget )
 "

 SLOT="0"
 KEYWORDS="-x86"
 LICENSE="GPL-2"
 FEATURES="nostrip"

 src_compile () {
         econf \
                 $(use_enable debug debugging) \
                 $(use_enable nativecode) \
                 $(use_enable unicode camomile) \
                 $(use_enable alsa) \
                 $(use_enable ao) \
                 $(use_enable mp3 mad) \
                 $(use_enable aac) \
                 $(use_enable taglib) \
                 $(use_enable lame) \
                 $(use_enable rtp) \
                 $(use_enable soundtouch) \
                 || die "configure failed"
         emake || die "emake failed"
         use doc && emake doc
         use doc || emake fakedoc
 }

 pkg_setup() {
         enewuser  liquidsoap '' '' '' '' || die "problem adding user
 liquidsoap"
         enewgroup liquidsoap '' '' '' '' || die "problem adding group
 liquidsoap"
 }

 src_install () {
         einstall || die "einstall failed"
         use doc && einstall api-doc-install
         einstall gentoo-install
         keepdir /var/lib/log/liquidsoap
         keepdir /var/lib/run/liquidsoap
 }

 pkg_postinst() {
         einfo "Some example configuration has been put into
 /etc/liquidsoap/radio.liq."
         einfo "After editing it a bit, you should be able to run it using"
         einfo "/etc/init.d/liquidsoap start"
         einfo "The Savonet team thanks you for using liquidsoap!"
 }
 }}}

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/99#comment:3>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à