unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Parnikkapore via Guix-patches via <guix-patches@gnu.org>
To: 64732@debbugs.gnu.org
Subject: [bug#64732] [PATCH v2 2/2] gnu: Add r128gain.
Date: Thu, 20 Jul 2023 22:51:47 +0700	[thread overview]
Message-ID: <4b66e7586e481db8eb612ec7efd8ca48499d4e5d.1689868307.git.poomklao@yahoo.com> (raw)
In-Reply-To: <eb3eaaa0e7f3d610c6ea0bcc8e170c9544397520.1689868307.git.poomklao@yahoo.com>

* 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 <sharlatanus@gmail.com>
 ;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch>
 ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2023 Parnikkapore <poomklao@yahoo.com>
 ;;;
 ;;; 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"))
-- 
2.41.0





  reply	other threads:[~2023-07-20 15:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1689780467.git.poomklao.ref@yahoo.com>
2023-07-19 15:30 ` [bug#64732] [PATCH 0/2] Add r128gain Parnikkapore via Guix-patches via
2023-07-19 15:34   ` [bug#64732] [PATCH 1/2] gnu: Add python-ffmpeg-python Parnikkapore via Guix-patches via
2023-07-19 15:34   ` [bug#64732] [PATCH 2/2] gnu: Add r128gain Parnikkapore via Guix-patches via
2023-07-19 23:40   ` [bug#64732] [PATCH 1/2] gnu: Add python-ffmpeg-python jgart via Guix-patches via
2023-07-20  2:34     ` Parnikkapore via Guix-patches via
2023-07-20  4:08     ` jgart via Guix-patches via
2023-07-20 15:51   ` [bug#64732] [PATCH v2 " Parnikkapore via Guix-patches via
2023-07-20 15:51     ` Parnikkapore via Guix-patches via [this message]
     [not found]     ` <eb3eaaa0e7f3d610c6ea0bcc8e170c9544397520.1689868307.git.poomklao.ref@yahoo.com>
2023-07-20 17:00       ` jgart via Guix-patches via
2023-07-21  6:50         ` [bug#64732] [PATCH v3 " Parnikkapore via Guix-patches via
2023-07-21  6:50           ` [bug#64732] [PATCH v3 2/2] gnu: Add r128gain Parnikkapore via Guix-patches via
     [not found]           ` <bcae23c779592e17719214ec54c89ba86c2e9aa9.1689922236.git.poomklao.ref@yahoo.com>
2023-07-22 13:06             ` [bug#64732] [PATCH v3 1/2] gnu: Add python-ffmpeg-python jgart via Guix-patches via
2023-07-22 13:50               ` Parnikkapore via Guix-patches via
2023-07-22 13:54             ` jgart via Guix-patches via
2023-07-22 15:59               ` Lars-Dominik Braun
2023-07-22 18:13               ` jgart via Guix-patches via
2023-07-24 19:11               ` jgart via Guix-patches via
2023-08-04 14:56                 ` [bug#64732] [PATCH v4 " Parnikkapore via Guix-patches via
2023-08-04 14:56                   ` [bug#64732] [PATCH v4 2/2] gnu: Add r128gain Parnikkapore via Guix-patches via
2023-08-20 21:08                   ` bug#64732: [PATCH 0/2] " Ludovic Courtès
2023-07-22 14:34             ` [bug#64732] [PATCH v3 1/2] gnu: Add python-ffmpeg-python jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b66e7586e481db8eb612ec7efd8ca48499d4e5d.1689868307.git.poomklao@yahoo.com \
    --to=guix-patches@gnu.org \
    --cc=64732@debbugs.gnu.org \
    --cc=poomklao@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).