[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
72/285: gnu: Add mpv-mpris.
From: |
guix-commits |
Subject: |
72/285: gnu: Add mpv-mpris. |
Date: |
Sun, 29 Dec 2019 20:44:03 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome3.34
in repository guix.
commit 670df2b865fd0d189041b565c8d29f4dd5f719e8
Author: Efraim Flashner <address@hidden>
Date: Fri Dec 20 11:03:33 2019 +0200
gnu: Add mpv-mpris.
* gnu/packages/video.scm (mpv-mpris): New variable.
---
gnu/packages/video.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ef60767..1696560 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1436,6 +1436,49 @@ projects while introducing many more.")
(define-public gnome-mpv
(deprecated-package "gnome-mpv" celluloid))
+(define-public mpv-mpris
+ (package
+ (name "mpv-mpris")
+ (version "0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hoyon/mpv-mpris")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "06hq3j1jjlaaz9ss5l7illxz8vm5bng86jl24kawglwkqayhdnjx"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ #:make-flags '("CC=gcc")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (install-file "mpris.so" (string-append out "/lib")))
+ #t)))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("glib" ,glib)
+ ("mpv" ,mpv)))
+ (home-page "https://github.com/hoyon/mpv-mpris")
+ (synopsis "MPRIS plugin for mpv")
+ (description "This package provides an @dfn{MPRIS} (Media Player Remote
+Interfacing Specification) plugin for the @code{mpv} media player. It
implements
+@code{org.mpris.MediaPlayer2} and @code{org.mpris.MediaPlayer2.Player} D-Bus
+interfaces.
+
+To load this plugin, specify the following option when starting mpv:
+@code{--script $GUIX_PROFILE/lib/mpris.so} or link it into
+@file{$HOME/.config/mpv/scripts}.")
+ (license license:expat)))
+
(define-public libvpx
(package
(name "libvpx")
- 108/285: gnu: samba: Update to 4.11.4., (continued)
- 108/285: gnu: samba: Update to 4.11.4., guix-commits, 2019/12/29
- 117/285: gnu: gumbo-parser: Don't use unstable tarball., guix-commits, 2019/12/29
- 121/285: gnu: hiawatha: Update to 10.10., guix-commits, 2019/12/29
- 129/285: gnu: Add python-funcparserlib., guix-commits, 2019/12/29
- 135/285: gnu: Add arm-none-eabi-nano-toolchain-7-2018-q2-update., guix-commits, 2019/12/29
- 130/285: gnu: python-hy: Update to 0.17.0., guix-commits, 2019/12/29
- 134/285: gnu: Add arm-none-eabi-toolchain-7-2018-q2-update., guix-commits, 2019/12/29
- 136/285: gnu: axoloti-patcher, axoloti-runtime: Update to 1.0.12-2., guix-commits, 2019/12/29
- 141/285: gnu: ffmpegthumbnailer: Update to 2.2.2., guix-commits, 2019/12/29
- 140/285: gnu: celluloid: Update to 0.18., guix-commits, 2019/12/29
- 72/285: gnu: Add mpv-mpris.,
guix-commits <=
- 71/285: gnu: Remove "tags" properties for KDE games., guix-commits, 2019/12/29
- 100/285: gnu: bigloo: Use HTTPS home page., guix-commits, 2019/12/29
- 99/285: gnu: bigloo: Update to 4.3f., guix-commits, 2019/12/29
- 101/285: gnu: diffstat: Update to 1.63., guix-commits, 2019/12/29
- 106/285: gnu: talloc: Update to 2.3.1., guix-commits, 2019/12/29
- 103/285: gnu: wine: Update to 4.0.3., guix-commits, 2019/12/29
- 105/285: gnu: tdb: Update to 1.4.3., guix-commits, 2019/12/29
- 104/285: gnu: oniguruma: Update to 6.9.4., guix-commits, 2019/12/29
- 109/285: gnu: hplip: Update to 3.19.12., guix-commits, 2019/12/29
- 112/285: gnu: libxdg-basedir: Don't use unstable tarball., guix-commits, 2019/12/29