From ce6c609ab32b0bced8b2cbe9233431dd183334bb Mon Sep 17 00:00:00 2001 From: brad Date: Mon, 22 Mar 1999 05:03:31 +0000 Subject: [PATCH] add esound port --- audio/esound/Makefile | 25 +++++++++++++++++++ audio/esound/files/md5 | 3 +++ audio/esound/patches/patch-aa | 19 +++++++++++++++ audio/esound/patches/patch-ab | 43 +++++++++++++++++++++++++++++++++ audio/esound/pkg/COMMENT | 1 + audio/esound/pkg/DESCR | 1 + audio/esound/pkg/PLIST | 17 +++++++++++++ audio/esound/pkg/PLIST.noshared | 15 ++++++++++++ 8 files changed, 124 insertions(+) create mode 100644 audio/esound/Makefile create mode 100644 audio/esound/files/md5 create mode 100644 audio/esound/patches/patch-aa create mode 100644 audio/esound/patches/patch-ab create mode 100644 audio/esound/pkg/COMMENT create mode 100644 audio/esound/pkg/DESCR create mode 100644 audio/esound/pkg/PLIST create mode 100644 audio/esound/pkg/PLIST.noshared diff --git a/audio/esound/Makefile b/audio/esound/Makefile new file mode 100644 index 00000000000..ca000588179 --- /dev/null +++ b/audio/esound/Makefile @@ -0,0 +1,25 @@ +# $OpenBSD: Makefile,v 1.1.1.1 1999/03/22 05:03:31 brad Exp $ +# $FreeBSD: Makefile,v 1.8 1999/03/09 01:08:46 nectar Exp $ + +DISTNAME= esound-0.2.8 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= gnome-1.0/sources + +NEED_VERSION= 1.73 + +MAINTAINER= brad@openbsd.org + +LIB_DEPENDS= audiofile:${PORTSDIR}/devel/libaudiofile + +SEPARATE_BUILD= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= ${CONFIGURE_SHARED} +CONFIGURE_ARGS+= --enable-static + +post-install: + @${MKDIR} ${LOCALBASE}/share/aclocal/ + @${INSTALL_DATA} ${WRKSRC}/esd.m4 ${LOCALBASE}/share/aclocal/ + ${LDCONFIG} -m ${PREFIX}/lib + +.include diff --git a/audio/esound/files/md5 b/audio/esound/files/md5 new file mode 100644 index 00000000000..c8a9c16e9f8 --- /dev/null +++ b/audio/esound/files/md5 @@ -0,0 +1,3 @@ +MD5 (esound-0.2.8.tar.gz) = 1ab1b65eb91f1f57cfb4bf5e709c191f +RMD160 (esound-0.2.8.tar.gz) = af5e2f1d8564d8ff664b44531bf21a04d762fecd +SHA1 (esound-0.2.8.tar.gz) = c6d0783b88c96776678b28c10d2624ba32e2cdd3 diff --git a/audio/esound/patches/patch-aa b/audio/esound/patches/patch-aa new file mode 100644 index 00000000000..50d54e4f543 --- /dev/null +++ b/audio/esound/patches/patch-aa @@ -0,0 +1,19 @@ +--- Makefile.in.orig Wed Feb 24 22:23:07 1999 ++++ Makefile.in Mon Mar 1 19:45:21 1999 +@@ -104,14 +104,14 @@ + libesd_la_SOURCES = esdlib.c esdmgr.c esdfile.c audio.c + + +-libesd_la_LDFLAGS = -version-info @ESD_VERSION_INFO@ ++libesd_la_LDFLAGS = -version-info 2:8:0 + + libesd_la_LIBADD = @AUDIOFILE_LIBS@ -lm + + EXTRA_LTLIBRARIES = libesddsp.la + + +-libesddsp_la_LDFLAGS = -rpath $(libdir) -version-info @ESD_VERSION_INFO@ ++libesddsp_la_LDFLAGS = -rpath $(libdir) -version-info 2:8:0 + + libesddsp_la_LIBADD = @DL_LIB@ -lm + diff --git a/audio/esound/patches/patch-ab b/audio/esound/patches/patch-ab new file mode 100644 index 00000000000..ff26d128b01 --- /dev/null +++ b/audio/esound/patches/patch-ab @@ -0,0 +1,43 @@ +--- ltmain.sh.orig Sun Mar 21 23:40:14 1999 ++++ ltmain.sh Sun Mar 21 23:41:37 1999 +@@ -2633,40 +2633,6 @@ + # Exit here if they wanted silent mode. + test "$show" = : && exit 0 + +- echo "----------------------------------------------------------------------" +- echo "Libraries have been installed in:" +- for libdir in $libdirs; do +- echo " $libdir" +- done +- echo +- echo "To link against installed libraries in a given directory, LIBDIR," +- echo "you must use the \`-LLIBDIR' flag during linking." +- echo +- echo " You will also need to do at least one of the following:" +- if test -n "$shlibpath_var"; then +- echo " - add LIBDIR to the \`$shlibpath_var' environment variable" +- echo " during execution" +- fi +- if test -n "$runpath_var"; then +- echo " - add LIBDIR to the \`$runpath_var' environment variable" +- echo " during linking" +- fi +- if test -n "$hardcode_libdir_flag_spec"; then +- libdir=LIBDIR +- eval flag=\"$hardcode_libdir_flag_spec\" +- +- echo " - use the \`$flag' linker flag" +- fi +- if test -n "$admincmds"; then +- echo " - have your system administrator run these commands:$admincmds" +- fi +- if test -f /etc/ld.so.conf; then +- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" +- fi +- echo +- echo "See any operating system documentation about shared libraries for" +- echo "more information, such as the ld(1) and ld.so(8) manual pages." +- echo "----------------------------------------------------------------------" + exit 0 + ;; + diff --git a/audio/esound/pkg/COMMENT b/audio/esound/pkg/COMMENT new file mode 100644 index 00000000000..076aee120dc --- /dev/null +++ b/audio/esound/pkg/COMMENT @@ -0,0 +1 @@ +a sound library for enlightenment package diff --git a/audio/esound/pkg/DESCR b/audio/esound/pkg/DESCR new file mode 100644 index 00000000000..076aee120dc --- /dev/null +++ b/audio/esound/pkg/DESCR @@ -0,0 +1 @@ +a sound library for enlightenment package diff --git a/audio/esound/pkg/PLIST b/audio/esound/pkg/PLIST new file mode 100644 index 00000000000..94139fe0edd --- /dev/null +++ b/audio/esound/pkg/PLIST @@ -0,0 +1,17 @@ +bin/esd +bin/esd-config +bin/esdcat +bin/esdctl +bin/esddsp +bin/esdfilt +bin/esdloop +bin/esdmon +bin/esdplay +bin/esdrec +bin/esdsample +include/esd.h +lib/libesd.a +lib/libesd.la +lib/libesd.so.2.8 +share/aclocal/esd.m4 +@exec /sbin/ldconfig -m %B diff --git a/audio/esound/pkg/PLIST.noshared b/audio/esound/pkg/PLIST.noshared new file mode 100644 index 00000000000..d54679c2c3d --- /dev/null +++ b/audio/esound/pkg/PLIST.noshared @@ -0,0 +1,15 @@ +bin/esd +bin/esd-config +bin/esdcat +bin/esdctl +bin/esddsp +bin/esdfilt +bin/esdloop +bin/esdmon +bin/esdplay +bin/esdrec +bin/esdsample +include/esd.h +lib/libesd.a +lib/libesd.la +share/aclocal/esd.m4