Changeset 9854 for trunk/dports/audio


Ignore:
Timestamp:
Dec 20, 2004, 2:48:18 AM (15 years ago)
Author:
toby
Message:

Add CoreAudio support, pass maintainership to danchr@
Bug: 2493
Submitted by: danchr@

Location:
trunk/dports/audio/mpg123
Files:
1 added
1 edited

Legend:

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

    r4841 r9854  
    1 # $Id: Portfile,v 1.12 2004/01/18 13:16:23 toby Exp $
     1# $Id: Portfile,v 1.13 2004/12/20 02:48:18 toby Exp $
    22
    33PortSystem 1.0
     
    66revision        0
    77categories      audio
    8 maintainers     darwinports@opendarwin.org
     8maintainers     danchr@opendarwin.org
    99description     fast mp3 player for linux and unix systems
    1010long_description        \
     
    1313        playback (44 kHz, 16 bit, stereo) a Pentium, SPARCstation10, DEC \
    1414        Alpha or similar CPU is required. Mono and/or reduced quality \
    15         playback (22 kHz or 11 kHz) is even possible on 486 CPUs.
     15        playback (22 kHz or 11 kHz) is even possible on 486 CPUs. \
     16        \
     17        This version uses EsounD on a pure Darwin install and CoreAudio \
     18        on Mac OS X.
     19
    1620homepage        http://www.mpg123.de/
    1721platforms       darwin
     
    1923checksums       md5 a63675b0ea7990d4a7d7e7e14f23a3e4
    2024worksrcdir      ${name}
    21 depends_lib     lib:libaudiofile.0:audiofile lib:libesd.0:esound
     25depends_lib     lib:libaudiofile.0:audiofile
    2226post-patch {
    2327        reinplace "s|PREFIX=/usr/local|PREFIX=${prefix}|g" "${worksrcpath}/Makefile"   
     
    2832destroot.destdir        PREFIX=${destroot}/${prefix}
    2933
     34variant puredarwin { }
     35
    3036variant darwin {
    31         patchfiles      patch-Makefile
    32         build.target    darwin-esd
     37        if { ! [variant_isset puredarwin] } {
     38                depends_lib-append \
     39                                lib:/Library/Frameworks/CoreAudio.framework:XXX
     40                patchfiles      patch-macosx.diff
     41                build.target    macosx
     42        } else {
     43               depends_lib-append lib:libesd.0:esound
     44               patchfiles       patch-Makefile
     45               build.target     darwin-esd
     46        }
    3347}
Note: See TracChangeset for help on using the changeset viewer.