From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukas Gradl Subject: [Patch 3/10] Add gsm. Date: Mon, 12 Sep 2016 21:25:20 -0500 Message-ID: <877fag1qpb.fsf@openmailbox.org> References: <87mvjc1quq.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]:53744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjdPg-0007Um-Ph for guix-devel@gnu.org; Mon, 12 Sep 2016 22:25:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjdPd-0001XH-G3 for guix-devel@gnu.org; Mon, 12 Sep 2016 22:25:32 -0400 Received: from smtp12.openmailbox.org ([62.4.1.46]:56123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjdPd-0001X9-4x for guix-devel@gnu.org; Mon, 12 Sep 2016 22:25:29 -0400 In-Reply-To: <87mvjc1quq.fsf@openmailbox.org> (Lukas Gradl's message of "Mon, 12 Sep 2016 21:22:05 -0500") 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/x-patch; charset=utf-8 Content-Disposition: inline; filename=0003-gnu-Add-gsm.patch Content-Transfer-Encoding: quoted-printable From=20ecafdf21a654c97fa9adb2c382c431c297a3fee0 Mon Sep 17 00:00:00 2001 From: Lukas Gradl Date: Tue, 9 Aug 2016 16:43:36 -0500 Subject: [PATCH 03/10] gnu: Add gsm. * gnu/packages/audio.scm (gsm): New variable. =2D-- gnu/packages/audio.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 67701a0..283f56b 100644 =2D-- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2015, 2016 Mark H Weaver ;;; Copyright =C2=A9 2016 Efraim Flashner ;;; Copyright =C2=A9 2016 Alex Griffin +;;; Copyright =C2=A9 2016 Lukas Gradl ;;; ;;; This file is part of GNU Guix. ;;; @@ -2456,3 +2457,49 @@ with support for HD extensions.") flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the loudness of audio and video files to the same level.") (license license:gpl2+))) + +(define-public gsm + (package + (name "gsm") + (version "1.0.14") + (source + (origin + (method url-fetch) + (uri + (string-append "http://www.quut.com/" name "/" name + "-" version ".tar.gz")) + (sha256 + (base32 + "0b1mx69jq88wva3wk0hi6fcl5a52qhnq2f9p3f3jdh5k61ma252q")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "tst" + #:phases + (modify-phases %standard-phases + (add-before 'install 'pre-install + (lambda _ + (let ((out (assoc-ref %outputs "out"))) + (substitute* "Makefile" + (("INSTALL_ROOT\t=3D") + (string-append "INSTALL_ROOT\t=3D\t" out))) + (mkdir-p (string-append out "/inc")) + (mkdir-p (string-append out "/man")) + (mkdir-p (string-append out "/man/man1")) + (mkdir-p (string-append out "/man/man3")) + (mkdir-p (string-append out "/bin")) + (mkdir-p (string-append out "/lib"))))) + (add-after 'install 'post-install + (lambda _ + (let ((out (assoc-ref %outputs "out"))) + (begin + (system* "mv" (string-append out "/inc") + (string-append out "/include")) + (mkdir-p (string-append out "/include/gsm")) + (copy-recursively + "inc" (string-append out "/include/gsm")))))) + (delete 'configure)))) + (synopsis "GSM 06.10 lossy speech compression library") + (description "This C library provides an encoder and a decoder for the= GSM +06.10 RPE-LTP lossy speech compression algorithm.") + (home-page "http://quut.com/gsm/") + (license (license:non-copyleft "file://COPYRIGHT")))) =2D-=20 2.9.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX12ORAAoJEFP7dyh+2DCRb7YP/1IjycfHJ36F/Gpgxdx3Yayl k6QalnKnQzGH26daZFT3069s9wLtXycLz6ttu3qGQQ6PimUt+zFxIiqLdMGJiL6i mTMBLWkYu1QQyg0n17mVgYs5RTdjSqHZlJvCL3pi/bFoGh1bd2JOgXYR6CBXkpD5 XVl3XprnRI3cIMFBAPw8rFvR5ZRhDZslNmFIhZvMzHbW+RPxdAeVtbZWvaOEp7wI tgdQVHaZfRNv+WYQVyJV6RuLwvqaXorGW88r4q5DyEolhFGDYl3FnRP75wKZTTfx rtv/1YWH/LbRkUuqooXDjN3C8AMcj0xlmhFvJYeJHc189QMK/ruWBxI6cl+25fOA 3VG5fzS7DZ9gB3rU0SyiWQyWDPMHY90153e/nWh4nnCHEPPCZ6epBy4h3f2u5BAc 7mt0S29o8T0h279wJlH+uvMTnA3y94+T9E7Ys2OIn+yyGdCqwm/asVsSUBbKgenI VwH3D0pC+tUWMtOlA38qHHu42BrjZJJJjxdhPFmcOT3gHyLIqX0K8G5wbwU7Ti5o /bWeFlAFEaV+zh2tN3SD7hmALDRrTty43sX8MDNHxU543Z2oT5LiVoJoeyuG+yPU vxxpqDhxlWTofW4oaERLzDicK2j9oCSaq6hlZErCvZQoHJ7yoaD3BPqZT+lcckHd /IPhNZwwIp53Nf9DBfUS =BOEx -----END PGP SIGNATURE----- --==-=-=--