From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH] gnu: Add libvpx Date: Thu, 26 Jun 2014 08:18:15 -0400 Message-ID: <87ionneuew.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X08dF-0003CH-SN for guix-devel@gnu.org; Thu, 26 Jun 2014 08:18:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X08dA-00055t-0v for guix-devel@gnu.org; Thu, 26 Jun 2014 08:18:25 -0400 Received: from na3sys009aog133.obsmtp.com ([74.125.149.82]:55019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X08d9-00053B-Pr for guix-devel@gnu.org; Thu, 26 Jun 2014 08:18:19 -0400 Received: by mail-qa0-f46.google.com with SMTP id i13so2650596qae.5 for ; Thu, 26 Jun 2014 05:18:18 -0700 (PDT) Received: from izanagi (209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com. [209.6.40.86]) by mx.google.com with ESMTPSA id k8sm10986206qas.23.2014.06.26.05.18.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jun 2014 05:18:16 -0700 (PDT) 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Here's a package recipe for libvpx, the VP8/VP9 codec. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-libvpx.patch >From 4cb60b3cac956caa5a8e11de077aceeefa417dc5 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 26 Jun 2014 08:16:07 -0400 Subject: [PATCH] gnu: Add libvpx. * gnu/packages/video.scm (libvpx): New variable. --- gnu/packages/video.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index a824d5c..4b4fff8 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -17,7 +17,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages video) - #:use-module ((guix licenses) #:select (gpl2 gpl2+)) + #:use-module ((guix licenses) #:select (gpl2 gpl2+ bsd-3)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -368,3 +368,36 @@ Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files. One can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") (license gpl2))) + +(define-public libvpx + (package + (name "libvpx") + (version "1.3.0") + (source (origin + (method url-fetch) + (uri (string-append "http://webm.googlecode.com/files/libvpx-v" + version ".tar.bz2")) + (sha256 + (base32 + "1aai0h0z1bhp89pxmg4fkrwpmqq24k39fhr15cw6q77m9bccip6k")))) + (build-system gnu-build-system) + (arguments + '(#:phases (alist-replace + 'configure + (lambda* (#:key outputs #:allow-other-keys) + (setenv "CONFIG_SHELL" (which "bash")) + (let ((out (assoc-ref outputs "out"))) + (zero? (system* "./configure" + "--enable-shared" + "--as=yasm" + (string-append "--prefix=" out))))) + %standard-phases) + #:tests? #f)) ; no check target + (native-inputs + `(("perl" ,perl))) + (inputs + `(("yasm" ,yasm))) + (synopsis "VP8/VP9 video codec") + (description "libvpx is a codec for the VP8/VP9 video compression format.") + (license bsd-3) + (home-page "http://www.webmproject.org/"))) -- 2.0.0 --=-=-= Content-Type: text/plain -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate --=-=-=--