From c22c3b06b986e5b4ffb9a527fb5738f6af719663 Mon Sep 17 00:00:00 2001 From: FUJISHIMA Satsuki Date: Fri, 2 Mar 2001 22:07:37 +0000 Subject: o respect CFLAGS (libao, libogg, libvorbis) o add ESOUND and KDE2 knob. (libao) o add WWW. (libogg) o get rid of xmms dependency. (vorbis) Approved by: maintainer --- audio/libao/Makefile | 20 +++++++++++++++++++- audio/libao/files/patch-ac | 11 +++++++++++ audio/libao/pkg-plist | 2 ++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 audio/libao/files/patch-ac (limited to 'audio/libao') diff --git a/audio/libao/Makefile b/audio/libao/Makefile index c76f03da7871..38df08d04785 100644 --- a/audio/libao/Makefile +++ b/audio/libao/Makefile @@ -13,6 +13,8 @@ MASTER_SITES= http://home.student.utwente.nl/t.vanklaveren/distfiles/ \ MAINTAINER= t.vanklaveren@student.utwente.nl +WANT_ESOUND= yes + GNU_CONFIGURE= yes USE_GMAKE= yes USE_LIBTOOL= yes @@ -20,4 +22,20 @@ USE_AUTOMAKE= yes INSTALLS_SHLIB= yes -.include +.include + +.if defined(HAVE_ESOUND) +USE_ESOUND= yes +PLIST_SUB= ESOUND="" +.else +PLIST_SUB= ESOUND="@comment " +.endif + +.if exists(${LOCALBASE}/bin/artsc-config) +LIB_DEPENDS= artsc.0:${PORTSDIR}/x11/kdelibs2 +PLIST_SUB+= ARTS="" +.else +PLIST_SUB+= ARTS="@comment " +.endif + +.include diff --git a/audio/libao/files/patch-ac b/audio/libao/files/patch-ac new file mode 100644 index 000000000000..cdac7830f87a --- /dev/null +++ b/audio/libao/files/patch-ac @@ -0,0 +1,11 @@ +--- configure.in.orig Sat Feb 24 10:31:45 2001 ++++ configure.in Fri Mar 2 13:03:53 2001 +@@ -60,7 +60,7 @@ + PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;; + *) + DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char" +- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char" ++ CFLAGS="-D__NO_MATH_INLINES -fsigned-char $CFLAGS" + PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;; + esac + fi diff --git a/audio/libao/pkg-plist b/audio/libao/pkg-plist index 3eb113a93009..1a119665b127 100644 --- a/audio/libao/pkg-plist +++ b/audio/libao/pkg-plist @@ -2,7 +2,9 @@ include/ao/ao.h include/ao/os_types.h lib/libao.so lib/libao.so.1 +%%ARTS%%lib/ao/libarts.so lib/ao/liboss.so +%%ESOUND%%lib/ao/libesd.so share/doc/libao-0.6.0/API share/doc/libao-0.6.0/DRIVERS share/doc/libao-0.6.0/USAGE -- cgit v1.2.3