From patchwork Mon Dec 13 17:40:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leo Famulari X-Patchwork-Id: 35202 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 B746A27BBEA; Mon, 13 Dec 2021 17:41:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 307CA27BBE9 for ; Mon, 13 Dec 2021 17:41:18 +0000 (GMT) Received: from localhost ([::1]:42640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwpK9-0000uE-AR for patchwork@mira.cbaines.net; Mon, 13 Dec 2021 12:41:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwpJv-0000u5-7U for guix-patches@gnu.org; Mon, 13 Dec 2021 12:41:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwpJu-0005r3-RH for guix-patches@gnu.org; Mon, 13 Dec 2021 12:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwpJu-0008Uv-Ir for guix-patches@gnu.org; Mon, 13 Dec 2021 12:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52469] [PATCH] gnu: Add opustags. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52469 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52469@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163941722132607 (code B ref -1); Mon, 13 Dec 2021 17:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Dec 2021 17:40:21 +0000 Received: from localhost ([127.0.0.1]:56709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwpJ9-0008Tl-2S for submit@debbugs.gnu.org; Mon, 13 Dec 2021 12:40:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:44206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwpJ6-0008Td-TE for submit@debbugs.gnu.org; Mon, 13 Dec 2021 12:40:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwpJ5-0000md-FK for guix-patches@gnu.org; Mon, 13 Dec 2021 12:40:12 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwpJ0-0005fm-6i for guix-patches@gnu.org; Mon, 13 Dec 2021 12:40:11 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 926005C0251; Mon, 13 Dec 2021 12:40:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 13 Dec 2021 12:40:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=8zEYV4OeUNVn1EZ6KFEJ/zX nwAvj9HIjTQL8ZitGDTw=; b=dV2ziS8MD1DsC3q4M4I7VYDFmSxuRCGuAsjMOny DPcV6uJ11k1H3tOEOB1SO2iNOoDh6QhOgh4oaSldccy5+xXf4RDt3SM3hLa2UZS8 NQB2yhYjS/RuyK0WFGEIVPS7irAKIh2OA16r6PY0nshcago0+o2Kb+YFA2mCp0y6 WjLU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=8zEYV4 OeUNVn1EZ6KFEJ/zXnwAvj9HIjTQL8ZitGDTw=; b=YfhyMAAwGzwMJTu4i4JlWz WqEKOgtSLjitUaarND4LAEW/y+0hGHpCOdOh0LyqNdlt/sIbiZrO5GHpfprtwJup Jjy9Vd7mCaet3+LfxoenPsHzAdgEtqSARjhSaHpQZ28t0mbc/cHr31ri3NmX/T1q 8YUxERUnllYTidE/uyCV+W9MCseZzuBRbliEmDPmNhKHE1xwK+4KojkPfw0AhhR2 UwoD/qYqMPWDPiIZTArcW/T0Ktx7MOY3K4fxe+mm9bB5NlA2+Liz+r3YD9A9jiAM HuICt1fTbT4ynuW64S2rQclQhyM8Z9pXRkFVJXv4RiGWy4Kb0t5B+TJO9L0+asyw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrkeekgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofggtgfgsehtkeertd ertdejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr ihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeefleefhfduteehteetueeuteehfffghf eiiefhvdfgieduueejgeevudekgfffheenucffohhmrghinhepghhithhhuhgsrdgtohhm necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvoh esfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 13 Dec 2021 12:40:04 -0500 (EST) From: Leo Famulari Date: Mon, 13 Dec 2021 12:40:00 -0500 Message-Id: X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Received-SPF: pass client-ip=66.111.4.27; envelope-from=leo@famulari.name; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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 * gnu/packages/music.scm (opustags): New variable. --- gnu/packages/music.scm | 51 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 9d2fad853e..89306dd764 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2016 Al McElrath ;;; Copyright © 2016, 2017, 2019, 2021 Efraim Flashner -;;; Copyright © 2016, 2018 Leo Famulari +;;; Copyright © 2016, 2018, 2021 Leo Famulari ;;; Copyright © 2016, 2017, 2019 Kei Kebreau ;;; Copyright © 2016 John J. Foerch ;;; Copyright © 2016 Alex Griffin @@ -144,6 +144,7 @@ (define-module (gnu packages music) #:use-module (gnu packages pcre) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages perl-web) #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) @@ -6952,3 +6953,51 @@ (define-public a2jmidid midi devices to JACK midi devices.") (home-page "https://github.com/jackaudio/a2jmidid") (license license:gpl2))) + +(define-public opustags + (package + (name "opustags") + (version "1.6.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fmang/opustags") + (commit version))) + (sha256 + (base32 "1wsfw713rhi2gg5xc04cx5i31hlw0l3wdflj3r1y8w45bdk6ag1z")) + (file-name (git-file-name name version)))) + (arguments + `(#:test-target "check" + #:phases + (modify-phases %standard-phases + ;; This package does not use the perl-build-system, so we have to + ;; manually set up the Perl environment used by the test suite. + (add-before 'check 'setup-perl-environment + (lambda* (#:key inputs #:allow-other-keys) + (let* ((perl-list-moreutils-lib + (string-append (assoc-ref inputs "perl-list-moreutils") + "/lib/perl5/site_perl/" + ,(package-version perl))) + (perl-exporter-tiny-lib + (string-append (assoc-ref inputs "perl-exporter-tiny") + "/lib/perl5/site_perl/" + ,(package-version perl)))) + (setenv "PERL5LIB" (string-append perl-list-moreutils-lib ":" + perl-exporter-tiny-lib)))))))) + (build-system cmake-build-system) + (inputs + `(("libogg" ,libogg))) + (native-inputs + `(("pkg-config" ,pkg-config) + ;; For the test suite + ("ffmpeg" ,ffmpeg) + ("perl-exporter-tiny" ,perl-exporter-tiny) + ("perl-list-moreutils" ,perl-list-moreutils) + ("perl-test-harness" ,perl-test-harness))) + (synopsis "Ogg Opus tags editor") + (description "@code{opustags} is an Ogg Opus tag editor. It reads and edits +the comment header of an Ogg Opus audio file, offering both read-only and +editing modes. Tags can be edited interactively with an editor of your +choice.") + (home-page "https://github.com/fmang/opustags") + (license license:bsd-3)))