Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

33 lines
1.1 KiB
Diff

diff --git a/meson.build b/meson.build
index 47a0da6..7aa49f4 100644
--- a/meson.build
+++ b/meson.build
@@ -8,6 +8,9 @@ project(
gettext_name = meson.project_name() + '-indicator'
i18n = import('i18n')
+prefix = get_option('prefix')
+libdir = prefix / get_option('libdir')
+
add_global_arguments(
'-DGETTEXT_PACKAGE="@0@"'.format(gettext_name),
language:'c'
@@ -25,7 +28,7 @@ add_project_arguments(
config_data = configuration_data()
config_data.set_quoted('GETTEXT_PACKAGE', gettext_name)
config_data.set_quoted('LOCALEDIR', get_option('prefix') / get_option('localedir'))
-config_data.set_quoted('AYATANAINDICATORDIR', dependency('indicator3-0.4').get_variable('indicatordir'))
+config_data.set_quoted('AYATANAINDICATORDIR', '@indicator_application@/lib/indicators3/7/')
shared_module(
meson.project_name(),
@@ -44,7 +47,7 @@ shared_module(
dependency('indicator3-0.4')
],
install: true,
- install_dir : dependency('wingpanel').get_variable('indicatorsdir')
+ install_dir : dependency('wingpanel').get_variable('indicatorsdir', pkgconfig_define: ['libdir', libdir])
)
subdir('po')