ags: patch library installation path

Taken from
2a875d4813/nix/lib-path.patch.
This commit is contained in:
Gabriel Arazas 2023-08-21 22:04:07 +08:00
parent 9178fbdefc
commit a43dc6bff4
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 27 additions and 0 deletions

View File

@ -24,6 +24,7 @@ buildNpmPackage rec {
};
npmDepsHash = "sha256-9EOpgm3Hg5MO9JIRNBgqmAA2Pf1QxgU1QGo+VVa1WjM=";
patches = [ ./lib-path.patch ];
nativeBuildInputs = [
meson

26
pkgs/ags/lib-path.patch Normal file
View 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'),