mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
A version of amp plus qt gui.
PR: ports/7439 Submitted by: Joe Jih-Shian Lu <jslu@dns.ntu.edu.tw>
This commit is contained in:
parent
fe0dd51d82
commit
708154eb70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12824
31
audio/xamp/Makefile
Normal file
31
audio/xamp/Makefile
Normal file
@ -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>
|
1
audio/xamp/distinfo
Normal file
1
audio/xamp/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xamp-0.8-7.tgz) = 96cb75347f7ae69390f9d30161b25b97
|
14
audio/xamp/files/patch-aa
Normal file
14
audio/xamp/files/patch-aa
Normal file
@ -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>
|
23
audio/xamp/files/patch-ab
Normal file
23
audio/xamp/files/patch-ab
Normal file
@ -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)
|
11
audio/xamp/files/patch-ac
Normal file
11
audio/xamp/files/patch-ac
Normal file
@ -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();
|
||||
}
|
12
audio/xamp/files/patch-ae
Normal file
12
audio/xamp/files/patch-ae
Normal file
@ -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
|
1
audio/xamp/pkg-comment
Normal file
1
audio/xamp/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
a version of amp (stands for `Audio Mpeg Player') plus a Qt GUI
|
17
audio/xamp/pkg-descr
Normal file
17
audio/xamp/pkg-descr
Normal file
@ -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
|
1
audio/xamp/pkg-plist
Normal file
1
audio/xamp/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/xamp
|
Loading…
Reference in New Issue
Block a user