diff options
author | tron <tron> | 1999-04-06 17:18:00 +0000 |
---|---|---|
committer | tron <tron> | 1999-04-06 17:18:00 +0000 |
commit | 56496ca42b121db22481ddc6ca6a3901eddbdd4f (patch) | |
tree | 11ab676f6f1ef9adeaf811a316f197e0c21dd546 /audio | |
parent | 8adbf01a08ae06e4398747eb2931b353ab17ee48 (diff) | |
download | pkgsrc-56496ca42b121db22481ddc6ca6a3901eddbdd4f.tar.gz |
New "wmsound" package created by Johnny C. Lam:
The Window Maker Sound Server.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/wmsound/Makefile | 28 | ||||
-rw-r--r-- | audio/wmsound/files/WMSound | 23 | ||||
-rw-r--r-- | audio/wmsound/files/md5 | 4 | ||||
-rw-r--r-- | audio/wmsound/patches/patch-aa | 19 | ||||
-rw-r--r-- | audio/wmsound/patches/patch-ab | 13 | ||||
-rw-r--r-- | audio/wmsound/patches/patch-ac | 32 | ||||
-rw-r--r-- | audio/wmsound/patches/patch-ad | 22 | ||||
-rw-r--r-- | audio/wmsound/pkg/COMMENT | 1 | ||||
-rw-r--r-- | audio/wmsound/pkg/DESCR | 5 | ||||
-rw-r--r-- | audio/wmsound/pkg/PLIST | 21 |
10 files changed, 168 insertions, 0 deletions
diff --git a/audio/wmsound/Makefile b/audio/wmsound/Makefile new file mode 100644 index 00000000000..3263c97dfd0 --- /dev/null +++ b/audio/wmsound/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/04/06 17:18:00 tron Exp $ + +DISTNAME= wmsound-0.9.4 +CATEGORIES= audio x11 +MASTER_SITES= http://www.frontiernet.net/~southgat/wmsound/download/ \ + ftp://shadowmere.student.utwente.nl/pub/WindowMaker/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} wmsdefault${EXTRACT_SUFX} + +MAINTAINER= lamj@stat.cmu.edu +HOMEPAGE= http://www.frontiernet.net/~southgat/wmsound/ + +DEPENDS+= windowmaker-0.51.2:../../x11/windowmaker + +USE_X11BASE= yes +USE_IMAKE= yes + +post-extract: + ${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/WMSound \ + >${WRKDIR}/WMSound + +post-install: + ${INSTALL_DATA} ${WRKDIR}/WMSound ${PREFIX}/etc/WindowMaker + ( cd ${WRKDIR}/Sounds; \ + for f in *; do \ + ${INSTALL_DATA} "$$f" ${PREFIX}/share/WindowMaker/Sounds/; \ + done ) + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/wmsound/files/WMSound b/audio/wmsound/files/WMSound new file mode 100644 index 00000000000..32ed47a5b52 --- /dev/null +++ b/audio/wmsound/files/WMSound @@ -0,0 +1,23 @@ +{ + SoundPath = ( + "~/GNUstep/Library/WindowMaker/Sounds", + "@PREFIX@/share/WindowMaker/Sounds" + ); + SoundSetPath = ( + "~/GNUstep/Library/WindowMaker/SoundSets", + "@PREFIX@/share/WindowMaker/SoundSets" + ); + Device = /dev/audio; + AppExit = appexit.wav; + AppStart = appstart.wav; + Hide = hide.wav; + Iconify = iconify.wav; + Maximize = maximize.wav; + UnMaximize = unmaximize.wav; + Shade = shade.wav; + Startup = startup.wav; + UnHide = unhide.wav; + DeIconify = uniconify.wav; + UnShade = unshade.wav; + UserDefined = replaceme.wav; +} diff --git a/audio/wmsound/files/md5 b/audio/wmsound/files/md5 new file mode 100644 index 00000000000..fd51e587d31 --- /dev/null +++ b/audio/wmsound/files/md5 @@ -0,0 +1,4 @@ +$NetBSD: md5,v 1.1.1.1 1999/04/06 17:18:01 tron Exp $ + +MD5 (wmsound-0.9.4.tar.gz) = 97de40c947a559b215502399cc02c06a +MD5 (wmsdefault.tar.gz) = bec32117f9c7ef1f056e96bc8fefae9a diff --git a/audio/wmsound/patches/patch-aa b/audio/wmsound/patches/patch-aa new file mode 100644 index 00000000000..aecce4d568e --- /dev/null +++ b/audio/wmsound/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/04/06 17:18:01 tron Exp $ + +--- Imakefile.orig Thu Mar 18 00:14:45 1999 ++++ Imakefile Sun Mar 21 02:26:11 1999 +@@ -1,12 +1,12 @@ + #define IHaveSubdirs + #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" + +-PREFIX = /usr/local ++XCOMM PREFIX = /usr/local + + DESTDIR = $(PREFIX) + + XCOMM CDEBUGFLAGS = -Wall -ggdb -DDEBUG +-CDEBUGFLAGS = -O6 -ffast-math ++XCOMM CDEBUGFLAGS = -O6 -ffast-math + + + XCOMM Uncomment the following two lines for HPUX support diff --git a/audio/wmsound/patches/patch-ab b/audio/wmsound/patches/patch-ab new file mode 100644 index 00000000000..81ef45f187d --- /dev/null +++ b/audio/wmsound/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/04/06 17:18:01 tron Exp $ + +--- lib/Imakefile.orig Thu Mar 18 00:15:02 1999 ++++ lib/Imakefile Sun Mar 21 02:19:06 1999 +@@ -4,7 +4,7 @@ + HEADER_INST = /include + + XCOMM Xfree86 +-STD_INCLUDES = -I/usr/X11R6/include -I/usr/local/include ++STD_INCLUDES = -I${X11BASE}/include -I${LOCALBASE}/include + + XCOMM Solaris + XCOMM STD_INCLUDES = -I/usr/openwin/include -I/usr/local/include diff --git a/audio/wmsound/patches/patch-ac b/audio/wmsound/patches/patch-ac new file mode 100644 index 00000000000..ec3f74debb5 --- /dev/null +++ b/audio/wmsound/patches/patch-ac @@ -0,0 +1,32 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/04/06 17:18:01 tron Exp $ + +--- src/Imakefile.orig Thu Mar 18 00:15:19 1999 ++++ src/Imakefile Sun Mar 21 02:34:05 1999 +@@ -14,9 +14,16 @@ + XCOMM uncomment out the next line if you want to use esd comment out the line below next line + XCOMM ESDLIB = -lesd -laudiofile + +-WMSOUNDLIB = -L/usr/local/lib -lPropList -L../lib -lwmsnd $(ESDLIB) ++XCOMM NetBSD requires -lossaudio for Linux OSS interface compatibility. ++#ifdef NetBSDArchitecture ++ OSSLIB = -lossaudio ++#else ++ OSSLIB = ++#endif + +-STD_INCLUDES = -I/usr/local/include -I/usr/X11R6/include ++WMSOUNDLIB = -L${LOCALBASE}/lib -lPropList -L../lib -lwmsnd $(ESDLIB) $(OSSLIB) ++ ++STD_INCLUDES = -I${LOCALBASE}/include -I${X11BASE}/include + DEPLIBS = $(DEPXLIB) + + LOCAL_LIBRARIES += $(WMSOUNDLIB) $(XLIB) $(EFENCELIB) +@@ -26,7 +33,7 @@ + SRCS = wmsound.c + OBJS = wmsound.o + +-ComplexProgramTarget(wmsound) ++ComplexProgramTargetNoMan(wmsound) + + XCOMM MakeSubdirs($(SUBDIRS)) + XCOMM DependSubdirs($(SUBDIRS)) diff --git a/audio/wmsound/patches/patch-ad b/audio/wmsound/patches/patch-ad new file mode 100644 index 00000000000..78ebc48a638 --- /dev/null +++ b/audio/wmsound/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1.1.1 1999/04/06 17:18:01 tron Exp $ + +--- utils/Imakefile.orig Thu Mar 18 00:15:11 1999 ++++ utils/Imakefile Sun Mar 21 02:22:07 1999 +@@ -13,8 +13,15 @@ + XCOMM uncomment out the next line if you want to use esd comment out the line below next line + XCOMM ESDLIB = -lesd -laudiofile + +-WMSOUNDLIB = -L/usr/local/lib -lPropList -L../lib -lwmsnd $(ESDLIB) +-STD_INCLUDES = -I/usr/local/include -I/usr/X11R6/include ++XCOMM NetBSD requires -lossaudio for Linux OSS interface compatibility. ++#ifdef NetBSDArchitecture ++ OSSLIB = -lossaudio ++#else ++ OSSLIB = ++#endif ++ ++WMSOUNDLIB = -L${LOCALBASE}/lib -lPropList -L../lib -lwmsnd $(ESDLIB) $(OSSLIB) ++STD_INCLUDES = -I${LOCALBASE}/include -I${X11BASE}/include + DEPLIBS = $(DEPXLIB) + + LOCAL_LIBRARIES += $(XLIB) $(WMSOUNDLIB) $(EFENCELIB) diff --git a/audio/wmsound/pkg/COMMENT b/audio/wmsound/pkg/COMMENT new file mode 100644 index 00000000000..36e9e530074 --- /dev/null +++ b/audio/wmsound/pkg/COMMENT @@ -0,0 +1 @@ +The Window Maker Sound Server. diff --git a/audio/wmsound/pkg/DESCR b/audio/wmsound/pkg/DESCR new file mode 100644 index 00000000000..edc4c10ea27 --- /dev/null +++ b/audio/wmsound/pkg/DESCR @@ -0,0 +1,5 @@ +The Window Maker sound server is a popular dockapp, which interprets +WM events (such as shading a window or minimizing an application) and +plays a sound associated with that event. Since it's dockable, you can +have it automatically launch on startup, or "kill" it off if it becomes +too noisy. diff --git a/audio/wmsound/pkg/PLIST b/audio/wmsound/pkg/PLIST new file mode 100644 index 00000000000..2c4926be5f6 --- /dev/null +++ b/audio/wmsound/pkg/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/06 17:18:01 tron Exp $ +bin/getsounds +bin/nmaker +bin/setsounds +bin/wmsound +etc/WindowMaker/WMSound +include/wmsnd.h +lib/libwmsnd.a +share/WindowMaker/Sounds/appexit.wav +share/WindowMaker/Sounds/appstart.wav +share/WindowMaker/Sounds/deiconify.wav +share/WindowMaker/Sounds/hide.wav +share/WindowMaker/Sounds/iconify.wav +share/WindowMaker/Sounds/maximize.wav +share/WindowMaker/Sounds/minimize.wav +share/WindowMaker/Sounds/recycle.wav +share/WindowMaker/Sounds/shade.wav +share/WindowMaker/Sounds/startup.wav +share/WindowMaker/Sounds/unhide.wav +share/WindowMaker/Sounds/unmaximize.wav +share/WindowMaker/Sounds/unshade.wav |