From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 68250@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>,
Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
Munyoki Kilyungi <me@bonfacemunyoki.com>,
jgart <jgart@dismail.de>
Subject: [bug#68250] [PATCH] gnu: Add libmpv.
Date: Fri, 5 Jan 2024 13:06:17 +0800 [thread overview]
Message-ID: <521d0ba6e3d10b3b8aa98b35862d819c82223412.1704430613.git.hako@ultrarare.space> (raw)
* gnu/packages/video.scm (libmpv): New variable.
(mpv)[arguments]<#:configure-flags>: Remove libmpv library.
(celluloid,mpv-mpris)[inputs]: Replace mpv with libmpv.
* gnu/packages/kde-plasma.scm (plasmatube)[inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-mpv)[inputs]: Likewise.
Change-Id: I7c0a808f9d54f9bfd98b3d2632316c7d58b67896
---
gnu/packages/kde-plasma.scm | 2 +-
gnu/packages/python-xyz.scm | 2 +-
gnu/packages/video.scm | 24 ++++++++++++++++++++----
3 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 331ab28cd1..0527fa136a 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1611,12 +1611,12 @@ (define-public plasmatube
(list kconfig
kirigami
ki18n
+ libmpv
qtbase-5
qtdeclarative-5
qtmultimedia-5
qtquickcontrols2-5
qtsvg-5
- mpv
youtube-dl))
(home-page "https://apps.kde.org/plasmatube/")
(synopsis "Kirigami YouTube video player")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2afce6c667..b23eaaadfc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33948,7 +33948,7 @@ (define-public python-mpv
(setenv "HOME" (getcwd)))))))
(native-inputs
(list python-xvfbwrapper)) ; needed for tests only
- (inputs (list mpv))
+ (inputs (list libmpv))
(propagated-inputs (list python-pillow)) ; for raw screenshots
(home-page "https://github.com/jaseg/python-mpv")
(synopsis "Python interface to the mpv media player")
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6da4897a57..b532181225 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -867,7 +867,7 @@ (define-public celluloid
pkg-config
python-wrapper)) ; for generate-authors.py
(inputs
- (list gtk libadwaita libepoxy mpv))
+ (list gtk libadwaita libepoxy libmpv))
(home-page "https://github.com/celluloid-player/celluloid")
(synopsis "GTK+ frontend for the mpv media player")
(description "Celluloid is a simple GTK+ frontend for the mpv media player.
@@ -2367,8 +2367,7 @@ (define-public mpv
;; Set PYTHONHASHSEED as a workaround for deterministic results.
(setenv "PYTHONHASHSEED" "1"))))
#:configure-flags
- #~(list "-Dlibmpv=true"
- "-Dcdda=enabled"
+ #~(list "-Dcdda=enabled"
"-Ddvdnav=enabled"
"-Dbuild-date=false")))
(native-inputs
@@ -2422,6 +2421,23 @@ (define-public mpv
projects while introducing many more.")
(license license:gpl2+)))
+(define-public libmpv
+ (package
+ (inherit mpv)
+ (name "libmpv")
+ (arguments
+ (substitute-keyword-arguments (package-arguments mpv)
+ ((#:configure-flags flags ''())
+ #~(cons* "-Dcplayer=false"
+ "-Dlibmpv=true"
+ #$flags))))
+ (native-inputs
+ (modify-inputs (package-native-inputs mpv)
+ (delete "perl" "python-docutils")))
+ (propagated-inputs (package-inputs mpv))
+ (inputs '())
+ (synopsis "mpv media player client library")))
+
(define-public smplayer
(package
(name "smplayer")
@@ -2524,7 +2540,7 @@ (define-public mpv-mpris
(native-inputs
(list pkg-config))
(inputs
- (list ffmpeg glib mpv))
+ (list ffmpeg glib libmpv))
(home-page "https://github.com/hoyon/mpv-mpris")
(synopsis "MPRIS plugin for mpv")
(description "This package provides an @dfn{MPRIS} (Media Player Remote
base-commit: be1d05c10766a979dd0720b677889ed950d3b895
--
2.41.0
next reply other threads:[~2024-01-05 5:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-05 5:06 Hilton Chain via Guix-patches via [this message]
2024-01-06 4:23 ` [bug#68250] [PATCH v2] gnu: mpv: Fix pkgconfig file Hilton Chain via Guix-patches via
2024-01-10 18:24 ` Josselin Poiret via Guix-patches via
2024-01-13 6:48 ` Hilton Chain via Guix-patches via
2024-01-19 2:05 ` Maxim Cournoyer
2024-02-01 5:01 ` Hilton Chain via Guix-patches via
2024-02-05 19:37 ` Maxim Cournoyer
2024-02-26 16:01 ` Maxim Cournoyer
2024-02-27 1:31 ` Hilton Chain 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=521d0ba6e3d10b3b8aa98b35862d819c82223412.1704430613.git.hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc=68250@debbugs.gnu.org \
--cc=hako@ultrarare.space \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
--cc=marius@gnu.org \
--cc=me@bonfacemunyoki.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).