Browse Source

jack2: update to latest git

Waldemar Brodkorb 8 years ago
parent
commit
873d09443e
2 changed files with 25 additions and 2 deletions
  1. 2 2
      package/jack2/Makefile
  2. 23 0
      package/jack2/patches/patch-wscript

+ 2 - 2
package/jack2/Makefile

@@ -4,7 +4,7 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		jack2
-PKG_VERSION:=		2d1d323505585d406a7e64fb932953baefc5945e
+PKG_VERSION:=		31d4ae97f296fe1c954cbb51e50d5e60578260b8
 PKG_RELEASE:=		1
 PKG_GIT:=		hash
 PKG_DESCR:=		audio connection kit (v2)
@@ -24,7 +24,7 @@ BUILD_STYLE:=		manual
 INSTALL_STYLE:=		manual
 
 do-configure:
-	cd $(WRKBUILD) && PATH='$(HOST_PATH)' ./waf configure --alsa --prefix=/usr
+	cd $(WRKBUILD) && PATH='$(HOST_PATH)' ./waf configure --alsa=yes --prefix=/usr
 
 do-build:
 	cd $(WRKBUILD) && PATH='$(HOST_PATH)' ./waf build

+ 23 - 0
package/jack2/patches/patch-wscript

@@ -0,0 +1,23 @@
+--- jack2-31d4ae97f296fe1c954cbb51e50d5e60578260b8.orig/wscript	2017-06-01 19:03:37.000000000 +0200
++++ jack2-31d4ae97f296fe1c954cbb51e50d5e60578260b8/wscript	2017-06-01 19:10:22.063929110 +0200
+@@ -506,8 +506,6 @@ def configure(conf):
+         if conf.env['BUILD_JACKDBUS'] != True:
+             conf.fatal('jackdbus was explicitly requested but cannot be built')
+ 
+-    conf.recurse('example-clients')
+-
+     # test for the availability of ucontext, and how it should be used
+     for t in ("gp_regs", "uc_regs", "mc_gregs", "gregs"):
+         fragment = "#include <ucontext.h>\n"
+@@ -1016,11 +1014,6 @@ def build(bld):
+ 
+     build_drivers(bld)
+ 
+-    bld.recurse('example-clients')
+-    if bld.env['IS_LINUX']:
+-        bld.recurse('man')
+-    if not bld.env['IS_WINDOWS']:
+-        bld.recurse('tests')
+     if bld.env['BUILD_JACKDBUS']:
+         bld.recurse('dbus')
+