unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: vidak@riseup.net
To: 47557@debbugs.gnu.org
Subject: bug#47557: attempting to package MegaZeux
Date: Thu, 01 Apr 2021 17:08:14 -0700	[thread overview]
Message-ID: <041db42609a80eb872e3dc3b016922ec@riseup.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

Hello!

I am attempting to package this piece of software:

https://github.com/AliceLR/megazeux

However I am having issues understanding exactly how to deal with its
non-standard build process.

I have attached the work I have already done to this email.

Could anyone help me understand where I am going wrong?

Thanks so much for your time (:

~vidak

@vidak@awkward.company
https://bootlicker.party

[-- Attachment #2: megazeux.scm --]
[-- Type: text/plain, Size: 2104 bytes --]

(define-module (gnu packages megazeux)
  #:use-module (ice-9 match)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix utils)
  #:use-module (gnu packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages build-tools)
  #:use-module (gnu packages xiph)
  #:use-module (gnu packages game-development)
  #:use-module (gnu packages image)
  #:use-module (gnu packages sdl)
  #:use-module (gnu packages pkg-config))
  

(define-public megazeux
  (let ((commit "eb04c509c80f42af331bb1aa0bde7b31df4dd28e")
	(revision "1"))
    (package
     (name "megazeux")
     (version (git-version "2.92f" revision commit))
     (source (origin
	      (method git-fetch)
	      (uri (git-reference
		    (url "https://github.com/AliceLR/megazeux/")
		    (commit commit)))
	      (file-name (git-file-name name version))
	      (sha256
	       (base32
		"15zbqwyi34m810njylfahgbr2w0sswqbb632vrgr9yd1aayzg9pj"))
	      (modules '((guix build utils)))))
     (build-system gnu-build-s)
     (outputs '("out" "debug"))
     (arguments
      `(#:tests? #f
	#:modules ((guix build utils))
	#:configure-flags '("--platform unix")
	#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
                   "CC=gcc")
	#:phases
	(modify-phases %standard-phases
		       (replace 'configure
				(lambda* (#:key outputs (configure-flags '()) #:allow-other-keys)
					 (apply invoke "./config.sh" configure-flags)))
		       )))
      (native-inputs
       `(("pkg-config" ,pkg-config)))
      (inputs
      `(("libpng" ,libpng)
        ("libogg" ,libogg)
	("libvorbis" ,libvorbis)
	("sdl2" ,sdl2)))
     (home-page "https://www.digitalmzx.com/")
     (synopsis "The MegaZeux game creation system.")
     (description
      "MegaZeux is a game creation system (GCS) created by game
developer Alexis Janson in 1994. Originally a DOS program, in 2005 a
multi-platform port was released by Exophase.")
     (license license:gpl2))))

megazeux

             reply	other threads:[~2021-04-02 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02  0:08 vidak [this message]
2021-04-02 22:59 ` bug#47557: attempting to package MegaZeux Leo Prikler

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=041db42609a80eb872e3dc3b016922ec@riseup.net \
    --to=vidak@riseup.net \
    --cc=47557@debbugs.gnu.org \
    /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).