diff options
author | Freya Murphy <freya@freyacat.org> | 2024-10-23 14:34:31 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-10-23 14:34:31 -0400 |
commit | 1b190e1774ee5c0137125aa49a9964031dfe7bba (patch) | |
tree | d7fe333478f9deb8f7071e08d3995e75cf2c88a1 /modules/freya/packages/librewolf.scm | |
parent | fix typo (diff) | |
download | dotfiles-guix-1b190e1774ee5c0137125aa49a9964031dfe7bba.tar.gz dotfiles-guix-1b190e1774ee5c0137125aa49a9964031dfe7bba.tar.bz2 dotfiles-guix-1b190e1774ee5c0137125aa49a9964031dfe7bba.zip |
move packages/services to new sakura channel
Diffstat (limited to 'modules/freya/packages/librewolf.scm')
-rw-r--r-- | modules/freya/packages/librewolf.scm | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/modules/freya/packages/librewolf.scm b/modules/freya/packages/librewolf.scm deleted file mode 100644 index d2cb6ad..0000000 --- a/modules/freya/packages/librewolf.scm +++ /dev/null @@ -1,59 +0,0 @@ -(define-module (freya packages librewolf) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix download) - #:use-module (guix packages) - #:use-module (guix build-system trivial) - #:use-module (gnu) - #:use-module (gnu packages bash) - #:use-module (gnu packages linux) - #:use-module (gnu packages librewolf) - #:use-module (freya packages linux)) - -(define-public librewolf-new - (package - (name "librewolf-new") - (source #f) - (version "0.1") - (synopsis "Simple wrapper for pipewire in librewolf") - (description "Simple wrapper for pipewire in librewolf") - (home-page "https://librewolf.net/") - (license license:mpl2.0) - (inputs - `(("bash" ,bash-minimal) - ("pipewire" ,pipewire-new) - ("librewolf" ,librewolf))) - (build-system trivial-build-system) - (arguments - '(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let* ((bash (assoc-ref %build-inputs "bash")) - (librewolf (assoc-ref %build-inputs "librewolf")) - (pipewire (assoc-ref %build-inputs "pipewire")) - (out (assoc-ref %outputs "out")) - (exe (string-append out "/bin/librewolf"))) - (mkdir-p (dirname exe)) - - (call-with-output-file exe - (lambda (port) - ;; NOTE: added "export LD_LIBRARY_PATH=pipewire" - ;; maybe this can be done better with `wrap-programm' - (format port "#!~a \n -export LD_LIBRARY_PATH=~a \n -export MOZ_ENABLE_WAYLAND=1 \n -export MOZ_USE_XINPUT2=1 \n -exec ~a $@\n" - (string-append bash "/bin/bash") - (string-append pipewire "/lib") - (string-append librewolf "/bin/librewolf")))) - (chmod exe #o555) - - ;; Provide the manual and .desktop file. - (copy-recursively (string-append librewolf "/share") - (string-append out "/share")) - (substitute* (string-append - out "/share/applications/librewolf.desktop") - ((librewolf) out)) - #t)))))) - |