pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/mpv



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Nov 11 22:39:54 UTC 2026

Modified Files:
        pkgsrc/multimedia/mpv: Makefile PLIST

Log Message:
mpv: Add back PLIST.desktop

The .desktop file is not installed on macOS.
Add a PRINT_PLIST_AWK to handle that and regen the PLIST.

Pointed out by arcathrax in private email.


To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/multimedia/mpv/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/mpv/Makefile
diff -u pkgsrc/multimedia/mpv/Makefile:1.193 pkgsrc/multimedia/mpv/Makefile:1.194
--- pkgsrc/multimedia/mpv/Makefile:1.193        Wed Nov 11 11:54:51 2026
+++ pkgsrc/multimedia/mpv/Makefile      Wed Nov 11 22:39:54 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.193 2026/11/11 11:54:51 wiz Exp $
+# $NetBSD: Makefile,v 1.194 2026/11/11 22:39:54 leot Exp $
 
 DISTNAME=      mpv-0.42.0
 PKGREVISION=   2
@@ -54,6 +54,8 @@ PLIST_VARS+=  desktop
 PLIST.desktop= yes
 .endif
 
+PRINT_PLIST_AWK+=      /\.desktop$$/ { $$0 = "$${PLIST.desktop}" $$0 }
+
 #
 # At some point this should be consolidated into mk/platform/Darwin.mk, it is
 # here temporarily while any issues are ironed out and it can be made generic

Index: pkgsrc/multimedia/mpv/PLIST
diff -u pkgsrc/multimedia/mpv/PLIST:1.20 pkgsrc/multimedia/mpv/PLIST:1.21
--- pkgsrc/multimedia/mpv/PLIST:1.20    Thu Nov  5 22:27:04 2026
+++ pkgsrc/multimedia/mpv/PLIST Wed Nov 11 22:39:54 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2026/11/05 22:27:04 leot Exp $
+@comment $NetBSD: PLIST,v 1.21 2026/11/11 22:39:54 leot Exp $
 bin/mpv
 include/mpv/client.h
 include/mpv/render.h
@@ -10,7 +10,7 @@ lib/libmpv.so.2
 lib/libmpv.so.2.6.0
 lib/pkgconfig/mpv.pc
 man/man1/mpv.1
-share/applications/mpv.desktop
+${PLIST.desktop}share/applications/mpv.desktop
 share/bash-completion/completions/mpv
 share/doc/mpv/encoding-profiles.conf
 share/doc/mpv/input.conf



Home | Main Index | Thread Index | Old Index