diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-03-11 10:55:26 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-03-11 10:55:43 +0100 |
commit | 82d7fff2376298a0eb07fbd238cab4be31f05923 (patch) | |
tree | ca0b1e63b0e338488468d6adb53ad3ff0608f4a2 /media-sound/guitarix/files | |
parent | net-misc/nextcloud-client: stabilize 3.11.1 for amd64 (diff) | |
download | gentoo-82d7fff2376298a0eb07fbd238cab4be31f05923.tar.gz gentoo-82d7fff2376298a0eb07fbd238cab4be31f05923.tar.bz2 gentoo-82d7fff2376298a0eb07fbd238cab4be31f05923.zip |
media-sound/guitarix: bump to 0.45.0
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/guitarix/files')
-rw-r--r-- | media-sound/guitarix/files/guitarix-0.45.0-fix-flto.patch | 11 | ||||
-rw-r--r-- | media-sound/guitarix/files/guitarix-0.45.0-nostrip.patch | 30 |
2 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/guitarix/files/guitarix-0.45.0-fix-flto.patch b/media-sound/guitarix/files/guitarix-0.45.0-fix-flto.patch new file mode 100644 index 000000000000..8f832da0c102 --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.45.0-fix-flto.patch @@ -0,0 +1,11 @@ +--- a/waftools/cpu_optimization.py ++++ b/waftools/cpu_optimization.py +@@ -168,7 +168,7 @@ def configure(conf): + conf.env['OPT'] = False + cpu_model = append_optimization_flags(conf, cxxflags) + +- if '-flto' in cxxflags: ++ if any(x.startswith('-flto') for x in cxxflags): + conf.env['LTO'] = True + cxxflags.append ("-ffat-lto-objects") + diff --git a/media-sound/guitarix/files/guitarix-0.45.0-nostrip.patch b/media-sound/guitarix/files/guitarix-0.45.0-nostrip.patch new file mode 100644 index 000000000000..e26256ae7aa0 --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.45.0-nostrip.patch @@ -0,0 +1,30 @@ +--- a/waftools/lv2.py ++++ b/waftools/lv2.py +@@ -40,7 +40,7 @@ def lv2_add_common(tg, target, install_path, defines=None, linkflags=None, cxxfl + @Configure.conf + def lv2(bld, *k, **kw): + lv2_base, dst = get_lv2_base(bld, kw) +- tg = bld.shlib(features='strip', *k, **kw) ++ tg = bld.shlib(*k, **kw) + cxxflags = [] + if not bld.env['OPT'] and bld.env['SSE2']: + cxxflags = [ "-msse2", "-mfpmath=sse"] +@@ -57,7 +57,7 @@ def lv2_gui(bld, *k, **kw): + if not bld.env['LV2GUI']: + return None + lv2_base, dst = get_lv2_base(bld, kw) +- tg = bld.shlib(features='strip', *k, **kw) ++ tg = bld.shlib(*k, **kw) + lv2_add_common(tg, lv2_base+'_gui', dst, ["LV2_GUI"], bld.env['OS_LV2_CXXFLAGS']) + return tg + +--- a/wscript ++++ b/wscript +@@ -418,7 +418,6 @@ def configure(conf): + conf.env['DESKAPPS_DIR'] = os.path.normpath(os.path.join(conf.env['SHAREDIR'], 'applications')) + conf.env['BIN_NAME'] = APPNAME + if opt.lv2: +- conf.gxload('strip') + conf.gxload('lv2') + conf.env['LADSPA'] = opt.ladspa + conf.env['NEW_LADSPA'] = opt.new_ladspa |