aboutsummaryrefslogtreecommitdiff
path: root/audio/kmpg
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-06-12 08:06:02 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-06-12 08:06:02 +0000
commit115f3155a89d668b0129e02ce67776c369eaab92 (patch)
treec5511099063c69fd4ae6ec068dabcdbc00f42006 /audio/kmpg
parent64e630d83b270be14e7925de47e1c6983b6d8028 (diff)
downloadports-115f3155a89d668b0129e02ce67776c369eaab92.tar.gz
ports-115f3155a89d668b0129e02ce67776c369eaab92.zip
Notes
Diffstat (limited to 'audio/kmpg')
-rw-r--r--audio/kmpg/Makefile25
-rw-r--r--audio/kmpg/distinfo1
-rw-r--r--audio/kmpg/files/patch-aa38
-rw-r--r--audio/kmpg/files/patch-ab22
-rw-r--r--audio/kmpg/files/patch-ac11
-rw-r--r--audio/kmpg/files/patch-af12
-rw-r--r--audio/kmpg/files/patch-ag15
-rw-r--r--audio/kmpg/files/patch-ah15
-rw-r--r--audio/kmpg/pkg-comment1
-rw-r--r--audio/kmpg/pkg-descr15
-rw-r--r--audio/kmpg/pkg-plist53
11 files changed, 208 insertions, 0 deletions
diff --git a/audio/kmpg/Makefile b/audio/kmpg/Makefile
new file mode 100644
index 000000000000..dd827f311b49
--- /dev/null
+++ b/audio/kmpg/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: kmpg
+# Version required: Beta4
+# Date created: 23 May 1998
+# Whom: Hans Petter Bieker <hanspb@persbraten.vgs.no>
+#
+# $Id$
+#
+
+DISTNAME= kmpg-0.3.3
+CATEGORIES= audio x11 kde
+MASTER_SITES= $(MASTER_SITE_KDE)
+MASTER_SITE_SUBDIR= /unstable/apps/multimedia/sound
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= hanspb@persbraten.vgs.no
+
+BUILD_DEPENDS= moc:${PORTSDIR}/x11/qt
+LIB_DEPENDS= qt\\.1\\.3[1-9]:${PORTSDIR}/x11/qt \
+ kdecore\\.0\\.9[0-9]:${PORTSDIR}/x11/kdelibs \
+ kdeui\\.0\\.9[1-9]:${PORTSDIR}/x11/kdelibs
+
+USE_GMAKE= yes
+MAKE_ENV= KDEDIR=${PREFIX}
+
+.include <bsd.port.mk>
diff --git a/audio/kmpg/distinfo b/audio/kmpg/distinfo
new file mode 100644
index 000000000000..2c49d7690219
--- /dev/null
+++ b/audio/kmpg/distinfo
@@ -0,0 +1 @@
+MD5 (kmpg-0.3.3.tgz) = dbfd6987d506331f410fd5df62a6b3f5
diff --git a/audio/kmpg/files/patch-aa b/audio/kmpg/files/patch-aa
new file mode 100644
index 000000000000..c6d808bd41bb
--- /dev/null
+++ b/audio/kmpg/files/patch-aa
@@ -0,0 +1,38 @@
+--- Makefile.orig Wed May 6 23:35:22 1998
++++ Makefile Sat May 23 17:02:25 1998
+@@ -1,18 +1,18 @@
+ ####### Kmpg Makefile
+
+-INCDIR = -I$(QTDIR)/include -I$(KDEDIR)/include
++INCDIR = -I$(X11BASE)/include/X11/qt -I$(X11BASE)/include -I$(LOCALBASE)/include
+ CFLAGS = -O6
+-LFLAGS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -L$(KDEDIR)/lib -lXext -lX11 -lkdecore -lkdeui -lm -lg++
++LFLAGS = -L$(X11BASE)/lib -L$(LOCALBASE)/lib -lqt -lXext -lX11 -lkdecore -lkdeui -lm -lg++ -lcompat
+ CC = g++
+-MOC = $(QTDIR)/bin/moc
++MOC = $(X11BASE)/bin/moc
+
+ ############# Install ##############
+
+-INSTALL = install -m 0755 -s
+-INSTALL_SHELL = install -m 0755
+-INSTALL_DATA = install -m 0644
+-INSTALL_DIR = install -d -m 0755
+-INSTALL_DIR_PRIVATE = install -d -m 0700
++INSTALL = install -c -m 0555 -s -o bin -g bin
++INSTALL_SHELL = install -c -m 0555 -o bin -g bin
++INSTALL_DATA = install -c -m 0444 -o bin -g bin
++INSTALL_DIR = install -c -d -m 0755 -o root -g wheel
++INSTALL_DIR_PRIVATE = install -c -d -m 0700 -o root -g wheel
+
+ prefix = $(KDEDIR)
+ BINDIR = $(prefix)/bin
+@@ -52,7 +52,7 @@
+ $(CC) $(OBJECTS) $(OBJMETA) -o $(TARGET) $(LFLAGS)
+
+ library:
+- cd lib; make linux; cd ..
++ cd lib; make freebsd; cd ..
+
+ depend:
+ @makedepend $(INCDIR) $(SOURCES) 2> /dev/null
diff --git a/audio/kmpg/files/patch-ab b/audio/kmpg/files/patch-ab
new file mode 100644
index 000000000000..e9ddd1c86c23
--- /dev/null
+++ b/audio/kmpg/files/patch-ab
@@ -0,0 +1,22 @@
+--- lib/mpg123.c.orig Thu May 14 18:26:41 1998
++++ lib/mpg123.c Thu May 14 18:27:28 1998
+@@ -1176,7 +1176,7 @@
+ /* return 1; */
+ }
+
+- while (frameNum < frame) // seek forward
++ while (frameNum < frame) /* seek forward */
+ {
+ if(fr.lay == 3)
+ set_pointer(512);
+@@ -1263,8 +1263,8 @@
+
+ MPEGclose();
+ usebuffer = _prefs->buffersize;
+- MPEGplayfile(name); // this calls MPEGinit();
+- MPEGseek( pos );// find old frame and keep on playing
++ MPEGplayfile(name); /* this calls MPEGinit(); */
++ MPEGseek( pos );/* find old frame and keep on playing */
+ }
+ }
+
diff --git a/audio/kmpg/files/patch-ac b/audio/kmpg/files/patch-ac
new file mode 100644
index 000000000000..f2207f6355e4
--- /dev/null
+++ b/audio/kmpg/files/patch-ac
@@ -0,0 +1,11 @@
+--- lib/Makefile.orig Thu May 14 18:29:32 1998
++++ lib/Makefile Thu May 14 18:29:48 1998
+@@ -208,7 +208,7 @@
+ mpg123.a: player.o mpg123_2.o common.o $(OBJECTS) decode_2to1.o decode_4to1.o \
+ tabinit.o audio.o layer1.o layer2.o layer3.o buffer.o \
+ getlopt.o httpget.o xfermem.o equalizer.o Makefile
+- ar -rs mpg123.a player.o mpg123_2.o tabinit.o common.o layer1.o \
++ ar -r mpg123.a player.o mpg123_2.o tabinit.o common.o layer1.o \
+ layer2.o layer3.o audio.o buffer.o decode_2to1.o equalizer.o \
+ decode_4to1.o getlopt.o httpget.o xfermem.o $(OBJECTS)
+
diff --git a/audio/kmpg/files/patch-af b/audio/kmpg/files/patch-af
new file mode 100644
index 000000000000..457f0dc690a7
--- /dev/null
+++ b/audio/kmpg/files/patch-af
@@ -0,0 +1,12 @@
+--- khelp.h.orig Thu May 14 19:18:49 1998
++++ khelp.h Thu May 14 19:19:35 1998
+@@ -11,7 +11,9 @@
+ #include <sys/types.h>
+ #include <sys/ipc.h>
+ #include <sys/msg.h>
++#include <sys/msgbuf.h>
+
++long mtype;
+
+ class KHelpMsg : protected msgbuf
+ {
diff --git a/audio/kmpg/files/patch-ag b/audio/kmpg/files/patch-ag
new file mode 100644
index 000000000000..bbfde2a7a915
--- /dev/null
+++ b/audio/kmpg/files/patch-ag
@@ -0,0 +1,15 @@
+--- kmpg.h.orig Thu May 14 19:20:37 1998
++++ kmpg.h Thu May 14 19:20:55 1998
+@@ -24,10 +24,10 @@
+ #include <signal.h>
+ #include <sys/utsname.h>
+ #include <unistd.h>
+-#if defined(_FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #else
+ #include <mntent.h>
+-#include <sys/soundcard.h>
++#include <machine/soundcard.h>
+ #endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
diff --git a/audio/kmpg/files/patch-ah b/audio/kmpg/files/patch-ah
new file mode 100644
index 000000000000..2a9fce07f480
--- /dev/null
+++ b/audio/kmpg/files/patch-ah
@@ -0,0 +1,15 @@
+--- playlist.h.orig Thu May 14 19:22:14 1998
++++ playlist.h Thu May 14 19:22:24 1998
+@@ -10,10 +10,10 @@
+ #include <signal.h>
+ #include <sys/utsname.h>
+ #include <unistd.h>
+-#if defined(_FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #else
+ #include <mntent.h>
+-#include <sys/soundcard.h>
++#include <machine/soundcard.h>
+ #endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
diff --git a/audio/kmpg/pkg-comment b/audio/kmpg/pkg-comment
new file mode 100644
index 000000000000..ec6d90ab14fc
--- /dev/null
+++ b/audio/kmpg/pkg-comment
@@ -0,0 +1 @@
+KDE Mpeg1/2 audio stream player, handles layer I, II, and III streams
diff --git a/audio/kmpg/pkg-descr b/audio/kmpg/pkg-descr
new file mode 100644
index 000000000000..c38149f3b224
--- /dev/null
+++ b/audio/kmpg/pkg-descr
@@ -0,0 +1,15 @@
+Kmpg is an MPEG audio player for the KDE project. The player uses mpg123 by
+Michael Hipp as a decoding engine (note: do not contact him about bugs/
+features in kmpg, rather contact Martin Muller).
+
+Kmpg has the following advanced features:
+* Supports MPEG 1.0/2.0, layers 1,2 and 3.
+* Simple to use interface.
+* Drag and drop support using the KDE dnd standard.
+* Support for multiple platforms: Linux, FreeBSD, Solaris 2.x, SunOS 4.x
+ (tested 4.1.4), HP/UX 7xx, SGI IRIX, DEC Unix (tested 3.2 and 4.0), OSF/1,
+ DEC Ultrix (tested 4.4) and IBM AIX (tested 4.1).
+* Playlist editor.
+* Advanced configuration dialog allowing the user to tune the behaviour of
+ the decoder.
+* All configuration changes can be applied while playing a stream.
diff --git a/audio/kmpg/pkg-plist b/audio/kmpg/pkg-plist
new file mode 100644
index 000000000000..9ff594040497
--- /dev/null
+++ b/audio/kmpg/pkg-plist
@@ -0,0 +1,53 @@
+bin/kmpg
+share/doc/HTML/en/kmpg/interface.gif
+share/doc/HTML/en/kmpg/kmpg-1.html
+share/doc/HTML/en/kmpg/kmpg-2.html
+share/doc/HTML/en/kmpg/kmpg-3.html
+share/doc/HTML/en/kmpg/kmpg-4.html
+share/doc/HTML/en/kmpg/kmpg-5.html
+share/doc/HTML/en/kmpg/kmpg-6.html
+share/doc/HTML/en/kmpg/kmpg.html
+share/doc/HTML/en/kmpg/playlist.gif
+share/doc/HTML/en/kmpg/prefs-1.gif
+share/doc/HTML/en/kmpg/prefs-2.gif
+share/doc/HTML/en/kmpg/prefs-3.gif
+share/apps/kmpg/pics/digit_0.xpm
+share/apps/kmpg/pics/digit_1.xpm
+share/apps/kmpg/pics/digit_2.xpm
+share/apps/kmpg/pics/digit_3.xpm
+share/apps/kmpg/pics/digit_4.xpm
+share/apps/kmpg/pics/digit_5.xpm
+share/apps/kmpg/pics/digit_6.xpm
+share/apps/kmpg/pics/digit_7.xpm
+share/apps/kmpg/pics/digit_8.xpm
+share/apps/kmpg/pics/digit_9.xpm
+share/apps/kmpg/pics/digit_blank.xpm
+share/apps/kmpg/pics/digit_pause.xpm
+share/apps/kmpg/pics/digit_play.xpm
+share/apps/kmpg/pics/down.xpm
+share/apps/kmpg/pics/ff.xpm
+share/apps/kmpg/pics/next.xpm
+share/apps/kmpg/pics/next_disabled.xpm
+share/apps/kmpg/pics/panel.xpm
+share/apps/kmpg/pics/pause_off.xpm
+share/apps/kmpg/pics/pause_on.xpm
+share/apps/kmpg/pics/play_off.xpm
+share/apps/kmpg/pics/play_on.xpm
+share/apps/kmpg/pics/prev.xpm
+share/apps/kmpg/pics/prev_disabled.xpm
+share/apps/kmpg/pics/rew.xpm
+share/apps/kmpg/pics/stop_off.xpm
+share/apps/kmpg/pics/stop_on.xpm
+share/apps/kmpg/pics/up.xpm
+share/icons/mini/kmpg.xpm
+share/icons/kmpg.xpm
+share/icons/mpeg_layer1.xpm
+share/icons/mpeg_layer2.xpm
+share/icons/mpeg_layer3.xpm
+share/mimelnk/audio/x-mp3.kdelnk
+share/mimelnk/audio/x-mp1.kdelnk
+share/mimelnk/audio/x-mp2.kdelnk
+share/mimelnk/audio/x-playlist.kdelnk
+share/applnk/Multimedia/kmpg.kdelnk
+@dirrm share/doc/HTML/en/kmpg
+@dirrm share/apps/kmpg/pics