elementary / switchboard-plug-parental-controls

Switchboard Screen Time & Limits Plug
https://elementary.io
GNU General Public License v3.0
11 stars 14 forks source link

build: use define_variable with pkgconfig paths #97

Closed worldofpeace closed 4 years ago

worldofpeace commented 4 years ago

On NixOS all packages are installed into their own immutable prefix. Because of this get_pkgconfig_variable will return a path from within the package's prefix and we cannot write to it. By using define_variable we can replace the respective directory to be from the paths from meson. This should have no affect on elementaryOS.


With https://github.com/elementary/switchboard-plug-parental-controls/commit/4ea2723e6b44e55979b794dfebbca45407a6cf2e fixed installing to what I believe is a deprecated dbus directory (at least for that purpose).