Ignore:
Timestamp:
Jan 18, 2004, 1:03:22 PM (16 years ago)
Author:
toby
Message:

Taking ownership... version bump to 0.8.4, using fixes from Fink.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

Location:
trunk/dports/audio/libao
Files:
2 added
2 edited

Legend:

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

    r4762 r4839  
    1 # $Id: Portfile,v 1.11 2004/01/16 20:22:31 fkr Exp $
     1# $Id: Portfile,v 1.12 2004/01/18 13:03:21 toby Exp $
    22
    33PortSystem 1.0
    4 name            libao
    5 version         0.8.3
    6 revision        0
    7 categories      audio
    8 maintainers     darwinports@opendarwin.org
    9 description     A Cross-platform Audio Library
    10 long_description        \
    11         libao is a way to easily add cross-platform audio output to your \
    12         program. Output devices are implemented as dynamic plugins, and \
    13         support for OSS, ESD, ALSA, aRTs, Solaris, and Irix outputs are \
    14         currently supported.
    15 homepage        http://www.xiph.org/ogg/vorbis/
    16 platforms       darwin
    17 master_sites    \
    18         http://www.vorbis.com/files/1.0/unix/ \
    19         http://www.xiph.org/ogg/vorbis/download/
    20 checksums       md5 b1422a6ff7f58131921b9f2fabe2295c
    21 configure.env   LDFLAGS=-L${prefix}/lib \
    22         CPPFLAGS=-I${prefix}/include
    23 configure.args  --disable-esd --disable-arts
     4name             libao
     5version          0.8.4
     6categories       audio
     7maintainers      toby@opendarwin.org
     8description      A Cross-platform Audio Library
     9long_description \
     10    libao is a way to easily add cross-platform audio output to your \
     11    program. Output devices are implemented as dynamic plugins, and \
     12    support for OSS, ESD, ALSA, aRTs, Solaris, and Irix outputs are \
     13    currently supported.
     14homepage         http://www.xiph.org/ao/
     15platforms        darwin
     16master_sites     ${homepage}src/
     17checksums        md5 0525549b0bf665f617913c916064cc87
     18patchfiles       patch-configure
     19
     20configure.env    CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
     21configure.args   --mandir=${prefix}/share/man \
     22                 --disable-arts --disable-esd \
     23                 --disable-oss --disable-X
    2424
    2525variant darwin {
    26         depends_lib-append      lib:libdl:dlcompat
    27         patchfiles      apple-patches
     26    depends_lib-append lib:libdl:dlcompat
     27    patchfiles-append  apple-patches patch-ao_macosx.c
     28
     29    post-destroot {
     30        system "echo default_driver=macosx >> ${destroot}${prefix}/etc/libao.conf"
     31    }
    2832}
     33
    2934variant esd {
    30         depends_lib-append      lib:libesd.0:esound
    31         configure.args-append   --enable-esd
     35    depends_lib-append    lib:libesd.0:esound
     36    configure.args-delete --disable-esd
     37    configure.args-append --enable-esd
    3238}
  • trunk/dports/audio/libao/files/apple-patches

    r2639 r4839  
    1 --- src/plugins/macosx/Makefile.in.orig 2002-11-18 22:28:16.000000000 -0800
    2 +++ src/plugins/macosx/Makefile.in      2002-11-18 22:28:26.000000000 -0800
    3 @@ -94,7 +94,7 @@
    4  
    5  @HAVE_MACOSX_TRUE@macosxltlibs = libmacosx.la
    6  @HAVE_MACOSX_FALSE@macosxltlibs =
    7 -@HAVE_MACOSX_TRUE@macosxldflags = -export-dynamic -avoid-version
    8 +@HAVE_MACOSX_TRUE@macosxldflags = -module -avoid-version
    9  @HAVE_MACOSX_FALSE@macosxldflags =
    10  @HAVE_MACOSX_TRUE@macosxsources = ao_macosx.c
    11  @HAVE_MACOSX_FALSE@macosxsources =
    12 --- src/plugins/esd/Makefile.in.orig    2002-11-18 22:27:47.000000000 -0800
    13 +++ src/plugins/esd/Makefile.in 2002-11-18 22:28:01.000000000 -0800
    14 @@ -94,7 +94,7 @@
    15  
    16  @HAVE_ESD_TRUE@esdltlibs = libesd.la
    17  @HAVE_ESD_FALSE@esdltlibs =
    18 -@HAVE_ESD_TRUE@esdldflags = -export-dynamic -avoid-version
    19 +@HAVE_ESD_TRUE@esdldflags = -module -avoid-version
    20  @HAVE_ESD_FALSE@esdldflags =
    21  @HAVE_ESD_TRUE@esdsources = ao_esd.c
    22  @HAVE_ESD_FALSE@esdsources =
    23  
    24 --- src/plugins/arts/Makefile.in.orig   2002-11-18 22:27:47.000000000 -0800
    25 +++ src/plugins/arts/Makefile.in        2002-11-18 22:28:01.000000000 -0800
    26 @@ -94,7 +94,7 @@
    27  
    28  @HAVE_ARTS_TRUE@artsltlibs = libarts.la
    29  @HAVE_ARTS_FALSE@artsltlibs =
    30 -@HAVE_ARTS_TRUE@artsldflags = -export-dynamic -avoid-version
    31 +@HAVE_ARTS_TRUE@artsldflags = -module -avoid-version
    32  @HAVE_ARTS_FALSE@artsldflags =
    33  @HAVE_ARTS_TRUE@artssources = ao_esd.c
    34  @HAVE_ARTS_FALSE@artssources =
    35 
    36 
    37 --- configure   2002-07-19 07:16:55.000000000 -0700
    38 +++ configure   2002-11-18 22:43:21.000000000 -0800
    39 @@ -3479,7 +3479,7 @@
    40      #        cross-compilation, but unfortunately the echo tests do not
    41      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
    42      #       `"' quotes if we put them in here... so don't!
    43 -    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
    44 +    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring) -framework CoreAudio'
    45      # We need to add '_' to the symbols in $export_symbols first
    46      #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
    47      hardcode_direct=yes
    48 @@ -5429,8 +5429,9 @@
     1--- configure.old       Sun Jan 18 07:19:50 2004
     2+++ configure   Sun Jan 18 07:20:16 2004
     3@@ -7834,9 +7834,10 @@
     4                 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
    495         *-darwin*)
    50                  SILLY_CARBON_PATH="-I/System/Library/Frameworks/Carbon.framework/Versions/A/Headers"
    51                  DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char $SILLY_CARBON_PATH"
    52 -                CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char $SILLY_CARBON_PATH"
    53 -                PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char $SILLY_CARBON_PATH" ;;
    54 +                CFLAGS="-D__NO_MATH_INLINES -fsigned-char -framework CoreAudio "
    55 +                LDFLAGS="-framework CoreAudio"
    56 +                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char -framework CoreAudio " ;;
     6                 PLUGIN_LDFLAGS="-module -avoid-version"
     7-                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore"
     8-                CFLAGS="-D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore"
     9-                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore" ;;
     10+                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
     11+                CFLAGS="-D__NO_MATH_INLINES -fsigned-char"
     12+                LIBS="-Wl,-framework -Wl,CoreAudio"
     13+                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
    5714         *)
     15                 PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
    5816                 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
    59                  CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
Note: See TracChangeset for help on using the changeset viewer.