mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
ags: patch library installation path
Taken from
2a875d4813/nix/lib-path.patch
.
This commit is contained in:
parent
9178fbdefc
commit
a43dc6bff4
@ -24,6 +24,7 @@ buildNpmPackage rec {
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-9EOpgm3Hg5MO9JIRNBgqmAA2Pf1QxgU1QGo+VVa1WjM=";
|
||||
patches = [ ./lib-path.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
|
26
pkgs/ags/lib-path.patch
Normal file
26
pkgs/ags/lib-path.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 63b3e6d..62fc8b8 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -16,7 +16,7 @@ subproject('gvc',
|
||||
default_options: [
|
||||
'package_name=' + APP,
|
||||
'pkgdatadir=' + get_option('datadir') / APP,
|
||||
- 'pkglibdir=' + get_option('libdir') / APP,
|
||||
+ 'pkglibdir=' + get_option('libdir'),
|
||||
'static=false',
|
||||
'introspection=true',
|
||||
'alsa=false'
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index 44ee0a5..d96615a 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -27,7 +27,7 @@ app_launcher = configure_file(
|
||||
output : APP,
|
||||
configuration: {
|
||||
'GJS': find_program('gjs').full_path(),
|
||||
- 'GVC_GIR': get_option('prefix') / get_option('libdir') / APP,
|
||||
+ 'GVC_GIR': get_option('prefix') / get_option('libdir'),
|
||||
'PACKAGE_NAME': APP,
|
||||
'PACKAGE_VERSION': meson.project_version(),
|
||||
'PREFIX': get_option('prefix'),
|
Loading…
Reference in New Issue
Block a user