aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-02 10:48:22 -0300
committerEuAndreh <eu@euandre.org>2025-03-02 10:48:22 -0300
commit8e48e6c7cefcde2f3f2f9bcaeb11b05b1480cd70 (patch)
treeb85f6419d38c5e309720c3acf9378aae053ca644 /etc
parentbin/webcam: Add working utility (diff)
downloaddotfiles-8e48e6c7cefcde2f3f2f9bcaeb11b05b1480cd70.tar.gz
dotfiles-8e48e6c7cefcde2f3f2f9bcaeb11b05b1480cd70.tar.xz
etc/guix/home.scm: Add improved and customizes mpv and ffmpeg
Diffstat (limited to 'etc')
-rw-r--r--etc/guix/home.scm26
1 files changed, 24 insertions, 2 deletions
diff --git a/etc/guix/home.scm b/etc/guix/home.scm
index aa7c93f..2857889 100644
--- a/etc/guix/home.scm
+++ b/etc/guix/home.scm
@@ -30,7 +30,9 @@
musl
python-build
wm
- xdisorg)
+ video
+ xdisorg
+ xml)
(heredoc:enable-syntax)
@@ -79,6 +81,26 @@
(modify-inputs (package-native-inputs gcc-14)
(append flex)))))
+(define ffmpeg-7-xml
+ (package
+ (inherit ffmpeg-7)
+ (arguments
+ (substitute-keyword-arguments (package-arguments ffmpeg-7)
+ ((#:configure-flags flags)
+ #~(append
+ #$flags
+ '("--enable-libxml2")))))
+ (inputs
+ (modify-inputs (package-inputs ffmpeg-7)
+ (append libxml2)))))
+
+(define mpv-ffmpeg-7-xml
+ (package
+ (inherit mpv)
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs mpv)
+ (replace "ffmpeg" ffmpeg-7-xml)))))
+
(define (slurp name)
(string-trim-both
@@ -485,7 +507,6 @@
imagemagick
cups
libreoffice
- mpv
vlc
font-openmoji
syncthing-gtk
@@ -510,6 +531,7 @@
(list
gm2
tiniercc
+ mpv-ffmpeg-7-xml
q:go-full)
(list
(script "cronjob"