unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: L  p R n  d n    <guix@lprndn.info>
To: Marlin <mbmattos1113@firemail.cc>
Cc: guix-devel@gnu.org
Subject: Re: Porting Lutris over
Date: Tue, 18 Jun 2019 10:07:06 +0200	[thread overview]
Message-ID: <87tvcns4et.fsf@lprndn.info> (raw)
In-Reply-To: Marlin's message of "Mon\, 17 Jun 2019 22\:33\:23 -0300 \(6 hours\, 26 minutes\, 40 seconds ago\)"

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

             reply	other threads:[~2019-06-18  8:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18  8:07 L p R n d n [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-18  1:33 Porting Lutris over Marlin
2019-06-18  7:03 ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvcns4et.fsf@lprndn.info \
    --to=guix@lprndn.info \
    --cc=guix-devel@gnu.org \
    --cc=mbmattos1113@firemail.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).