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:   ryoon
Date:           Fri Jun  5 03:52:23 UTC 2020

Modified Files:
        pkgsrc/multimedia/mpv: Makefile PLIST
Added Files:
        pkgsrc/multimedia/mpv: buildlink3.mk

Log Message:
mpv: Enable libmpv shaerd library build, bump PKGREVISION

And add buildlink3.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/multimedia/mpv/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/mpv/buildlink3.mk

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.111 pkgsrc/multimedia/mpv/Makefile:1.112
--- pkgsrc/multimedia/mpv/Makefile:1.111        Tue Jun  2 08:24:27 2020
+++ pkgsrc/multimedia/mpv/Makefile      Fri Jun  5 03:52:23 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.111 2020/06/02 08:24:27 adam Exp $
+# $NetBSD: Makefile,v 1.112 2020/06/05 03:52:23 ryoon Exp $
 
 DISTNAME=      mpv-0.32.0
-PKGREVISION=   12
+PKGREVISION=   13
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpv-player/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -24,6 +24,7 @@ WAF_REPLACE_EXECUTABLE=       yes
 WAF_CONFIGURE_ARGS+=   --bindir=${PREFIX}/bin
 WAF_CONFIGURE_ARGS+=   --enable-dvdnav
 WAF_CONFIGURE_ARGS+=   --disable-egl-x11
+WAF_CONFIGURE_ARGS+=   --enable-libmpv-shared
 
 PYTHON_FOR_BUILD_ONLY= yes
 
@@ -33,6 +34,8 @@ MAKE_DIRS=            ${PKG_SYSCONFDIR}/mpv
 INSTALLATION_DIRS=     share/examples/mpv
 CONF_FILES+=           share/examples/mpv/encoding-profiles.conf ${PKG_SYSCONFDIR}/mpv/encoding-profiles.conf
 
+PKGCONFIG_OVERRIDE+=   libmpv/mpv.pc.in
+
 SUBST_CLASSES+=                audio
 SUBST_SED.audio+=      -e "s,/dev/dsp,${DEVOSSAUDIO},"
 SUBST_FILES.audio+=    audio/out/ao_oss.c

Index: pkgsrc/multimedia/mpv/PLIST
diff -u pkgsrc/multimedia/mpv/PLIST:1.9 pkgsrc/multimedia/mpv/PLIST:1.10
--- pkgsrc/multimedia/mpv/PLIST:1.9     Sun Jan 26 21:28:11 2020
+++ pkgsrc/multimedia/mpv/PLIST Fri Jun  5 03:52:23 2020
@@ -1,5 +1,15 @@
-@comment $NetBSD: PLIST,v 1.9 2020/01/26 21:28:11 leot Exp $
+@comment $NetBSD: PLIST,v 1.10 2020/06/05 03:52:23 ryoon Exp $
 bin/mpv
+include/mpv/client.h
+include/mpv/opengl_cb.h
+include/mpv/qthelper.hpp
+include/mpv/render.h
+include/mpv/render_gl.h
+include/mpv/stream_cb.h
+lib/libmpv.so
+lib/libmpv.so.1
+lib/libmpv.so.1.107.0
+lib/pkgconfig/mpv.pc
 man/man1/mpv.1
 share/applications/mpv.desktop
 share/bash-completion/completions/mpv

Added files:

Index: pkgsrc/multimedia/mpv/buildlink3.mk
diff -u /dev/null pkgsrc/multimedia/mpv/buildlink3.mk:1.1
--- /dev/null   Fri Jun  5 03:52:23 2020
+++ pkgsrc/multimedia/mpv/buildlink3.mk Fri Jun  5 03:52:23 2020
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/06/05 03:52:23 ryoon Exp $
+
+BUILDLINK_TREE+=       mpv
+
+.if !defined(MPV_BUILDLINK3_MK)
+MPV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.mpv+=    mpv>=0.32.0nb13
+BUILDLINK_PKGSRCDIR.mpv?=      ../../multimedia/mpv
+
+.endif # MPV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -mpv



Home | Main Index | Thread Index | Old Index