aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mixxx/files/patch-src::mixxx.pro
blob: 4ab3570173e305c69870ba94e48ac05ef03986ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
--- 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
 HEADERS += playerportaudio.h
-PORTAUDIO_DIR = ../lib/portaudio-v18
-INCLUDEPATH += $$PORTAUDIO_DIR/pa_common
-HEADERS += $$PORTAUDIO_DIR/pa_common/portaudio.h
 unix {
-SOURCES += $$PORTAUDIO_DIR/pa_common/pa_lib.c $$PORTAUDIO_DIR/pa_common/pa_convert.c
-HEADERS += $$PORTAUDIO_DIR/pa_common/pa_host.h
-unix:!macx:SOURCES += $$PORTAUDIO_DIR/pablio/ringbuffer.c $$PORTAUDIO_DIR/pa_unix_oss/pa_unix.c $$PORTAUDIO_DIR/pa_unix_oss/pa_unix_oss.c
-unix:!macx:HEADERS += $$PORTAUDIO_DIR/pablio/ringbuffer.h $$PORTAUDIO_DIR/pa_unix_oss/pa_unix.h
-unix:!macx:INCLUDEPATH += $$PORTAUDIO_DIR/pa_unix_oss
 macx:SOURCES += $$PORTAUDIO_DIR/pablio/ringbuffer.c $$PORTAUDIO_DIR/pa_mac_core/pa_mac_core.c
 macx:LIBS += -framework CoreAudio -framework AudioToolbox
 macx:INCLUDEPATH += $$PORTAUDIO_DIR/pa_mac_core $$PORTAUDIO_DIR/pablio 
@@ -136,8 +128,6 @@
 # PowerMate
 SOURCES += powermate.cpp
 HEADERS += powermate.h
-unix:!macx:SOURCES += powermatelinux.cpp
-unix:!macx:HEADERS += powermatelinux.h
 win32:SOURCES += powermatewin.cpp
 win32:HEADERS += powermatewin.h
 win32:LIBS += setupapi.lib
@@ -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
-unix:!macx:SOURCES += joysticklinux.cpp
-unix:!macx:HEADERS += joysticklinux.h
 
 # KissFFT
 KISSFFT_DIR = ../lib/kissfft
@@ -163,9 +151,8 @@
 INCLUDEPATH += $$KISSFFT_DIR
 
 # Audio scaling
-INCLUDEPATH += ../lib/libsamplerate
-SOURCES += enginebufferscalesrc.cpp ../lib/libsamplerate/samplerate.c ../lib/libsamplerate/src_linear.c ../lib/libsamplerate/src_sinc.c ../lib/libsamplerate/src_zoh.c
-HEADERS += enginebufferscalesrc.h ../lib/libsamplerate/samplerate.h ../lib/libsamplerate/config.h ../lib/libsamplerate/common.h ../lib/libsamplerate/float_cast.h ../lib/libsamplerate/fastest_coeffs.h ../lib/libsamplerate/high_qual_coeffs.h ../lib/libsamplerate/mid_qual_coeffs.h
+SOURCES += enginebufferscalesrc.cpp
+HEADERS += enginebufferscalesrc.h
 
 # Debug plotting through gplot API
 #unix:DEFINES += __GNUPLOT__
@@ -197,7 +184,6 @@
 
   SETTINGS_FILE = \".mixxx.cfg\"
   TRACK_FILE = \".mixxxtrack.xml\"
-  DEFINES += __LINUX__
 }
 
 unix {
@@ -259,23 +245,12 @@
    keyb.path = $${UNIX_SHARE_PATH}/keyboard
    keyb.files = keyboard/*
 
-    # doc files...
-   readme.path = $${PREFIX}/share/doc/mixxx-1.3
-   readme.files = ../README
-   licence.path = $${PREFIX}/share/doc/mixxx-1.3
-   licence.files = ../LICENSE
-   copying.path = $${PREFIX}/share/doc/mixxx-1.3
-   copying.files = ../COPYING
-   manual.path = $${PREFIX}/share/doc/mixxx-1.3
-   manual.files = ../Mixxx-Manual.pdf
-
-
     # binary...
    TARGET = mixxx
    target.path = $${PREFIX}/bin
 
     # finally adding what we wanna install...
-   INSTALLS += skino skinoc skinos skint midi keyb readme licence copying manual target
+   INSTALLS += skino skinoc skinos skint midi keyb target
 }
 
 
@@ -295,6 +270,10 @@
 # Socket
 SOURCES += mixxxsocketserver.cpp mixxxsocketclient.cpp #mixxxsocketcli.cpp
 HEADERS += mixxxsocketserver.h mixxxsocketclient.h #mixxxsocket.cli.h
+
+# compat_round()
+SOURCES += compat_round.cpp
+HEADERS += compat_round.h
 
 IMAGES += icon.png
 DEFINES += SETTINGS_FILE=$$SETTINGS_FILE TRACK_FILE=$$TRACK_FILE