diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2004-07-22 01:12:31 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2004-07-22 01:12:31 +0000 |
commit | eaa33aef51119a1b62104136a7f6246012cf7f22 (patch) | |
tree | cc868dadf832c90734bad05313bc4dfe030a3d29 | |
parent | fixing the digest as benoit has just broken it again :( (Manifest recommit) (diff) | |
download | gentoo-2-eaa33aef51119a1b62104136a7f6246012cf7f22.tar.gz gentoo-2-eaa33aef51119a1b62104136a7f6246012cf7f22.tar.bz2 gentoo-2-eaa33aef51119a1b62104136a7f6246012cf7f22.zip |
Initial import of x11-plugins/wmsound, version 0.9.5. Closes #51063
-rw-r--r-- | x11-plugins/wmsound/ChangeLog | 8 | ||||
-rw-r--r-- | x11-plugins/wmsound/Manifest | 5 | ||||
-rw-r--r-- | x11-plugins/wmsound/files/digest-wmsound-0.9.5 | 1 | ||||
-rw-r--r-- | x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch | 11 | ||||
-rw-r--r-- | x11-plugins/wmsound/files/wmsound-config.patch | 86 | ||||
-rw-r--r-- | x11-plugins/wmsound/files/wmsound-esd.patch | 79 | ||||
-rw-r--r-- | x11-plugins/wmsound/metadata.xml | 5 | ||||
-rw-r--r-- | x11-plugins/wmsound/wmsound-0.9.5.ebuild | 52 |
8 files changed, 247 insertions, 0 deletions
diff --git a/x11-plugins/wmsound/ChangeLog b/x11-plugins/wmsound/ChangeLog new file mode 100644 index 000000000000..70b7e026612c --- /dev/null +++ b/x11-plugins/wmsound/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for x11-plugins/wmsound +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.1 2004/07/22 01:12:31 s4t4n Exp $ + +*wmsound-0.9.5 (22 Jul 2004) + + 22 Jul 2004; Michele Noberasco <s4t4n@gentoo.org> wmsound-0.9.5.ebuild: + Initial import. Thanks to Przemyslaw Maciag. Closes #51063. diff --git a/x11-plugins/wmsound/Manifest b/x11-plugins/wmsound/Manifest new file mode 100644 index 000000000000..09aba1bf189f --- /dev/null +++ b/x11-plugins/wmsound/Manifest @@ -0,0 +1,5 @@ +MD5 20a66487f1ad6a88f040b13817d154c2 wmsound-0.9.5.ebuild 995 +MD5 07c8b3d33fbbbed1700c4515b5311721 files/wmsound-esd.patch 2799 +MD5 56668c80d9f0b2b99b5c9088016ed62a files/digest-wmsound-0.9.5 64 +MD5 3bfb08591f212acd293b5f480afd4fab files/wmsound-config.patch 2466 +MD5 d04694a64e4326d5b21eaab7827c9c6c files/wmsound-ComplexProgramTargetNoMan.patch 304 diff --git a/x11-plugins/wmsound/files/digest-wmsound-0.9.5 b/x11-plugins/wmsound/files/digest-wmsound-0.9.5 new file mode 100644 index 000000000000..e6fa871db24a --- /dev/null +++ b/x11-plugins/wmsound/files/digest-wmsound-0.9.5 @@ -0,0 +1 @@ +MD5 86f9b19ca0ca1daa072d76d02943dd3e wmsound-0.9.5.tar.gz 23098 diff --git a/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch b/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch new file mode 100644 index 000000000000..c87ab10e3791 --- /dev/null +++ b/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch @@ -0,0 +1,11 @@ +--- wmsound-0.9.4/src/Imakefile~ Tue Dec 4 09:22:23 2001 ++++ wmsound-0.9.4/src/Imakefile Tue Dec 4 09:22:23 2001 +@@ -26,7 +26,7 @@ + SRCS = wmsound.c + OBJS = wmsound.o + +-ComplexProgramTarget(wmsound) ++ComplexProgramTargetNoMan(wmsound) + + XCOMM MakeSubdirs($(SUBDIRS)) + XCOMM DependSubdirs($(SUBDIRS)) diff --git a/x11-plugins/wmsound/files/wmsound-config.patch b/x11-plugins/wmsound/files/wmsound-config.patch new file mode 100644 index 000000000000..5ab17c13693f --- /dev/null +++ b/x11-plugins/wmsound/files/wmsound-config.patch @@ -0,0 +1,86 @@ +--- wmsound-0.9.5/Install.orig Sun May 2 13:02:43 1999 ++++ wmsound-0.9.5/Install Wed Sep 4 12:59:56 2002 +@@ -7,62 +7,15 @@ + DEVICE="/dev/dsp" + + echo +-echo "----------------------------" +-echo " WMSound-$VERSION Installation " +-echo "----------------------------" ++echo "-----------------------------" ++echo " WMSound-$VERSION Configuration " ++echo "-----------------------------" + +-WHOAMI=`whoami` +-if test $WHOAMI != "root" +-then +- echo "It is advised to run this script as the root user" +- echo "Your current user is $WHOAMI, if you want to continue press <Enter>" +- read CONTINUE +- if test $CONTINUE +- then +- echo "Installation aborted." +- else +- echo "Proceeding with installation ..." +- fi +-fi +- +-done=0 +-while test $done = 0 +-do +- echo "Specify your default audio device [$DEVICE]" +- echo -n ": " +- read AUDIODEV +- if !(test $AUDIODEV) +- then +- AUDIODEV=$DEVICE +- fi +- if test -e $AUDIODEV +- then +- echo "Using audio-device : $AUDIODEV" +- DEVICE=$AUDIODEV +- done=1 +- else +- echo "$AUDIODEV does not exist ..." +- fi +- +-done +-echo "----------------------" +-echo " Generating Makefiles " +-echo "----------------------" +-xmkmf -a +- +-echo "------------------------" +-echo " Building WMSound-$VERSION" +-echo "------------------------" +-make install +- +-echo "-----------------------------------" +-echo " Generating Default WMSound Domain " +-echo "-----------------------------------" + (echo "{";\ + echo " SoundPath = (\"~/GNUstep/Library/WindowMaker/Sounds\",";\ +-echo " \"/usr/local/share/WindowMaker/Sounds\");";\ ++echo " \"/usr/X11R6/share/WindowMaker/Sounds\");";\ + echo " SoundSetPath = (\"~/GNUstep/Library/WindowMaker/SoundSets\",";\ +-echo " \"/usr/local/share/WindowMaker/SoundSets\");";\ ++echo " \"/usr/X11R6/share/WindowMaker/SoundSets\");";\ + echo " Device = $DEVICE;";\ + echo " AppExit = appexit.wav;";\ + echo " AppStart = appstart.wav;";\ +@@ -73,13 +26,8 @@ + echo " Shade = shade.wav;";\ + echo " Startup = startup.wav;";\ + echo " UnHide = unhide.wav;";\ +-echo " DeIconify = uniconify.wav;";\ ++echo " DeIconify = deiconify.wav;";\ + echo " UnShade = unshade.wav;";\ + echo " UserDefined = replaceme.wav;";\ +-echo "}";) > WMSound ++echo "}";) > config/WMSound + +-echo "Make sure you copy the generated WMSound config to your Window Maker Global" +-echo "Defaults path ... (probably /usr/local/etc/WindowMaker)" +-echo +-echo "Installation completed." +- diff --git a/x11-plugins/wmsound/files/wmsound-esd.patch b/x11-plugins/wmsound/files/wmsound-esd.patch new file mode 100644 index 000000000000..787c7a19e127 --- /dev/null +++ b/x11-plugins/wmsound/files/wmsound-esd.patch @@ -0,0 +1,79 @@ +--- /home/users/hunter/backups/Imakefile~ 2004-02-08 18:54:15.000000000 +0100 ++++ src/Imakefile 2004-02-08 18:54:48.000000000 +0100 +@@ -12,7 +12,7 @@ + #endif + + XCOMM uncomment out the next line if you want to use esd comment out the line below next line +-XCOMM ESDLIB = -lesd -laudiofile ++ESDLIB = -lesd -laudiofile + + WMSOUNDLIB = -L../lib -lwmsnd -L/usr/local/lib $(ESDLIB) + +--- /home/users/hunter/backups/Imakefile~ 1999-05-02 12:27:29.000000000 +0200 ++++ lib/Imakefile 2004-02-08 19:16:56.000000000 +0100 +@@ -20,7 +20,7 @@ + EXTRA_DEFINES = -DOSS_SOUND + + XCOMM uncomment out the next line if you want to use esd +-XCOMM EXTRA_DEFINES = -DESD ++EXTRA_DEFINES = -DESD + + XCOMM uncomment out the next line if you want Solaris Support + XCOMM EXTRA_DEFINES = -DSVR4 +--- /home/users/hunter/backups/Imakefile~ 1999-05-01 16:52:46.000000000 +0200 ++++ Imakefile 2004-02-08 19:18:47.000000000 +0100 +@@ -1,7 +1,7 @@ + #define IHaveSubdirs + #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" + +-PREFIX = /usr/local ++PREFIX = /usr/ + + DESTDIR = $(PREFIX) + +--- /home/users/hunter/backups/Imakefile~ 2004-02-08 19:19:18.000000000 +0100 ++++ lib/Imakefile 2004-02-08 19:20:04.000000000 +0100 +@@ -4,7 +4,7 @@ + HEADER_INST = /include + + XCOMM Xfree86 +-STD_INCLUDES = -I/usr/X11R6/include -I/usr/local/include ++STD_INCLUDES = -I/usr/X11R6/include -I/usr/include + + XCOMM Solaris + XCOMM STD_INCLUDES = -I/usr/openwin/include -I/usr/local/include +--- /home/users/hunter/backups/Imakefile~ 1999-05-01 11:46:31.000000000 +0200 ++++ utils/Imakefile 2004-02-08 19:22:03.000000000 +0100 +@@ -13,8 +13,8 @@ + 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../lib -lwmsnd -L/usr/local/lib $(ESDLIB) +-STD_INCLUDES = -I/usr/local/include -I/usr/X11R6/include ++WMSOUNDLIB = -L../lib -lwmsnd -L/usr/lib $(ESDLIB) ++STD_INCLUDES = -I/usr/include -I/usr/X11R6/include + DEPLIBS = $(DEPXLIB) + + LOCAL_LIBRARIES += -lPropList $(XLIB) $(WMSOUNDLIB) $(EFENCELIB) +--- /home/users/hunter/backups/Imakefile~ 2004-02-08 19:25:30.000000000 +0100 ++++ lib/Imakefile 2004-02-08 19:26:20.000000000 +0100 +@@ -9,7 +9,7 @@ + XCOMM Solaris + XCOMM STD_INCLUDES = -I/usr/openwin/include -I/usr/local/include + +-EXTRA_LIBRARIES = ++EXTRA_LIBRARIES = -Lesd + + #ifdef USE_HPUX_SOUND_SERVER + EXTRA_INCLUDES += -I/opt/audio/include +--- /home/users/hunter/backups/Imakefile~ 2004-02-08 19:31:16.000000000 +0100 ++++ utils/Imakefile 2004-02-08 19:31:44.000000000 +0100 +@@ -11,7 +11,7 @@ + #endif + + XCOMM uncomment out the next line if you want to use esd comment out the line below next line +-XCOMM ESDLIB = -lesd -laudiofile ++ESDLIB = -lesd -laudiofile + + WMSOUNDLIB = -L../lib -lwmsnd -L/usr/lib $(ESDLIB) + STD_INCLUDES = -I/usr/include -I/usr/X11R6/include diff --git a/x11-plugins/wmsound/metadata.xml b/x11-plugins/wmsound/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmsound/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-dock</herd> +</pkgmetadata> diff --git a/x11-plugins/wmsound/wmsound-0.9.5.ebuild b/x11-plugins/wmsound/wmsound-0.9.5.ebuild new file mode 100644 index 000000000000..0adb33471ba8 --- /dev/null +++ b/x11-plugins/wmsound/wmsound-0.9.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v 1.1 2004/07/22 01:12:31 s4t4n Exp $ + +inherit eutils + +IUSE="esd" + +DESCRIPTION="WindowMaker sound server" +SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz" +HOMEPAGE="http://largo.windowmaker.org/" + +DEPEND="virtual/x11 + >=x11-wm/windowmaker-0.80.2-r1 + >=x11-libs/libPropList-0.10.1-r3 + esd? ( >=media-sound/esound-0.2.34 ) + >=media-sound/wmsound-data-1.0.0" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +src_unpack() +{ + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/wmsound-config.patch + epatch ${FILESDIR}/wmsound-ComplexProgramTargetNoMan.patch + epatch ${FILESDIR}/wmsound-esd.patch +} + +src_compile() +{ + export PATH="${PATH}:/usr/X11R6/bin" + + cd ${S} + xmkmf -a + emake CDEBUGFLAGS="${CFLAGS}" || die "make failed" +} + +src_install() +{ + cd ${S} + einstall PREFIX=${D}/usr USRLIBDIR=${D}/usr/X11R6/lib || die "make install failed" + dodoc AUTHORS BUGS ChangeLog +} + +pkg_postinst() +{ + einfo "WMSound currently supports 8 or 16 bit .wav files." +} |