Replies: 2 comments 4 replies
-
Also, here is the required patches to solve some linking issue. diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index d585b834c0..778cd9f21c 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -261,7 +261,7 @@ int main (int argc, char *argv[])
load_custom_fonts(); /* needs to happen before any gtk and pango init calls */
- if (!Glib::thread_supported()) {
+ if (!g_thread_supported()) {
Glib::thread_init();
}
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript
index 0869f99a23..c2dcdf5600 100644
--- a/gtk2_ardour/wscript
+++ b/gtk2_ardour/wscript
@@ -673,7 +673,7 @@ def build(bld):
obj.source += [ 'lv2_plugin_ui.cc' ]
obj.use += [ 'SUIL' ]
- if bld.is_defined('HAVE_FFTW35F') and bld.env['build_target'] != 'mingw':
+ if bld.is_defined('HAVE_FFTW35F'):
bld.env['LIB_FFTW3F'] += ['fftw3f_threads']
if bld.is_defined('NEED_INTL'):
diff --git a/libs/ardour/wscript b/libs/ardour/wscript
index 57494c0c9e..7ccf50ebbe 100644
--- a/libs/ardour/wscript
+++ b/libs/ardour/wscript
@@ -355,6 +355,7 @@ def configure(conf):
if conf.env['WINDOWS_VST_SUPPORT'] == True:
conf.check(compiler='cxx', lib='gdi32', mandatory=True, uselib_store='GDI32')
+ conf.check(compiler='cxx', lib='bcrypt', mandatory=True, uselib_store='BCRYPT')
def build(bld):
# Library version (UNIX style major, minor, micro)
@@ -436,6 +437,7 @@ def build(bld):
obj.includes += [ '../fst' ]
obj.use += [ 'vstwin' ]
obj.uselib += ['GDI32']
+ obj.uselib += ['BCRYPT']
if bld.is_defined('LXVST_SUPPORT'):
obj.source += [ 'lxvst_plugin.cc', 'linux_vst_support.cc' ]
diff --git a/libs/fst/wscript b/libs/fst/wscript
index 725cd9ec15..df174a38ef 100644
--- a/libs/fst/wscript
+++ b/libs/fst/wscript
@@ -12,6 +12,7 @@ def options(opt):
def configure(conf):
if conf.env['WINDOWS_VST_SUPPORT'] == True:
conf.check(compiler='cxx', lib='gdi32', mandatory=True, uselib_store='GDI32')
+ conf.check(compiler='cxx', lib='bcrypt', mandatory=True, uselib_store='BCRYPT')
def build(bld):
if bld.is_defined('VST3_SUPPORT'):
@@ -35,6 +36,7 @@ def build(bld):
obj.uselib += ' OSX'
if bld.env['build_target'] == 'mingw':
obj.uselib += ' GDI32'
+ obj.uselib += ' BCRYPT'
obj.linkflags = ['-mwindows']
if re.search ("bsd", sys.platform) != None:
diff --git a/libs/pbd/pbd.cc b/libs/pbd/pbd.cc
index 67b6b2adb1..b4da3092bc 100644
--- a/libs/pbd/pbd.cc
+++ b/libs/pbd/pbd.cc
@@ -86,7 +86,7 @@ PBD::init ()
}
#endif
- if (!Glib::thread_supported()) {
+ if (!g_thread_supported()) {
Glib::thread_init();
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
oh darn it, you're too fast, I managed to make it work on CI, using msys2 without pkgbuild, actually, it builds and installs, but as soon as you try to do it in the makepkg command, it errors.
this builds however outside of the makepkg |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is the PKGBUILD that I have used to create the mingw-w64-ardour package.
It needs proper path relocation. I can not figure out a proper way to do that. Many source files have DATA_DIR, CONFIG_DIR, LOCALEDIR etc. and those macros are defined to full msys2 installation path. If anyone try to solve the issue feel free to copy the above idea and continue to work.
Beta Was this translation helpful? Give feedback.
All reactions