[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Porting Lutris over
From: |
L p R n d n |
Subject: |
Re: Porting Lutris over |
Date: |
Tue, 18 Jun 2019 10:07:06 +0200 |
Hello,
Here is what I had somewhere lost on my computer for lutris:
(arguments
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda* (#:key outputs inputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(input-path (lambda (lib path)
(string-append (assoc-ref inputs lib) path)))
(libraries '("mesa" "glu" "libdrm" "webkitgtk"))
(libs
(map (lambda (lib) (input-path lib "/lib"))
libraries))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(wrap-program (string-append out "/bin/lutris")
`("GI_TYPELIB_PATH" = (,gi-typelib-path))
`("LD_LIBRARY_PATH" ":" prefix ,libs))
#t))))))
As I remember, it should build but I kind of gave up with runtime stuff.
Also, I'm not sure it's compatible with FSF.
Hope it helps.
Lprndn