Changeset 51685


Ignore:
Timestamp:
May 31, 2009, 5:35:44 PM (10 years ago)
Author:
jeremyhu@…
Message:

normalize: style cleanup
added xmms variant
described variants
removed audiofile variant (always enabled now)
added missing dependencies
added symlink for longer normalize-audio filename for apps like abcde that expect it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/normalize/Portfile

    r30219 r51685  
    44name            normalize
    55version         0.7.7
     6revision        1
    67categories      audio
    78maintainers     nomaintainer
     
    1718master_sites    http://savannah.nongnu.org/download/${name}/
    1819checksums       md5 db5b18bf661a5317fbc507b020b8c643
    19 depends_lib     \
    20         lib:libexpat.0:expat port:gettext port:libiconv
     20
     21depends_run \
     22        port:flac \
     23        port:vorbis-tools \
     24        port:lame
     25
     26depends_lib \
     27        port:expat \
     28        port:gettext \
     29        port:audiofile \
     30        port:libiconv
    2131
    2232configure.cppflags-append   -no-cpp-precomp
    23 configure.args              --without-mad --without-audiofile --mandir=${prefix}/share/man
     33configure.args              --without-mad --disable-xmms --mandir=${prefix}/share/man
    2434
    25 variant mad {
    26         depends_lib-append      lib:libmad:libmad
     35post-destroot {
     36        ln -s normalize ${destroot}${prefix}/bin/normalize-audio
     37}
     38
     39variant mad description {Link against libmad for mp3 audio decoding} {
     40        depends_lib-append      port:libmad
     41        configure.args-delete   --without-mad
    2742        configure.args-append   --with-mad
    2843}
    29 variant audiofile {
    30         depends_lib-append      lib:libaudiofile.0:audiofile
    31         configure.args-append   --with-audiofile
     44
     45variant xmms description {Build an xmms plugin} {
     46        depends_lib-append      port:xmms
     47        configure.args-delete   --disable-xmms
     48        configure.args-append   --enable-xmms
    3249}
Note: See TracChangeset for help on using the changeset viewer.