This commit is contained in:
Daniel Ziltener 2023-11-28 10:10:38 +01:00
parent dd63891319
commit 2d84558da6
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -87,28 +87,6 @@ Wayland compositor based on wlroots") (description "Hyprland.")
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
#~(begin #~(begin
;;(delete-file-recursively "subprojects/wlroots")
;;(delete-file-recursively "subprojects/udis86")
(substitute* "CMakeLists.txt"
((".*subprojects/udis86.*") "\n")
;; ((".*subprojects/wlroots.*") "\n")
;; (("include.ExternalProject.*") "\n")
;; ((""))
;; ((".*\"subprojects/wlroots.*\"") "")
;; (("find_program.WaylandScanner.*")
;; (string-append "set(WaylandScanner '"
;; #$wayland
;; "/bin/wayland-scanner')\n"))
;; (("pixman-1)") "pixman-1 wlroots)"))
;; (substitute* "meson.build"
;; (("wlroots = .*") "wlroots = dependency('wlroots')\n")
;; (("have_xwlr = .*") "have_xwlr = true\n")
;; (("udis = .*") "\n")
;; (("udis86 = .*") "udis86 = dependency('udis86')\n")
;; (("xcb_dep = .*") "xcb_dep = dependency('xcb')\n")
;; ((".*subdirs:.*") "")
;; (("") ""))
(substitute* "src/render/OpenGL.cpp" (substitute* "src/render/OpenGL.cpp"
(("/usr") "$out"))))))) (("/usr") "$out")))))))
(build-system meson-build-system) (build-system meson-build-system)