From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH] Add libtheora package Date: Sun, 13 Oct 2013 19:20:59 -0400 Message-ID: <525B2ADB.1000501@worcester.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040409070902080105040308" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVUyB-0007hg-2e for guix-devel@gnu.org; Sun, 13 Oct 2013 19:21:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVUy4-0002Jl-D4 for guix-devel@gnu.org; Sun, 13 Oct 2013 19:21:07 -0400 Received: from na3sys009aog133.obsmtp.com ([74.125.149.82]:35818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVUy4-0002JH-4x for guix-devel@gnu.org; Sun, 13 Oct 2013 19:21:00 -0400 Received: by mail-qc0-f174.google.com with SMTP id v1so1770719qcw.33 for ; Sun, 13 Oct 2013 16:20:57 -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 This is a multi-part message in MIME format. --------------040409070902080105040308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello all, This is my first Guix patch. A little birdy told me that libtheora would be a good place to start for my first package. It was little more than duplicating the libvorbis package and replacing vorbis with theora. How does it look? - Dave --------------040409070902080105040308 Content-Type: text/x-patch; name="0001-Add-libtheora-package.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Add-libtheora-package.patch" >From 085fdad0505ecb22c5eefd7f5bcac329bf1fcddd Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 13 Oct 2013 19:17:27 -0400 Subject: [PATCH] Add libtheora package. --- gnu/packages/oggvorbis.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/oggvorbis.scm b/gnu/packages/oggvorbis.scm index 589828b..881ab5a 100644 --- a/gnu/packages/oggvorbis.scm +++ b/gnu/packages/oggvorbis.scm @@ -80,6 +80,29 @@ polyphonic) audio and music at fixed and variable bitrates from 16 to "See COPYING in the distribution.")) (home-page "http://xiph.org/vorbis/"))) +(define-public libtheora + (package + (name "libtheora") + (version "1.1.1") + (source (origin + (method url-fetch) + (uri (string-append "http://downloads.xiph.org/releases/theora/libtheora-" + version ".tar.xz")) + (sha256 + (base32 + "0q8wark9ribij57dciym5vdikg2464p8q2mgqvfb78ksjh4s8vgk")))) + (build-system gnu-build-system) + (propagated-inputs `(("libogg" ,libogg) + ("libvorbis" ,libvorbis))) + (synopsis "A library implementing the theora video format") + (description + "The libtheora library implements the ogg theora video format, +a fully open, non-proprietary, patent-and-royalty-free, general-purpose +compressed video format.") + (license (license:bsd-style "file://COPYING" + "See COPYING in the distribution.")) + (home-page "http://xiph.org/theora/"))) + (define-public speex (package (name "speex") -- 1.8.4.rc3 --------------040409070902080105040308--