From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: [PATCH] gnu: Add libsmpeg. Date: Fri, 22 Jul 2016 10:31:06 -0400 Message-ID: <87bn1pu4lx.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQbU4-0006Wf-MO for guix-devel@gnu.org; Fri, 22 Jul 2016 10:31:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQbU0-00050r-E1 for guix-devel@gnu.org; Fri, 22 Jul 2016 10:31:23 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:50284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQbU0-00050T-3K for guix-devel@gnu.org; Fri, 22 Jul 2016 10:31:20 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain This is a preliminary patch for pygame. I don't really have a test case for it outside of (hopefully) a successful build of pygame. We'll see how it goes. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-libsmpeg.patch Content-Transfer-Encoding: quoted-printable From=20fa92b4e1fd08b19ad2427121b57a5a61ea798aca Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Fri, 22 Jul 2016 10:20:10 -0400 Subject: [PATCH] gnu: Add libsmpeg. * gnu/packages/video.scm (libsmpeg): New variable. =2D-- gnu/packages/video.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d36400c..943ff26 100644 =2D-- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -8,6 +8,7 @@ ;;; Copyright =C2=A9 2015 Ricardo Wurmus ;;; Copyright =C2=A9 2015 Alex Vong ;;; Copyright =C2=A9 2016 Alex Griffin +;;; Copyright =C2=A9 2016 Kei Kebreau ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix svn-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) @@ -1525,3 +1527,39 @@ implementation.") your graphical desktop and encodes it as a video. This is a useful tool f= or making @dfn{screencasts}.") (license license:gpl2+))) + +(define-public libsmpeg + (package + (name "libsmpeg") + (version "0.4.5") + (source (origin + (method svn-fetch) + (uri (svn-reference + (url "svn://svn.icculus.org/smpeg/trunk/") + (revision 412))) + (sha256 + (base32 + "1irf2d8f150j8cx8lbb0pz1rijap536crsz0mw871xrh6wd2fd96")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'autogen.sh + (lambda _ + (zero? (system* "sh" "autogen.sh"))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (inputs + `(("sdl" ,sdl2))) + (home-page "http://icculus.org/smpeg/") + (synopsis "SDL MPEG decoding library") + (description + "SMPEG (SDL MPEG Player Library) is a free MPEG1 video player library +with sound support. Video playback is based on the ubiquitous Berkeley MP= EG +player, mpeg_play v2.2. Audio is played through a slightly modified mpegs= ound +library, part of splay v0.8.2. SMPEG supports MPEG audio (MP3), MPEG-1 vi= deo, +and MPEG system streams.") + (license (list license:expat + license:lgpl2.1 + license:lgpl2.1+ + license:gpl2)))) =2D-=20 2.9.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Kei (GPG Key: 4096R/E6A5EE3C19467A0D) --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXki4rAAoJEOal7jwZRnoNYOwP/3V2MDHDB5kVrgbWgMdgAuMy UJRTl5agQtnGM+DJllvN87xCqC/svdQ4oymfj3AJ7qVDjN8jp3+/Ab/OgsPfrtou rOW95W5PxyFD9xhPL0KHI+KzCvKChKpHRYzHne3qCVHuuNp/sjXhTyDjDna0BIin stg9WozCaeR9OwESSCnxYQnMlS4OXwqgN+VxxmAV4R8n2avIyyZTBUG0YMhzxQcG mFnUYWCLjCYkxytfrhbg7wp1oh9VFV/X+T+8d1w6NSBXr4IBR/3p6W6GK3AFZLFM KnoKt7B+QciRUS8i66PzC0/fymhgpkR1tA0Ot3nJPrSQP/uyypjeLbYaMxZ7FZwb 7SX872eaQE4D+hiWhf7U2h07jR1GSN+YdJLltmlQ8uH7J4J7zaeve5IzoVzljKQ3 /xgqh2UPlEVVJxqh/HAneH/LZIMr6H1rH3KlkrJ84yjFK4v+5/IzbABAK8gkAWJC HdD92SfK7I/LS2cBiU39LqmFCO/GIKfDYLqHd4ljVtJf6pPjPTr4Cf18ndy3m4GT 4qjPiKOri0/2KtpBxBeHBIexbLUeOyTBtP94R+1DWdbOAQXy8H53yF/6mDKpZXBF vttv4GxFtEckeWgK7ItzDfSUNt4gu1AX+BtQfs3lFEC02oB0xnq43EsvZry/oy5+ cwq+MWZHLqTSVUmSGKRM =k+ES -----END PGP SIGNATURE----- --==-=-=--