From patchwork Wed Jul 8 21:44:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandros Theodotou X-Patchwork-Id: 23132 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1B67A27BBE3; Wed, 8 Jul 2020 23:14:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1FEEB27BBE1 for ; Wed, 8 Jul 2020 23:14:58 +0100 (BST) Received: from localhost ([::1]:46890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtILB-0004R3-Ju for patchwork@mira.cbaines.net; Wed, 08 Jul 2020 18:14:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtHtC-00038M-7m for guix-patches@gnu.org; Wed, 08 Jul 2020 17:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtHtB-0004Ug-Tl for guix-patches@gnu.org; Wed, 08 Jul 2020 17:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtHtB-0003RJ-Ri for guix-patches@gnu.org; Wed, 08 Jul 2020 17:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42282] [PATCH] gnu: Add ttaenc. Resent-From: Alexandros Theodotou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Jul 2020 21:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42282 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42282@debbugs.gnu.org X-Debbugs-Original-To: Guix patches Received: via spool by submit@debbugs.gnu.org id=B.159424470313150 (code B ref -1); Wed, 08 Jul 2020 21:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jul 2020 21:45:03 +0000 Received: from localhost ([127.0.0.1]:39273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtHsF-0003Q2-G4 for submit@debbugs.gnu.org; Wed, 08 Jul 2020 17:45:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:59866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtHrz-0003Od-89 for submit@debbugs.gnu.org; Wed, 08 Jul 2020 17:45:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtHry-0001L4-Ur for guix-patches@gnu.org; Wed, 08 Jul 2020 17:44:46 -0400 Received: from mout02.posteo.de ([185.67.36.142]:46965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtHrw-00048X-Ef for guix-patches@gnu.org; Wed, 08 Jul 2020 17:44:46 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id CBEE22400FD for ; Wed, 8 Jul 2020 23:44:42 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B2CWW3Cplz9rxQ for ; Wed, 8 Jul 2020 23:44:38 +0200 (CEST) Message-ID: From: Alexandros Theodotou Date: Wed, 08 Jul 2020 22:44:31 +0100 User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.142; envelope-from=alex@zrythm.org; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/08 15:43:25 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, This patch adds the TTA encoder. Thanks, Alex From cd611e07a71f743d1e71d695c2a48c53e906fc0c Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Wed, 8 Jul 2020 22:43:14 +0100 Subject: [PATCH] gnu: Add ttaenc. * gnu/packages/audio.scm (ttaenc): New variable. --- gnu/packages/audio.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 8fc23825ea..97264e5592 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -4003,6 +4003,45 @@ stream to one or more IceCast and/or ShoutCast servers.") (home-page "https://x42.github.io/libltc/") (license license:lgpl3+))) +(define-public ttaenc + (package + (name "ttaenc") + (version "3.4.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/tta/" + "tta/ttaenc-src" + "/ttaenc-" version "-src.tgz")) + (sha256 + (base32 + "1iixpr4b89g9g1hwn8ak8k8iflcww3r5f09a117qdidc2nqcijdj")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list "CC=gcc" (string-append "INSDIR=" (assoc-ref %outputs "out") "/bin")) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure + (delete 'check) ; no check + (add-before 'install 'make-bindir + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/bin")) + #t)))))) + (synopsis "TTA lossless audio encoder") + (description + "TTA performs lossless compression on multichannel 8,16 and 24 bits +data of the Wav audio files. Being lossless means that no data- +quality is lost in the compression - when uncompressed, the data will +be identical to the original. The compression ratios of TTA depend on +the type of music file being compressed, but the compression size +will generally range between 30% - 70% of the original. TTA format +supports both of ID3v1/v2 and APEv2 tags. Detailed format description +is available at http://tta.sourceforge.net") + (home-page "http://tausoft.org/") + (license license:gpl2))) + (define-public redkite (package (name "redkite") -- 2.27.0