Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 257798 Details for
Bug 310821
New package: media-sound/mixxx
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
media-sound/files/mixxx-1.9.0-libsoundtouch.patch
mixxx-1.9.0-libsoundtouch.patch (text/plain), 3.26 KB, created by
Alex Barker
on 2010-12-22 22:03:23 UTC
(
hide
)
Description:
media-sound/files/mixxx-1.9.0-libsoundtouch.patch
Filename:
MIME Type:
Creator:
Alex Barker
Created:
2010-12-22 22:03:23 UTC
Size:
3.26 KB
patch
obsolete
>--- build/depends.py.orig 2010-12-22 11:13:22.000000000 -0800 >+++ build/depends.py 2010-12-22 11:33:29.000000000 -0800 >@@ -234,60 +234,16 @@ > build.env.Append(CPPPATH="#lib/replaygain") > > class SoundTouch(Dependence): >- SOUNDTOUCH_PATH = 'soundtouch-1.4.1' > > def sources(self, build): >- sources = ['engine/enginebufferscalest.cpp', >- '#lib/%s/SoundTouch.cpp' % self.SOUNDTOUCH_PATH, >- '#lib/%s/TDStretch.cpp' % self.SOUNDTOUCH_PATH, >- '#lib/%s/RateTransposer.cpp' % self.SOUNDTOUCH_PATH, >- '#lib/%s/AAFilter.cpp' % self.SOUNDTOUCH_PATH, >- '#lib/%s/FIFOSampleBuffer.cpp' % self.SOUNDTOUCH_PATH, >- '#lib/%s/FIRFilter.cpp' % self.SOUNDTOUCH_PATH, >- '#lib/%s/PeakFinder.cpp' % self.SOUNDTOUCH_PATH, >- '#lib/%s/BPMDetect.cpp' % self.SOUNDTOUCH_PATH] >- if build.platform_is_windows and build.toolchain_is_msvs: >- if build.machine_is_64bit: >- sources.append( >- '#lib/%s/cpu_detect_x64_win.cpp' % self.SOUNDTOUCH_PATH) >- elif build.machine == 'x86': >- sources.append( >- '#lib/%s/cpu_detect_x86_win.cpp' % self.SOUNDTOUCH_PATH) >- else: >- raise Exception("Unhandled CPU configuration for SoundTouch") >- elif build.toolchain_is_gnu: >- if build.machine == 'x86_64': >- sources.append( >- '#lib/%s/cpu_detect_x64_gcc.cpp' % self.SOUNDTOUCH_PATH) >- else: >- sources.append( >- '#lib/%s/cpu_detect_x86_gcc.cpp' % self.SOUNDTOUCH_PATH) >- else: >- raise Exception("Unhandled CPU configuration for SoundTouch") >- >- # TODO(XXX) when we figure out a better way to represent features, fix >- # this. >- optimize = int(util.get_flags(build.env, 'optimize', 1)) >- if build.machine_is_64bit or \ >- (build.toolchain_is_msvs and optimize > 1) or \ >- (build.toolchain_is_gnu and optimize > 2): >- sources.extend( >- ['#lib/%s/mmx_optimized.cpp' % self.SOUNDTOUCH_PATH, >- '#lib/%s/sse_optimized.cpp' % self.SOUNDTOUCH_PATH, >- ]) >- if build.toolchain_is_msvs and not build.machine_is_64bit: >- sources.append('#lib/%s/3dnow_win.cpp' % self.SOUNDTOUCH_PATH) >- else: >- # TODO(XXX) the docs refer to a 3dnow_gcc, but we don't seem to have >- # it. >- pass >- >+ sources = ['engine/enginebufferscalest.cpp'] > return sources > > def configure(self, build, conf): >- if build.platform_is_windows: >- build.env.Append(CPPDEFINES = 'WIN%s' % build.bitwidth) >- build.env.Append(CPPPATH=['#lib/%s' % self.SOUNDTOUCH_PATH]) >+ if not conf.CheckLib(['SoundTouch','libSoundTouch']): >+ raise Exception('Did not find libSoundTouch.a, libSoundTouch.lib, or the libSoundTouch development header files - exiting!') >+ build.env.Append(CPPPATH=[SCons.ARGUMENTS.get('prefix', '/usr/local') + '/include/soundtouch']) >+ build.env.Append(LIBS='SoundTouch') > > # TODO(XXX) when we figure out a better way to represent features, fix > # this.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 310821
:
226007
|
226199
|
226205
|
227661
|
239449
|
239603
|
243641
|
246729
|
248423
|
248425
|
248440
|
249661
|
250641
|
251185
|
251187
|
251209
|
253019
|
254029
|
254031
|
254033
|
254039
|
254041
|
254051
|
254531
|
254677
|
256517
|
256519
|
256520
|
257797
|
257798
|
257801
|
263367
|
283325
|
284457
|
285909
|
285911
|
286399
|
286401
|
286501
|
287921
|
291857
|
305427