mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 13:46:16 +00:00
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
--- a/libs/ardouralsautil/wscript
|
|
+++ b/libs/ardouralsautil/wscript
|
|
@@ -16,7 +16,6 @@
|
|
|
|
def configure(conf):
|
|
if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw':
|
|
- autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
|
|
autowaf.check_pkg(conf, 'dbus-1', uselib_store='DBUS', mandatory = False)
|
|
|
|
def build(bld):
|
|
--- a/wscript
|
|
+++ b/wscript
|
|
@@ -1159,8 +1159,6 @@
|
|
okmsg = 'ok',
|
|
errmsg = 'too old\nPlease install boost version 1.56 or higher.')
|
|
|
|
- if re.search ("linux", sys.platform) is not None and Options.options.dist_target != 'mingw':
|
|
- autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
|
|
|
|
if re.search ("linux", sys.platform) is not None and Options.options.dist_target != 'mingw':
|
|
autowaf.check_pkg(conf, 'libpulse', uselib_store='PULSEAUDIO', mandatory=False)
|
|
@@ -1395,8 +1393,6 @@
|
|
if conf.is_defined('HAVE_PULSEAUDIO'):
|
|
backends += ['pulseaudio']
|
|
|
|
- if re.search ("linux", sys.platform) is not None and Options.options.dist_target != 'mingw':
|
|
- backends += ['alsa']
|
|
if sys.platform == 'darwin':
|
|
backends += ['coreaudio']
|
|
if Options.options.dist_target == 'mingw':
|