summary refs log tree commit diff
path: root/pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch
diff options
context:
space:
mode:
authorCillian de Roiste <cillian.deroiste@gmail.com>2012-04-07 23:57:30 +0000
committerCillian de Roiste <cillian.deroiste@gmail.com>2012-04-07 23:57:30 +0000
commit285af645e67f6e817afeef4f1122b65d1702077f (patch)
treeb22daf9008d58c03169d1ad39c489863183c6fe0 /pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch
parent7b00953c70ffecde83e4ed96b1a1709abecd5c99 (diff)
downloadnixpkgs-285af645e67f6e817afeef4f1122b65d1702077f.tar
nixpkgs-285af645e67f6e817afeef4f1122b65d1702077f.tar.gz
nixpkgs-285af645e67f6e817afeef4f1122b65d1702077f.tar.bz2
nixpkgs-285af645e67f6e817afeef4f1122b65d1702077f.tar.lz
nixpkgs-285af645e67f6e817afeef4f1122b65d1702077f.tar.xz
nixpkgs-285af645e67f6e817afeef4f1122b65d1702077f.tar.zst
nixpkgs-285af645e67f6e817afeef4f1122b65d1702077f.zip
Adding extra requirements, fixing some of the ffado utilities
svn path=/nixpkgs/trunk/; revision=33664
Diffstat (limited to 'pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch')
-rw-r--r--pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch b/pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch
new file mode 100644
index 00000000000..44c0b991e0a
--- /dev/null
+++ b/pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch
@@ -0,0 +1,25 @@
+--- libffado-r2117/SConstruct	1970-01-01 01:00:01.000000000 +0100
++++ libffado-r2117/SConstruct	2012-04-06 18:26:45.521100690 +0200
+@@ -314,10 +314,8 @@
+ #
+ 
+ # PyQT checks
+-build_mixer = False
+-if conf.CheckForApp( 'which pyuic4' ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'PyQt4' ) and conf.CheckForPyModule( 'dbus.mainloop.qt' ):
+-    env['PYUIC4'] = True
+-    build_mixer = True
++env['PYUIC4'] = True
++build_mixer = True
+ 
+ if conf.CheckForApp( 'xdg-desktop-menu --help' ):
+     env['XDG_TOOLS'] = True
+@@ -348,7 +346,8 @@
+     name2 = pkg.replace("+","").replace(".","").replace("-","").upper()
+     env['%s_FLAGS' % name2] = conf.GetPKGFlags( pkg, pkgs[pkg] )
+ 
+-if not env['DBUS1_FLAGS'] or not env['DBUSC1_FLAGS'] or not conf.CheckForApp('which dbusxx-xml2cpp'):
++
++if False:
+     env['DBUS1_FLAGS'] = ""
+     env['DBUSC1_FLAGS'] = ""
+     print """