diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-08-25 02:02:43 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-08-25 02:02:43 +0000 |
commit | 708154eb70bb28eb48317315dff91e1c8c551d45 (patch) | |
tree | e40dc2e01ab06655d503ffbe24e0ad0024701c44 /audio | |
parent | Upgrade to 0.0.6, and change PKGNAME to gide. (diff) |
A version of amp plus qt gui.
PR: ports/7439
Submitted by: Joe Jih-Shian Lu <jslu@dns.ntu.edu.tw>
Notes
Notes:
svn path=/head/; revision=12824
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xamp/Makefile | 31 | ||||
-rw-r--r-- | audio/xamp/distinfo | 1 | ||||
-rw-r--r-- | audio/xamp/files/patch-aa | 14 | ||||
-rw-r--r-- | audio/xamp/files/patch-ab | 23 | ||||
-rw-r--r-- | audio/xamp/files/patch-ac | 11 | ||||
-rw-r--r-- | audio/xamp/files/patch-ae | 12 | ||||
-rw-r--r-- | audio/xamp/pkg-comment | 1 | ||||
-rw-r--r-- | audio/xamp/pkg-descr | 17 | ||||
-rw-r--r-- | audio/xamp/pkg-plist | 1 |
9 files changed, 111 insertions, 0 deletions
diff --git a/audio/xamp/Makefile b/audio/xamp/Makefile new file mode 100644 index 000000000000..41aa994146c2 --- /dev/null +++ b/audio/xamp/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: xamp +# Version required: 0.8-7 +# Date created: 29 July 1998 +# Whom: Joe Jih-Shian Lu <jslu@dns.ntu.edu.tw> +# +# $Id$ +# + +DISTNAME= xamp-0.8-7 +PKGNAME= xamp-0.8.7 +CATEGORIES= audio +MASTER_SITES= http://elan.rulez.org/~xopy/ +EXTRACT_SUFX= .tgz + +MAINTAINER= jslu@dns.ntu.edu.tw + +USE_QT= yes + +WRKSRC= ${WRKDIR}/xamp-0.8/xamp-0.8 +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CXXFLAGS="${CFLAGS}" +USE_GMAKE= yes +USE_X11_PREFIX= yes + +MAN1= xamp.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/audio/xamp/distinfo b/audio/xamp/distinfo new file mode 100644 index 000000000000..97b5f9a9bc6c --- /dev/null +++ b/audio/xamp/distinfo @@ -0,0 +1 @@ +MD5 (xamp-0.8-7.tgz) = 96cb75347f7ae69390f9d30161b25b97 diff --git a/audio/xamp/files/patch-aa b/audio/xamp/files/patch-aa new file mode 100644 index 000000000000..696f55557556 --- /dev/null +++ b/audio/xamp/files/patch-aa @@ -0,0 +1,14 @@ +--- QtAMP.cpp Wed Feb 11 17:53:35 1998 ++++ QtAMP.cpp Wed Jul 29 22:21:08 1998 +@@ -24,10 +24,9 @@ + + #include <sys/types.h> + #include <sys/stat.h> +-#include <sched.h> + #include <sys/socket.h> + #include <sys/ioctl.h> +-#include <sys/soundcard.h> ++#include <machine/soundcard.h> + #include <sys/time.h> + #include <sys/resource.h> + #include <errno.h> diff --git a/audio/xamp/files/patch-ab b/audio/xamp/files/patch-ab new file mode 100644 index 000000000000..cb704afa7b7d --- /dev/null +++ b/audio/xamp/files/patch-ab @@ -0,0 +1,23 @@ +--- configure Mon Oct 27 00:55:34 1997 ++++ configure Wed Jul 29 22:30:53 1998 +@@ -992,9 +992,9 @@ + qt_libdir=NO + for i in $qt_libdirs; + do +- for j in libqt.so libqt.a libqt.sl; ++ for j in $i/libqt.so* $i/libqt.a $i/libqt.sl; + do +- if test -r "$i/$j"; then ++ if test -r "$j"; then + qt_libdir=$i + break 2 + fi +@@ -1711,7 +1711,7 @@ + if test "$OS_TYPE" = "FreeBSD" ; then + OS_TYPE="BSD" + fi +- CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}" ++ CFLAGS="-O2 -m486 -pipe -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}" + ;; + + SunOS) diff --git a/audio/xamp/files/patch-ac b/audio/xamp/files/patch-ac new file mode 100644 index 000000000000..82903a95dad7 --- /dev/null +++ b/audio/xamp/files/patch-ac @@ -0,0 +1,11 @@ +--- plDlg.cpp Wed Feb 11 07:01:12 1998 ++++ plDlg.cpp Wed Jul 29 23:59:01 1998 +@@ -87,6 +87,8 @@ + void plDlg::id3_clicked() + { + strcpy(ime,listEditor->text(listEditor->currentItem())); ++ if(!ime[0]) //to prevent from seg-fault on id3 editor at empty playlist ++ return; + id3Dialog = new id3(); + id3Dialog->show(); + } diff --git a/audio/xamp/files/patch-ae b/audio/xamp/files/patch-ae new file mode 100644 index 000000000000..36009ed32495 --- /dev/null +++ b/audio/xamp/files/patch-ae @@ -0,0 +1,12 @@ +--- Makefile.in.orig Tue Aug 18 22:28:09 1998 ++++ Makefile.in Tue Aug 18 22:31:13 1998 +@@ -14,7 +14,8 @@ + DEFINES = -DOS_@OS_TYPE@ -DARCH_@ARCH_TYPE@ + CFLAGS = @CFLAGS@ ${DEFINES} ${DEBUG} ${BACK} + LDFLAGS = @LDFLAGS@ +-INSTALL= @INSTALL@ ++INSTALL= @INSTALL@ -s ++DESTDIR= ${PREFIX}/bin + + # + # uncomment both of these if you want profiling support diff --git a/audio/xamp/pkg-comment b/audio/xamp/pkg-comment new file mode 100644 index 000000000000..f7062e748444 --- /dev/null +++ b/audio/xamp/pkg-comment @@ -0,0 +1 @@ +a version of amp (stands for `Audio Mpeg Player') plus a Qt GUI diff --git a/audio/xamp/pkg-descr b/audio/xamp/pkg-descr new file mode 100644 index 000000000000..24c94121f140 --- /dev/null +++ b/audio/xamp/pkg-descr @@ -0,0 +1,17 @@ +Xamp is a version of amp with graphical interface provided by +qt toolkit. It comes with the amp-0.7.6 as the core player, as +well as two album management tools: Playlist Editor and ID3 Tag +Editor, and is able to change the background on the fly. + +Although it's not as nifty as x11amp is, hopefully it takes less +CPU time and doesn't require OSS sound driver to run. + +The program pretty much speaks for itself. You may consult the +man page or the document in the "About Xamp" panel for more +detail. + +Have fun! + + +- Joe +jslu@dns.ntu.edu.tw diff --git a/audio/xamp/pkg-plist b/audio/xamp/pkg-plist new file mode 100644 index 000000000000..e19d5200f2e5 --- /dev/null +++ b/audio/xamp/pkg-plist @@ -0,0 +1 @@ +bin/xamp |