diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-11-14 03:17:42 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-11-14 03:17:42 +0000 |
commit | 7613a069318846401c8567f4b6e0f813f2095afc (patch) | |
tree | 4bff54f164ae91380c5e67d8b8db7a1ce4b2ea65 /audio/xmixer | |
parent | c7e763ba8e017ca20df9e0d883dff5a5d5b0464b (diff) | |
download | ports-7613a069318846401c8567f4b6e0f813f2095afc.tar.gz ports-7613a069318846401c8567f4b6e0f813f2095afc.zip |
Notes
Diffstat (limited to 'audio/xmixer')
-rw-r--r-- | audio/xmixer/Makefile | 26 | ||||
-rw-r--r-- | audio/xmixer/distinfo | 1 | ||||
-rw-r--r-- | audio/xmixer/files/patch-aa | 36 | ||||
-rw-r--r-- | audio/xmixer/files/patch-ab | 28 | ||||
-rw-r--r-- | audio/xmixer/files/patch-ad | 16 | ||||
-rw-r--r-- | audio/xmixer/files/patch-ae | 22 | ||||
-rw-r--r-- | audio/xmixer/files/patch-af | 16 | ||||
-rw-r--r-- | audio/xmixer/pkg-comment | 1 | ||||
-rw-r--r-- | audio/xmixer/pkg-descr | 19 | ||||
-rw-r--r-- | audio/xmixer/pkg-plist | 2 |
10 files changed, 167 insertions, 0 deletions
diff --git a/audio/xmixer/Makefile b/audio/xmixer/Makefile new file mode 100644 index 000000000000..4ca6487d3094 --- /dev/null +++ b/audio/xmixer/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: xmixer +# Version required: 0.9.3 +# Date created: 27 October 1999 +# Whom: trevor@jpj.net +# +# $FreeBSD$ +# + +DISTNAME= xmixer-0.9.3 +CATEGORIES= audio +MASTER_SITES= http://www.hdk-berlin.de/~rasca/ +MASTER_SITE_SUBDIR= apps/sound/mixers + +MAINTAINER= trevor@jpj.net + +WRKSRC= ${WRKDIR}/xmixer + +GNU_CONFIGURE= yes +USE_GMAKE= yes + +MAN1= xmixer.1 + +post-extract: + @${RM} ${WRKSRC}/config.cache + +.include <bsd.port.mk> diff --git a/audio/xmixer/distinfo b/audio/xmixer/distinfo new file mode 100644 index 000000000000..9ce0d1292ff2 --- /dev/null +++ b/audio/xmixer/distinfo @@ -0,0 +1 @@ +MD5 (xmixer-0.9.3.tar.gz) = 61afafb8604bf1bbbd050df990a0e387 diff --git a/audio/xmixer/files/patch-aa b/audio/xmixer/files/patch-aa new file mode 100644 index 000000000000..98a2fd7643bb --- /dev/null +++ b/audio/xmixer/files/patch-aa @@ -0,0 +1,36 @@ +--- Makefile.in.orig Sat Aug 21 15:25:07 1999 ++++ Makefile.in Wed Oct 27 06:02:28 1999 +@@ -33,16 +33,18 @@ + mkfb.pl < XMixer.ad > fallback.h + + gui_gtk.o: gui_gtk.c +- $(CC) $(CFLAGS) $(INCS) `gtk-config --cflags` -c $< ++ $(CC) $(CFLAGS) $(INCS) `gtk12-config --cflags` -c $< + + %.o: %.c + $(CC) $(CFLAGS) $(INCS) -c $< + ++all: gmixer xmixer ++ + xmixer: Xw/libXw.a $(OBJS) + $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + + gmixer: $(G_OBJS) +- $(LD) $(LDFLAGS) -o $@ $(G_OBJS) `gtk-config --libs` ++ $(LD) $(LDFLAGS) -o $@ $(G_OBJS) `gtk12-config --libs` + + Xw/libXw.a: + cd Xw && make libXw.a +@@ -51,9 +53,9 @@ + lynx -dump http://www/~rasca/xmixer/index.html | sed "s%//www/%//home.pages.de/%" > README + + install: $(PROGS) +- install -o bin xmixer $(bindir) +- install xmixer.man $(mandir)/xmixer.1 +- install -o bin gmixer $(bindir) ++ install -c -o bin xmixer $(bindir) ++ install -c xmixer.man $(mandir)/xmixer.1 ++ install -c -o bin gmixer $(bindir) + + install.lib: libmixer.a + install libsmixer.a $(LIBDIR) diff --git a/audio/xmixer/files/patch-ab b/audio/xmixer/files/patch-ab new file mode 100644 index 000000000000..ff41943f5d59 --- /dev/null +++ b/audio/xmixer/files/patch-ab @@ -0,0 +1,28 @@ +--- configure.in.orig Sat Aug 21 05:46:55 1999 ++++ configure.in Tue Oct 26 23:48:36 1999 +@@ -17,21 +17,21 @@ + AC_PATH_X + AC_PATH_XTRA + LDFLAGS="$LDFLAGS -L$x_libraries/" +-CFLAGS="$CFLAGS -I$x_includes/" ++CFLAGS="$CFLAGS -I$x_includes/ -I/usr/X11R6/include/gtk12/" + + AC_CHECK_LIB(Xt, XtVaSetValues) + AC_CHECK_LIB(Xaw, XawPanedGetNumSub) + + __cflags=$CFLAGS +-CFLAGS="$CFLAGS `gtk-config --cflags`" ++CFLAGS="$CFLAGS `gtk12-config --cflags`" + __libs=$LIBS +-LIBS="$LIBS `gtk-config --libs`" ++LIBS="$LIBS `gtk12-config --libs`" + AC_CHECK_LIB(gdk, gdk_init) + AC_CHECK_LIB(gtk, gtk_main) + CFLAGS=$__cflags + LIBS=$__libs + +-__gtk=`gtk-config --version` ++__gtk=`gtk12-config --version` + case "$__gtk" in + 1.2*) + x_progs="xmixer gmixer" diff --git a/audio/xmixer/files/patch-ad b/audio/xmixer/files/patch-ad new file mode 100644 index 000000000000..143f3e07bcc1 --- /dev/null +++ b/audio/xmixer/files/patch-ad @@ -0,0 +1,16 @@ +--- main.c.orig Sat Aug 21 15:26:37 1999 ++++ main.c Tue Oct 26 23:47:37 1999 +@@ -22,7 +22,13 @@ + + #include <stdio.h> + #include <stdlib.h> /* free() */ ++#if HAVE_GETOPT_H + #include <getopt.h> ++#else ++extern int getopt(); ++extern char *optarg; ++extern int optind; ++#endif + #include <limits.h> + #include "gui.h" + #include "mixer.h" diff --git a/audio/xmixer/files/patch-ae b/audio/xmixer/files/patch-ae new file mode 100644 index 000000000000..08af966700bf --- /dev/null +++ b/audio/xmixer/files/patch-ae @@ -0,0 +1,22 @@ +--- mixer.c.orig Sat Aug 21 15:26:41 1999 ++++ mixer.c Tue Oct 26 23:47:37 1999 +@@ -46,7 +46,18 @@ + # include <sys/asound.h> + #endif + #ifdef OSS +-# include <sys/soundcard.h> ++/* "The nice thing about standards..." */ ++#if defined (__linux__) || defined (__bsdi__) ++#include <sys/soundcard.h> ++#else ++#if defined (__FreeBSD__) ++#include <machine/soundcard.h> ++#else ++#if defined (__NetBSD__) || defined (__OpenBSD__) ++#include <soundcard.h> /* OSS emulation */ ++#endif ++#endif ++#endif + #endif + #include "mixer.h" + diff --git a/audio/xmixer/files/patch-af b/audio/xmixer/files/patch-af new file mode 100644 index 000000000000..8587fbcd70d1 --- /dev/null +++ b/audio/xmixer/files/patch-af @@ -0,0 +1,16 @@ +--- xmixer.man.orig Sat Aug 21 13:57:37 1999 ++++ xmixer.man Wed Oct 27 06:07:12 1999 +@@ -4,9 +4,11 @@ + .\" + .TH XMIXER 1 "Aug 1999" "GNU" "Version 0.9" + .SH NAME +-xmixer - Xaw-based soundcard mixer program for Linux/X11 ++ ++.Sh NAME ++.Nm xmixer, gmixer ++.Nd Xaw- and GTK+-based soundcard mixer programs for X11 + .br +-gmixer - Gtk+-based soundcard mixer program for Linux/X11 + .SH SYNOPSIS + .BI "xmixer [-h?qnVD] [-m "<device> "] [-d "<display> "] [-g "<geom> "] + diff --git a/audio/xmixer/pkg-comment b/audio/xmixer/pkg-comment new file mode 100644 index 000000000000..beab6c554b69 --- /dev/null +++ b/audio/xmixer/pkg-comment @@ -0,0 +1 @@ +Audio mixer (gtk and Xlib) for X11R6 diff --git a/audio/xmixer/pkg-descr b/audio/xmixer/pkg-descr new file mode 100644 index 000000000000..72b9eda8030c --- /dev/null +++ b/audio/xmixer/pkg-descr @@ -0,0 +1,19 @@ +This package includes two programs for adjusting sound mixers: xmixer, which +uses the Athena toolkit, and gmixer, based on GTK+. From the README: + + Features: + * For every device which is supported by the soundcard you can + change the volume via a slider. Unsupported devices are not shown. + * Select the input device(s) for recording. + * On startup a configuration file is read which restores device + settings. + * With a menu option you can save the current settings for the next + start up. + * Hide devices which you don't want to see. + * Batch support - just read and evaluate the settings in the + configuration file. + +WWW: http://home.pages.de/~rasca/xmixer/ + +Trevor Johnson +trevor@jpj.net diff --git a/audio/xmixer/pkg-plist b/audio/xmixer/pkg-plist new file mode 100644 index 000000000000..76d537bdd1bc --- /dev/null +++ b/audio/xmixer/pkg-plist @@ -0,0 +1,2 @@ +bin/xmixer +bin/gmixer |