GNU bug report logs -
#73936
[PATCH] gnu: Add tuner.
Previous Next
Reported by: ashish.is <at> lostca.se
Date: Mon, 21 Oct 2024 17:56:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
El 2024-12-31 21:40, Zheng Junjie escribió:
> Ashish SHUKLA via Guix-patches via <guix-patches <at> gnu.org> writes:
>
> > * gnu/packages/music.scm (tuner): New variable.
> >
> > Change-Id: I4ceb4b06069c460785b477cc017dc249f786dfa1
> > ---
> > gnu/packages/music.scm | 54 ++++++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 54 insertions(+)
> >
> > diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
> > index 6825f14dcc..77922d9576 100644
> > --- a/gnu/packages/music.scm
> > +++ b/gnu/packages/music.scm
> > @@ -59,6 +59,7 @@
> > ;;; Copyright © 2024 Parnikkapore <poomklao <at> yahoo.com>
> > ;;; Copyright © 2024 hapster <o.rojon <at> posteo.net>
> > ;;; Copyright © 2024 Nikita Domnitskii <nikita <at> domnitskii.me>
> > +;;; Copyright © 2024 Ashish SHUKLA <ashish.is <at> lostca.se>
> > ;;;
> > ;;; This file is part of GNU Guix.
> > ;;;
> > @@ -168,6 +169,7 @@ (define-module (gnu packages music)
> > #:use-module (gnu packages ncurses)
> > #:use-module (gnu packages netpbm)
> > #:use-module (gnu packages networking)
> > + #:use-module (gnu packages pantheon)
> > #:use-module (gnu packages pcre)
> > #:use-module (gnu packages pdf)
> > #:use-module (gnu packages perl)
> > @@ -2868,6 +2870,58 @@ (define-public bristol
> > is subjective.")
> > (license license:gpl3+)))
> >
> > +(define-public tuner
> > + (package
> > + (name "tuner")
> > + (version "1.5.6")
> > + (source (origin
> > + (method git-fetch)
> > + (uri (git-reference
> > + (url "https://github.com/louis77/tuner")
> > + (commit (string-append "v" version))))
> > + (file-name (git-file-name name version))
> > + (sha256 (base32 "0zz91n56vdwhjwqscl21016i4l4lx3m6ja0fnrapmf16bdl0rrai"))))
> > + (build-system meson-build-system)
> > + (native-inputs
> > + (list desktop-file-utils ; update-desktop-database
> > + gettext-minimal
> > + `(,glib "bin") ; glib-compile-schemas
> > + ; for org.gnome.system.proxy schema
> > + gsettings-desktop-schemas
> > + `(,gtk "bin") ; gtk-update-icon-cache
> > + pkg-config
> > + vala))
> > + (inputs
> > + (list bash-minimal
> > + glib
> > + granite-6
> > + gtk+
> > + libgee
> > + gstreamer
> > + gst-plugins-base ; for gstreamer 'playbin'
> > + gst-plugins-good ; for gstreamer 'scaletempo'
> > + gst-plugins-bad
> > + libsoup
> > + json-glib-minimal))
> > + (arguments
> > + (list
> > + #:glib-or-gtk? #t
> > + #:phases
> > + #~(modify-phases %standard-phases
> > + (add-after 'install 'wrap-tuner
> > + (lambda* (#:key outputs #:allow-other-keys)
> > + (let ((out (assoc-ref outputs "out"))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> please remove it.
> > + (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
> > + (wrap-program (string-append out "/bin/com.github.louis77.tuner")
> ^^^ for gexp, just use #$output
>
> And this application's bin is com.github.louis77.tuner, maybe add a
> soft link called tuner? Of course, this comment can be ignored.
It's upstream's preference to have their executable named like this, so I'm not in the opinion of changing it.
Thanks!
--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
"If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.