From patchwork Fri Jul 21 06:50:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Parnikkapore X-Patchwork-Id: 51886 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 638F727BBEA; Fri, 21 Jul 2023 07:57:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FORGED_MSGID_YAHOO,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 74CC927BBE2 for ; Fri, 21 Jul 2023 07:57:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMk4W-00066v-G6; Fri, 21 Jul 2023 02:57:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMk4U-00066h-WF for guix-patches@gnu.org; Fri, 21 Jul 2023 02:57:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMk4U-0003iE-NF for guix-patches@gnu.org; Fri, 21 Jul 2023 02:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMk4U-0004HI-J6 for guix-patches@gnu.org; Fri, 21 Jul 2023 02:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64732] [PATCH v3 2/2] gnu: Add r128gain. Resent-From: Parnikkapore Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 06:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64732 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64732@debbugs.gnu.org Received: via spool by 64732-submit@debbugs.gnu.org id=B64732.168992257916349 (code B ref 64732); Fri, 21 Jul 2023 06:57:02 +0000 Received: (at 64732) by debbugs.gnu.org; 21 Jul 2023 06:56:19 +0000 Received: from localhost ([127.0.0.1]:60419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMk3m-0004Fd-UC for submit@debbugs.gnu.org; Fri, 21 Jul 2023 02:56:19 -0400 Received: from sonic302-19.consmr.mail.sg3.yahoo.com ([106.10.242.139]:37955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMk3k-0004F5-P2 for 64732@debbugs.gnu.org; Fri, 21 Jul 2023 02:56:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1689922567; bh=IbzqcV9xYyQHRw1dzSSdJJnecNNmYBiIMLN5uCHnj1o=; h=From:To:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=kovQhEXcLYp696o/ZDj/mKx7vjrQeUIR5dAzEQuMDM2I0IKoRCX3vhCfe5RoL5qzj17xAvBkPdMJoqANyEap2CGESmDdeaKzNUg4v7YQtSkqjJr5JsYCrF6yAFbfc3mvGp8qiKYlKpx/VQ8xxR0yd95LbCf6IYkjRYUraaap/FYh6t81XpNPCgVeFrw0IXocPClGX3sg5ZgObbdAm5GPb0YZHwTxNOAX4ZDlnFwT4EKgqtl8GTokMwCg9Z/T7Hg93jE8NldYmLkXc9XP85WNwiS5ZsLnBW/FsTLmaloB1fhZKHbn8+JQFHgKLk6A+sh087C3a84KLa87E/xc71+Wfg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1689922567; bh=5REEJDQMfz8XaQj9P91eaeIunD/JHnRJ131YSpilZFI=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=U1q8gbEq0KJjlB2v+R3jXhPi2Mz9D2tzD9l2mcrby/YatMjyKHMKgmZ9PVpcBKcDtj1Pyjw+Qq3VZuV8cxWvJTaA54p5nBaFed+ge/vlou4wBbBrqlY48AZOWdbslNFfcoy66TsdC+TMYcb7yBHoScQoIzODk8I4owCWVkw9QdXOD2SNlOVFdy2iVyzpKdB/Yi7QqhFQk5ryOr7qgXLrdRbWXEVNE/Q65zu14+zWwe6kSN825ero86vI0P4yEDsAN9k6wRlYxGbcEpz45uP+bXauvF1hJD4ye2Yd9AKfSWARvdHUQ1HvUCLkQZLbxw6hxLsCacFJ5zyJe0IJTsxtxw== X-YMail-OSG: vgKIq6kVM1l3O_1jVCp3jGIx.PXElEDROXzpRrMgYNVlMFoi_2cKkDzO7c32r1P L4pfn.gSG7SwkD9KcBvOiLO2fofexY2YjyAFvytC8a1b2I4bBOmxY9RrbCaOhp_neAZcAzGTa9UT qbFNRL6xPOPP2C1vQ8A5Zn4IRVyDUe7hE0bZqVZGWSB6LQoVRLJaWhUJxiy7kSe6XxHUeNSUCRMD xMHLZa3brOCV4XXv3rGs3GLCXuDx7PvQJmf_BekM77qSIanabPvRaRExS5Dv9owPHypWJ59quV7i 2ahQpbYFFu45QdTEGvelhGHadeIQbTWJvxAoeda6JjGOAnRCekbTlyBjtXEK58EHi4s32wXZjTPI zeyAZ6HFkTr1YfZ4ApJueQiOkNnqM5W1cbYzOX_9JEAeaS1uNEVewNuCKM3.uU.FrPXVwxK9PdQc fDvgaiWwBbDFlSdJNYRpNgJmFNsxNlFqrm58lq.9AEYpbRML0b9AtvE32eFvcVCmDhKpVJiCxhiS NpHkx_gUs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xTvGk2vqQ8YHcmqlUg0bR19WMnJ5x1H_imhN_a_trWWpkBvT9bhREOtfGzE43Ndc P6NwVtPkYEHZvEFb1Ub1I8JIwms7T9M.AcCNm7jyrLuptsDxAIogoMOUMllqplnUVnFEiQf4wF08 XvgdxYUTaZyuw3XeseuCctZXw4A6DkwcX9rz1rgZXF69s9QNJtlAuzTHgQwaZiJeUsoU0J_H7LQ4 mguoHxlDUioGM0nbR7DKvne5sK9sFKQvialMrXg5x_n4MPaiE5HrCoUP6TEkySs4KtGld62ISS8L VrBcXkE0AV.trA7guzvrcQf9QbyjVrYgy1jL4oOnGPVVkTHEnqL0DYueFuBUQ9O.hREi5psPgSv5 xa2OI_ZFOqCt9QxrQWL6jO1vsVHVMukd2620vQ_ot79yhhpKhOXIMQC.rCM_JzNOphui7iMeVhbW nEPrwehTwOCAZDgE4qDAlbr3bxaN.dz8SDpUEjyh701TE_UXBq3rHzFjZTl31kGLDGXNjnG49u7l yVaZmcDIT0UOzewHM853C6licaPJichFGrfp8dxperLfIGE_PqFiLXAKoxu9nj2Tkk2VHRDBhlTC Cp4pMeyrDRsOEeFtrgRDe9xd.URXgSmiH3tPimaALEIxANRPmGpOE6B8C8jKbQNTGpq9V3U3Holh nfV1BuY1aszb1EdRz6g_ZI6am95ANh_G_xZahn_PuhSz8ZU1CZF1V1oPvHhR24E84D4PIqMI7.DV aOBmiypnGWz3OEsLETbhg8nglYA-- X-Sonic-MF: X-Sonic-ID: 5f5f8884-0e2e-4631-9637-a4a3c6632d87 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.sg3.yahoo.com with HTTP; Fri, 21 Jul 2023 06:56:07 +0000 Received: by hermes--production-sg3-9dc5f54fc-kq65l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2970c5b3758b3e30d71888506b201133; Fri, 21 Jul 2023 06:56:01 +0000 (UTC) Date: Fri, 21 Jul 2023 13:50:36 +0700 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Parnikkapore X-ACL-Warn: , Parnikkapore via Guix-patches X-Patchwork-Original-From: Parnikkapore via Guix-patches via From: Parnikkapore Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/audio.scm (r128gain): New variable. --- gnu/packages/audio.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 8a11d2d6cc..db23635f15 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -45,6 +45,7 @@ ;;; Copyright © 2023 Sharlatan Hellseher ;;; Copyright © 2023 Gabriel Wicki ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2023 Parnikkapore ;;; ;;; This file is part of GNU Guix. ;;; @@ -116,7 +117,9 @@ (define-module (gnu packages audio) #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages rdf) @@ -4691,6 +4694,35 @@ (define-public bs1770gain loudness of audio and video files to the same level.") (license license:gpl2+))) +(define-public r128gain + (package + (name "r128gain") + (version "1.0.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/desbma/r128gain.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zqclskkjb9hfdw9gq6iq4bs9dl1wj9nr8v1jz6s885379q9l8i7")))) + (build-system python-build-system) + (inputs (list python-crcmod python-ffmpeg-python python-mutagen + python-tqdm)) + (propagated-inputs (list ffmpeg)) + (native-inputs (list python-future python-requests)) + (home-page "https://github.com/desbma/r128gain") + (synopsis "Fast audio loudness scanner & tagger") + (description + "r128gain is a multi platform command line tool to scan your audio +files and tag them with loudness metadata (ReplayGain v2 or Opus R128 gain +format), to allow playback of several tracks or albums at a similar +loudness level. r128gain can also be used as a Python module from other +Python projects to scan and/or tag audio files.") + ;; setup.py claims LGPL2+, but this is not corroborated anywhere else + (license license:lgpl2.1))) + (define-public filteraudio (let ((revision "1") (commit "2fc669581e2a0ff87fba8de85861b49133306094"))