diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-10-13 14:26:41 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-10-13 14:26:41 +0000 |
commit | de8dbbfa7ffbc68b990662e15f68cdd7872b188d (patch) | |
tree | bdd06734334b3da9466add76e4eb2106485f0640 | |
parent | 4a581ee73fee6aab41fde962d9c9ea72626dbecf (diff) | |
download | ports-de8dbbfa7ffbc68b990662e15f68cdd7872b188d.tar.gz ports-de8dbbfa7ffbc68b990662e15f68cdd7872b188d.zip |
Notes
-rw-r--r-- | audio/mixxx/Makefile | 21 | ||||
-rw-r--r-- | audio/mixxx/distinfo | 4 | ||||
-rw-r--r-- | audio/mixxx/files/patch-src::check.qbas | 11 | ||||
-rw-r--r-- | audio/mixxx/files/patch-src::configure | 20 | ||||
-rw-r--r-- | audio/mixxx/files/patch-src::mixxx.cpp | 40 | ||||
-rw-r--r-- | audio/mixxx/files/patch-src::mixxx.h | 10 | ||||
-rw-r--r-- | audio/mixxx/files/patch-src::mixxx.pro | 24 | ||||
-rw-r--r-- | audio/mixxx/pkg-plist | 2 |
8 files changed, 31 insertions, 101 deletions
diff --git a/audio/mixxx/Makefile b/audio/mixxx/Makefile index e3ce471afb5e..3259edb49e75 100644 --- a/audio/mixxx/Makefile +++ b/audio/mixxx/Makefile @@ -6,15 +6,16 @@ # PORTNAME= mixxx -PORTVERSION= 1.3.2 +PORTVERSION= 1.4 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} +DISTFILES= ${PORTNAME}-${PORTVERSION}a${EXTRACT_SUFX} MAINTAINER= jylefort@brutele.be COMMENT= A DJ mixing application -BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 \ +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ qmake:${PORTSDIR}/devel/qmake LIB_DEPENDS= samplerate:${PORTSDIR}/audio/libsamplerate \ portaudio:${PORTSDIR}/audio/portaudio \ @@ -32,24 +33,20 @@ CONFIGURE_WRKSRC= ${WRKSRC}/src BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${WRKSRC}/src -CONFIGURE_ENV= QTDIR="${X11BASE}" \ - QMAKESPEC="freebsd-g++" \ - NOPORTDOCS="${NOPORTDOCS}" +CONFIGURE_ENV= QTDIR="${X11BASE}" QMAKESPEC="freebsd-g++" MAKE_ENV= QTDIR="${X11BASE}" .include <bsd.port.pre.mk> CONFIGURE_ARGS= --prefix=${PREFIX} -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - post-patch: @${REINPLACE_CMD} \ - -e 's|@LOCALBASE@|${LOCALBASE}|g' \ - -e 's|@X11BASE@|${X11BASE}|g' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ + -e 's|/bin/bash|${LOCALBASE}&| ; \ + s|$$QTDIR/bin/qmake|${LOCALBASE}/bin/qmake|g' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} \ + -e 's|system( ld|& -shared -L${LOCALBASE}/lib -L${X11BASE}/lib|' \ ${CONFIGURE_WRKSRC}/check.qbas .if !defined(NOPORTDOCS) diff --git a/audio/mixxx/distinfo b/audio/mixxx/distinfo index a09ea74c4865..d3af0fecb0e8 100644 --- a/audio/mixxx/distinfo +++ b/audio/mixxx/distinfo @@ -1,2 +1,2 @@ -MD5 (mixxx-1.3.2.tar.gz) = 0562b94bbb0ddb53854719f0a0b319fd -SIZE (mixxx-1.3.2.tar.gz) = 3752254 +MD5 (mixxx-1.4a.tar.gz) = b5b00f17e1a107d307162b317722645c +SIZE (mixxx-1.4a.tar.gz) = 3842082 diff --git a/audio/mixxx/files/patch-src::check.qbas b/audio/mixxx/files/patch-src::check.qbas deleted file mode 100644 index cfb9b9a1c289..000000000000 --- a/audio/mixxx/files/patch-src::check.qbas +++ /dev/null @@ -1,11 +0,0 @@ ---- src/check.qbas.orig Fri Jun 25 22:37:11 2004 -+++ src/check.qbas Fri Jun 25 22:42:36 2004 -@@ -169,7 +169,7 @@ - # At first ----> check using LD - # -------------------------------------- - !isEmpty( LINK_LIBS ) { -- system( ld $${LINK_LIBS} 2>/dev/null ) { -+ system( ld -shared -L@LOCALBASE@/lib -L@X11BASE@/lib $${LINK_LIBS} 2>/dev/null ) { - FOUND = true - } - } diff --git a/audio/mixxx/files/patch-src::configure b/audio/mixxx/files/patch-src::configure deleted file mode 100644 index c687089eb843..000000000000 --- a/audio/mixxx/files/patch-src::configure +++ /dev/null @@ -1,20 +0,0 @@ ---- src/configure.orig Fri Jun 25 22:52:48 2004 -+++ src/configure Fri Jun 25 22:53:23 2004 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!@LOCALBASE@/bin/bash - - #************************************************************************ - # QBAS -@@ -369,9 +369,9 @@ - - ######################### qmake, uic, moc checking - # --if test -e $QTDIR/bin/qmake ; -+if test -e @LOCALBASE@/bin/qmake ; - then -- QT_QMAKE_EXEC="$QTDIR/bin/qmake" ; -+ QT_QMAKE_EXEC="@LOCALBASE@/bin/qmake" ; - RES="yes" - else - find /usr -name qmake 1> temp ; diff --git a/audio/mixxx/files/patch-src::mixxx.cpp b/audio/mixxx/files/patch-src::mixxx.cpp index af8e3f277282..3b3d6b31823c 100644 --- a/audio/mixxx/files/patch-src::mixxx.cpp +++ b/audio/mixxx/files/patch-src::mixxx.cpp @@ -1,26 +1,6 @@ ---- src/mixxx.cpp.orig Fri Jun 25 20:52:15 2004 -+++ src/mixxx.cpp Fri Jun 25 21:17:32 2004 -@@ -29,6 +29,7 @@ - #include <qlabel.h> - #include <qdir.h> - #include <qptrlist.h> -+#include <qtimer.h> - - #include "wknob.h" - #include "wslider.h" -@@ -85,6 +86,11 @@ - - #include "playerproxy.h" - -+void MixxxApp::Timeout() -+{ -+ // nop -+} -+ - MixxxApp::MixxxApp(QApplication *a, QStringList files) - { - app = a; -@@ -113,7 +119,7 @@ +--- src/mixxx.cpp.orig Tue Oct 12 22:08:14 2004 ++++ src/mixxx.cpp Tue Oct 12 22:08:35 2004 +@@ -111,7 +111,7 @@ // On Windows and Mac it is always (and only) app dir. // QString qConfigPath; @@ -29,17 +9,3 @@ // On Linux, check if the path is stored in the configuration database. if (config->getValueString(ConfigKey("[Config]","Path")).length()>0 && QDir(config->getValueString(ConfigKey("[Config]","Path"))).exists()) qConfigPath = config->getValueString(ConfigKey("[Config]","Path")); -@@ -381,7 +387,12 @@ - #ifndef __WIN__ - new MixxxSocketServer(m_pTrack); - #endif -- -+ -+ // Keep the sound alive -+ QTimer *timer = new QTimer(this); -+ connect(timer, SIGNAL(timeout()), SLOT(Timeout())); -+ timer->start(100); -+ - // Call inits to invoke all other construction parts - initActions(); - initMenuBar(); diff --git a/audio/mixxx/files/patch-src::mixxx.h b/audio/mixxx/files/patch-src::mixxx.h deleted file mode 100644 index 484fa1bb2d03..000000000000 --- a/audio/mixxx/files/patch-src::mixxx.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/mixxx.h.orig Fri Jun 25 21:13:01 2004 -+++ src/mixxx.h Fri Jun 25 21:13:29 2004 -@@ -96,6 +96,7 @@ - /** Change of file to play */ - //void slotChangePlay(int,int,int, const QPoint &); - private: -+ void Timeout(); - /** view is the main widget which represents your working area. The View - * class should handle all events of the view widget. It is kept empty so - * you can create your view according to your application's needs by diff --git a/audio/mixxx/files/patch-src::mixxx.pro b/audio/mixxx/files/patch-src::mixxx.pro index 20d0255c9934..4ab3570173e3 100644 --- a/audio/mixxx/files/patch-src::mixxx.pro +++ b/audio/mixxx/files/patch-src::mixxx.pro @@ -1,5 +1,5 @@ ---- src/mixxx.pro.orig Tue Jun 1 07:13:51 2004 -+++ src/mixxx.pro Fri Jun 25 23:20:23 2004 +--- src/mixxx.pro.orig Mon Oct 11 11:58:09 2004 ++++ src/mixxx.pro Tue Oct 12 21:50:29 2004 @@ -31,15 +31,7 @@ DEFINES += __PORTAUDIO__ SOURCES += playerportaudio.cpp @@ -25,7 +25,17 @@ win32:SOURCES += powermatewin.cpp win32:HEADERS += powermatewin.h win32:LIBS += setupapi.lib -@@ -145,8 +135,6 @@ +@@ -145,16 +135,14 @@ + # Mouse + SOURCES += mouse.cpp + HEADERS += mouse.h +-unix:!macx:SOURCES += mouselinux.cpp +-unix:!macx:HEADERS += mouselinux.h ++#unix:!macx:SOURCES += mouselinux.cpp ++#unix:!macx:HEADERS += mouselinux.h + #win32:SOURCES += mousewin.cpp + #win32:HEADERS += mousewin.h + # Joystick SOURCES += joystick.cpp HEADERS += joystick.h @@ -34,7 +44,7 @@ # KissFFT KISSFFT_DIR = ../lib/kissfft -@@ -155,9 +143,8 @@ +@@ -163,9 +151,8 @@ INCLUDEPATH += $$KISSFFT_DIR # Audio scaling @@ -46,7 +56,7 @@ # Debug plotting through gplot API #unix:DEFINES += __GNUPLOT__ -@@ -189,7 +176,6 @@ +@@ -197,7 +184,6 @@ SETTINGS_FILE = \".mixxx.cfg\" TRACK_FILE = \".mixxxtrack.xml\" @@ -54,7 +64,7 @@ } unix { -@@ -251,23 +237,12 @@ +@@ -259,23 +245,12 @@ keyb.path = $${UNIX_SHARE_PATH}/keyboard keyb.files = keyboard/* @@ -79,7 +89,7 @@ } -@@ -287,6 +262,10 @@ +@@ -295,6 +270,10 @@ # Socket SOURCES += mixxxsocketserver.cpp mixxxsocketclient.cpp #mixxxsocketcli.cpp HEADERS += mixxxsocketserver.h mixxxsocketclient.h #mixxxsocket.cli.h diff --git a/audio/mixxx/pkg-plist b/audio/mixxx/pkg-plist index 798fbaad0b73..8bb714d5d18a 100644 --- a/audio/mixxx/pkg-plist +++ b/audio/mixxx/pkg-plist @@ -6,8 +6,6 @@ share/mixxx/midi/Midi-Keyboard.midi.cfg share/mixxx/midi/MidiTech-MidiControl.midi.cfg share/mixxx/midi/Mixman DM2 for Mixxx.dm2 share/mixxx/midi/Mixman DM2.midi.cfg -share/mixxx/midi/PowerMate.midi.cfg -share/mixxx/midi/Turntable.midi.cfg share/mixxx/midi/format.txt share/mixxx/skins/outline/back-off-Ch1.png share/mixxx/skins/outline/back-off-Ch2.png |