diff -Naur /usr/src/darwinports/dports/audio/esound/Portfile audio/esound/Portfile
old
|
new
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | name esound |
5 | 5 | version 0.2.35 |
| 6 | revision 1 |
6 | 7 | categories audio |
7 | | maintainers gnome-darwinports@opendarwin.org |
| 8 | maintainers danchr@opendarwin.org |
8 | 9 | description Enlightened Sound Daemon |
9 | 10 | homepage http://www.tux.org/~ricdude/EsounD.html |
10 | 11 | platforms darwin |
11 | 12 | master_sites gnome:sources/esound/0.2 |
| 13 | use_autoconf yes |
12 | 14 | use_bzip2 yes |
13 | 15 | depends_lib lib:audiofile.0:audiofile |
14 | | checksums md5 1566344f80a8909b5e6e4d6b6520c2c1 |
15 | | configure.args --mandir=${prefix}/share/man |
| 16 | depends_build path:${prefix}/bin/autoconf:autoconf \ |
| 17 | path:${prefix}/bin/glibtool:libtool |
| 18 | checksums sha1 b3164f17d84fe57f1457bc0d0a50615f67c87de8 |
| 19 | configure.args --enable-ipv6 --with-audiofile |
| 20 | patchfiles patch-esd.conf patch-esd_config.c patch-configure.in |
16 | 21 | |
17 | 22 | variant puredarwin { |
18 | 23 | configure.args-append --disable-local-sound |
19 | 24 | } |
20 | 25 | |
21 | | variant darwin { |
22 | | configure.env LDFLAGS="-framework CoreAudio" |
| 26 | pre-configure { |
| 27 | system "cd ${worksrcpath} && glibtoolize --force && aclocal" |
23 | 28 | } |
24 | 29 | |
25 | 30 | long_description EsounD, the Enlightened Sound Daemon, is a server \ |
diff -Naur /usr/src/darwinports/dports/audio/esound/files/patch-configure.in audio/esound/files/patch-configure.in
old
|
new
|
|
| 1 | --- configure.in.orig Wed Mar 23 00:31:46 2005 |
| 2 | +++ configure.in Wed Mar 23 00:35:36 2005 |
| 3 | @@ -251,7 +251,8 @@ |
| 4 | if test "${ac_cv_header_CoreAudio_CoreAudio_h}" = "yes"; then |
| 5 | found_sound=yes |
| 6 | AC_DEFINE(DRIVER_COREAUDIO) |
| 7 | - SOUND_LIBS="-Wl,-framework -Wl,CoreAudio" |
| 8 | + SOUND_LIBS="-framework CoreAudio" |
| 9 | + LIBS="$LIBS $SOUND_LIBS" |
| 10 | fi |
| 11 | |
| 12 | if test "$found_sound" = "no"; then |
diff -Naur /usr/src/darwinports/dports/audio/esound/files/patch-esd.conf audio/esound/files/patch-esd.conf
old
|
new
|
|
| 1 | +++ ../esound-0.2.35.bak/esd.conf Wed Mar 23 00:04:57 2005 |
| 2 | --- esd.conf Wed Mar 23 00:05:01 2005 |
| 3 | @@ -1,6 +1,6 @@ |
| 4 | [esd] |
| 5 | auto_spawn=1 |
| 6 | spawn_options=-terminate -nobeeps -as 2 |
| 7 | -spawn_wait_ms=100 |
| 8 | +spawn_wait_ms=999 |
| 9 | # default options are used in spawned and non-spawned mode |
| 10 | default_options= |
diff -Naur /usr/src/darwinports/dports/audio/esound/files/patch-esd_config.c audio/esound/files/patch-esd_config.c
old
|
new
|
|
| 1 | --- ../esound-0.2.35.bak/esd_config.c Wed Mar 23 00:04:57 2005 |
| 2 | +++ esd_config.c Wed Mar 23 00:05:01 2005 |
| 3 | @@ -9,7 +9,7 @@ |
| 4 | int esd_no_spawn=1; /* If we can't even find the system config file, |
| 5 | things are screwed up - don't try to make things |
| 6 | worse. */ |
| 7 | -int esd_spawn_wait_ms=100; /* Time to wait trying to connect to an |
| 8 | +int esd_spawn_wait_ms=999; /* Time to wait trying to connect to an |
| 9 | autospawned ESD, in milliseconds. */ |
| 10 | char esd_spawn_options[LINEBUF_SIZE] = "-terminate -nobeeps -as 2"; |
| 11 | |