Skip to content

PKGBUILD Fix for non-systemd Systems (elogind) #164

@ahloiscreamo

Description

@ahloiscreamo

Hello

The current PKGBUILD fails to build on non-systemd distributions (like Artix Linux) because it has a hardcoded dependency on systemd-libs and sets the meson sd-bus-provider option to libsystemd.

I was able to successfully build the package on my system by changing the PKGBUILD to use elogind and libelogind instead. Would you please consider applying a similar patch? This would make the package build correctly on systemd-free systems out of the box.

Here is a diff of the necessary changes:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@
 	"libliftoff"
 	"libglvnd"
 	"lcms2"
-	"systemd-libs"
+	"elogind"
 	"opengl-driver"
 	"xcb-util-errors"
 	"xcb-util-renderutil"
@@ -62,7 +62,7 @@
 
 build() {
   mkdir -p build
-  arch-meson build scroll -D sd-bus-provider=libsystemd -D werror=false -D b_ndebug=true
+  arch-meson build scroll -D sd-bus-provider=libelogind -D werror=false -D b_ndebug=true
   ninja -C build
 }

Thank you for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions