From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50034) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL70Y-0006BK-0p for guix-patches@gnu.org; Thu, 17 Oct 2019 10:44:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL70W-0006jv-HM for guix-patches@gnu.org; Thu, 17 Oct 2019 10:44:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39840) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL70W-0006jn-EF for guix-patches@gnu.org; Thu, 17 Oct 2019 10:44:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iL70W-0006ox-7i for guix-patches@gnu.org; Thu, 17 Oct 2019 10:44:04 -0400 Subject: [bug#37793] [PATCH] gnu: Add gens-gs. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49843) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL6zS-0004S0-Qg for guix-patches@gnu.org; Thu, 17 Oct 2019 10:42:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL6zR-0006EP-8n for guix-patches@gnu.org; Thu, 17 Oct 2019 10:42:58 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:38733) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iL6zR-0006D7-2U for guix-patches@gnu.org; Thu, 17 Oct 2019 10:42:57 -0400 Received: from localhost.localdomain (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: mail@ambrevar.xyz) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 51CA8240015 for ; Thu, 17 Oct 2019 14:42:53 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 17 Oct 2019 16:42:38 +0200 Message-Id: <20191017144238.23959-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37793@debbugs.gnu.org * gnu/packages/emulators.scm (gens-gs): New variable. --- gnu/packages/emulators.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index f6da7f2d25..c1d1d54052 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1366,3 +1366,37 @@ functions. The source code to MAME serves as this documentation.") ;; However, over 90% of the files are under Expat license. Also, artwork, ;; keymaps, languages and samples are under CC0. (license (list license:gpl2+ license:expat license:cc0)))) + +(define-public gens-gs + (package + (name "gens-gs") + (version "7") + (source + (origin + (method url-fetch) + (uri (string-append "http://retrocdn.net/images/6/6d/Gens-gs-r" + version ".tar.gz")) + (sha256 + (base32 + "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833")))) + (build-system gnu-build-system) + (arguments + `(#:system "i686-linux")) + (native-inputs + `(("pkg-config" ,pkg-config) + ("nasm" ,nasm))) + (inputs + `(("sdl" ,sdl) + ("gtk" ,gtk+-2) + ;; TODO: Test if following deps are necessary. + ;; ("libpng" ,libpng) + ;; ("zlib" ,zlib) + ;; ("glu" ,glu) + )) + (home-page "https://segaretro.org/Gens/GS") + (synopsis "Emulator for Sega Genesis/Mega Drive systems") + (description + "Gens/GS is an emulator for the Sega Mega Drive (also known as Genesis), +derived from Gens. Project goals include clean source code, combined features +from various forks of Gens, and improved platform portability.") + (license license:gpl2+))) -- 2.23.0