Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
42a01822
Commit
42a01822
authored
May 22, 2023
by
Naïm Favier
Committed by
Max Kellermann
Jun 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meson: use correct prefix for systemd dirs
See
https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/
Fixes the build in nixpkgs
parent
38f1237d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
NEWS
NEWS
+1
-0
meson.build
systemd/system/meson.build
+4
-1
meson.build
systemd/user/meson.build
+4
-1
No files found.
NEWS
View file @
42a01822
...
@@ -5,6 +5,7 @@ ver 0.23.14 (not yet released)
...
@@ -5,6 +5,7 @@ ver 0.23.14 (not yet released)
* mixer
* mixer
- wasapi: fix problem setting volume
- wasapi: fix problem setting volume
* more libfmt 10 fixes
* more libfmt 10 fixes
* fix auto-detected systemd unit directory
ver 0.23.13 (2023/05/22)
ver 0.23.13 (2023/05/22)
* input
* input
...
...
systemd/system/meson.build
View file @
42a01822
...
@@ -2,7 +2,10 @@ systemd_system_unit_dir = get_option('systemd_system_unit_dir')
...
@@ -2,7 +2,10 @@ systemd_system_unit_dir = get_option('systemd_system_unit_dir')
if systemd_system_unit_dir == ''
if systemd_system_unit_dir == ''
systemd = dependency('systemd', required: false)
systemd = dependency('systemd', required: false)
if systemd.found()
if systemd.found()
systemd_system_unit_dir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir')
systemd_system_unit_dir = systemd.get_variable(
pkgconfig: 'systemdsystemunitdir',
pkgconfig_define: ['prefix', get_option('prefix')],
)
endif
endif
endif
endif
if systemd_system_unit_dir == ''
if systemd_system_unit_dir == ''
...
...
systemd/user/meson.build
View file @
42a01822
...
@@ -2,7 +2,10 @@ systemd_user_unit_dir = get_option('systemd_user_unit_dir')
...
@@ -2,7 +2,10 @@ systemd_user_unit_dir = get_option('systemd_user_unit_dir')
if systemd_user_unit_dir == ''
if systemd_user_unit_dir == ''
systemd = dependency('systemd', required: false)
systemd = dependency('systemd', required: false)
if systemd.found()
if systemd.found()
systemd_user_unit_dir = systemd.get_variable(pkgconfig: 'systemduserunitdir')
systemd_user_unit_dir = systemd.get_variable(
pkgconfig: 'systemduserunitdir',
pkgconfig_define: ['prefix', get_option('prefix')],
)
endif
endif
endif
endif
if systemd_user_unit_dir == ''
if systemd_user_unit_dir == ''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment