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:   js
Date:           Tue Dec 17 01:21:17 UTC 2024

Modified Files:
        pkgsrc/multimedia/mpv: Makefile PLIST

Log Message:
Fix building multimedia/mpv on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.172 -r1.173 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.16 -r1.17 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.172 pkgsrc/multimedia/mpv/Makefile:1.173
--- pkgsrc/multimedia/mpv/Makefile:1.172        Thu Nov 14 22:21:00 2024
+++ pkgsrc/multimedia/mpv/Makefile      Tue Dec 17 01:21:17 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.172 2024/11/14 22:21:00 wiz Exp $
+# $NetBSD: Makefile,v 1.173 2024/12/17 01:21:17 js Exp $
 
 DISTNAME=      mpv-0.39.0
 PKGREVISION=   3
@@ -51,6 +51,11 @@ LDFLAGS.SunOS+=              -lsocket
 
 .include "../../mk/bsd.prefs.mk"
 
+PLIST_VARS+=   desktop
+.if ${OPSYS} != "Darwin"
+PLIST.desktop= yes
+.endif
+
 #
 # 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.16 pkgsrc/multimedia/mpv/PLIST:1.17
--- pkgsrc/multimedia/mpv/PLIST:1.16    Wed May 15 20:37:20 2024
+++ pkgsrc/multimedia/mpv/PLIST Tue Dec 17 01:21:17 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2024/05/15 20:37:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.17 2024/12/17 01:21:17 js Exp $
 bin/mpv
 include/mpv/client.h
 include/mpv/render.h
@@ -9,7 +9,7 @@ lib/libmpv.so.2
 lib/libmpv.so.2.3.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/input.conf
 share/doc/mpv/mplayer-input.conf



Home | Main Index | Thread Index | Old Index