diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-07-05 21:15:23 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-07-05 21:15:23 -0400 |
| commit | 8cebfbd1d7c05451796c425076d48d562f0fbaa2 (patch) | |
| tree | e3028999830c6abc318aad8019b9d68b315294de /modules | |
| parent | bbdc3d8697ff3025d655de5174e7b9f18926263a (diff) | |
idrk what i changed its been a month :skull:
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/ryan-packages/freedesktop.scm | 34 |
1 files changed, 12 insertions, 22 deletions
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 @@ | |||
| 49 | (build-system meson-build-system) | 49 | (build-system meson-build-system) |
| 50 | (arguments | 50 | (arguments |
| 51 | (list | 51 | (list |
| 52 | #:configure-flags #~(list "-Dsystemd=disabled"))) | 52 | #:tests? #f |
| 53 | (native-inputs (list cmake pkg-config wayland hyprland-protocols)) | 53 | #:configure-flags #~(list "-Dsystemd=disabled") |
| 54 | (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa `(,util-linux "lib"))) | 54 | #:phases |
| 55 | #~(modify-phases %standard-phases | ||
| 56 | (add-after 'build 'chdir-and-build | ||
| 57 | (lambda _ (chdir "../source/hyprland-share-picker/") | ||
| 58 | (invoke "make"))) | ||
| 59 | (add-after 'install 'install-picker | ||
| 60 | (lambda _ (install-file "hyprland-share-picker" (string-append #$output "/bin"))))))) | ||
| 61 | (native-inputs (list cmake pkg-config)) | ||
| 62 | (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa qtwayland `(,util-linux "lib"))) | ||
| 55 | (home-page "") | 63 | (home-page "") |
| 56 | (synopsis "test") | 64 | (synopsis "test") |
| 57 | (description "test") | 65 | (description "test") |
| 58 | (license license:bsd-3))) | 66 | (license license:bsd-3))) |
| 59 | 67 | ||
| 60 | (define-public hyprland-share-picker | 68 | xdg-desktop-portal-hyprland |
| 61 | (package | ||
| 62 | (inherit xdg-desktop-portal-hyprland) | ||
| 63 | (name "hyprland-share-picker") | ||
| 64 | (build-system qt-build-system) | ||
| 65 | (inputs (modify-inputs (package-inputs xdg-desktop-portal-hyprland) | ||
| 66 | (append qtwayland-5))) | ||
| 67 | (native-inputs (modify-inputs (package-native-inputs xdg-desktop-portal-hyprland) | ||
| 68 | (append qtwayland-5))) | ||
| 69 | (arguments | ||
| 70 | (list | ||
| 71 | #:tests? #f | ||
| 72 | #:phases | ||
| 73 | #~(modify-phases %standard-phases | ||
| 74 | (add-after 'unpack 'chdir | ||
| 75 | (lambda _ (chdir "hyprland-share-picker")))))) | ||
| 76 | (synopsis "share picker"))) | ||
| 77 | |||
| 78 | hyprland-share-picker | ||
