From 8cebfbd1d7c05451796c425076d48d562f0fbaa2 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Wed, 5 Jul 2023 21:15:23 -0400 Subject: idrk what i changed its been a month :skull: --- modules/ryan-packages/freedesktop.scm | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) (limited to 'modules') diff --git a/modules/ryan-packages/freedesktop.scm b/modules/ryan-packages/freedesktop.scm index 57c3442..e5db0af 100644 --- a/modules/ryan-packages/freedesktop.scm +++ b/modules/ryan-packages/freedesktop.scm @@ -49,30 +49,20 @@ (build-system meson-build-system) (arguments (list - #:configure-flags #~(list "-Dsystemd=disabled"))) - (native-inputs (list cmake pkg-config wayland hyprland-protocols)) - (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa `(,util-linux "lib"))) + #:tests? #f + #:configure-flags #~(list "-Dsystemd=disabled") + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'chdir-and-build + (lambda _ (chdir "../source/hyprland-share-picker/") + (invoke "make"))) + (add-after 'install 'install-picker + (lambda _ (install-file "hyprland-share-picker" (string-append #$output "/bin"))))))) + (native-inputs (list cmake pkg-config)) + (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa qtwayland `(,util-linux "lib"))) (home-page "") (synopsis "test") (description "test") (license license:bsd-3))) -(define-public hyprland-share-picker - (package - (inherit xdg-desktop-portal-hyprland) - (name "hyprland-share-picker") - (build-system qt-build-system) - (inputs (modify-inputs (package-inputs xdg-desktop-portal-hyprland) - (append qtwayland-5))) - (native-inputs (modify-inputs (package-native-inputs xdg-desktop-portal-hyprland) - (append qtwayland-5))) - (arguments - (list - #:tests? #f - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'chdir - (lambda _ (chdir "hyprland-share-picker")))))) - (synopsis "share picker"))) - -hyprland-share-picker +xdg-desktop-portal-hyprland -- cgit v1.2.3