diff options
Diffstat (limited to 'modules/freya/packages/patches/overskride-fix-meson.patch')
-rw-r--r-- | modules/freya/packages/patches/overskride-fix-meson.patch | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/modules/freya/packages/patches/overskride-fix-meson.patch b/modules/freya/packages/patches/overskride-fix-meson.patch deleted file mode 100644 index a57e097..0000000 --- a/modules/freya/packages/patches/overskride-fix-meson.patch +++ /dev/null @@ -1,67 +0,0 @@ -From fa401fc5082dbf4dc048e05222c752a14b808a53 Mon Sep 17 00:00:00 2001 -From: Freya Murphy <freya@freyacat.org> -Date: Sat, 10 Aug 2024 15:14:15 -0400 -Subject: [PATCH] fix meson - ---- - src/meson.build | 47 ----------------------------------------------- - 1 file changed, 47 deletions(-) - -diff --git a/src/meson.build b/src/meson.build -index f64920f..11c45a7 100644 ---- a/src/meson.build -+++ b/src/meson.build -@@ -25,50 +25,3 @@ gnome.compile_resources('overskride', - install: true, - install_dir: pkgdatadir, - ) -- --conf = configuration_data() --conf.set_quoted('VERSION', meson.project_version()) --conf.set_quoted('GETTEXT_PACKAGE', 'overskride') --conf.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir'))) --conf.set_quoted('PKGDATADIR', pkgdatadir) -- --configure_file( -- input: 'config.rs.in', -- output: 'config.rs', -- configuration: conf --) -- --# Copy the config.rs output to the source directory. --run_command( -- 'cp', -- join_paths(meson.project_build_root(), 'src', 'config.rs'), -- join_paths(meson.project_source_root(), 'src', 'config.rs'), -- check: true --) -- --cargo_bin = find_program('cargo') --cargo_opt = [ '--manifest-path', meson.project_source_root() / 'Cargo.toml' ] --cargo_opt += [ '--target-dir', meson.project_build_root() / 'src' ] --cargo_env = [ 'CARGO_HOME=' + meson.project_build_root() / 'cargo-home' ] -- --if get_option('buildtype') == 'release' -- cargo_opt += [ '--release' ] -- rust_target = 'release' --else -- rust_target = 'debug' --endif -- --cargo_build = custom_target( -- 'cargo-build', -- build_by_default: true, -- build_always_stale: true, -- output: meson.project_name(), -- console: true, -- install: true, -- install_dir: get_option('bindir'), -- command: [ -- 'env', cargo_env, -- cargo_bin, 'build', -- cargo_opt, '&&', 'cp', 'src' / rust_target / meson.project_name(), '@OUTPUT@', -- ] --) --- -2.45.2 - |