Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Enable libmpv shaerd library build...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff65eadf3e31
branches:  trunk
changeset: 433580:ff65eadf3e31
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Jun 05 03:52:23 2020 +0000

description:
mpv: Enable libmpv shaerd library build, bump PKGREVISION

And add buildlink3.mk.

diffstat:

 multimedia/mpv/Makefile      |   7 +++++--
 multimedia/mpv/PLIST         |  12 +++++++++++-
 multimedia/mpv/buildlink3.mk |  13 +++++++++++++
 3 files changed, 29 insertions(+), 3 deletions(-)

diffs (67 lines):

diff -r 4a76ee7a6492 -r ff65eadf3e31 multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile   Fri Jun 05 03:46:29 2020 +0000
+++ b/multimedia/mpv/Makefile   Fri Jun 05 03:52:23 2020 +0000
@@ -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_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 @@
 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
diff -r 4a76ee7a6492 -r ff65eadf3e31 multimedia/mpv/PLIST
--- a/multimedia/mpv/PLIST      Fri Jun 05 03:46:29 2020 +0000
+++ b/multimedia/mpv/PLIST      Fri Jun 05 03:52:23 2020 +0000
@@ -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
diff -r 4a76ee7a6492 -r ff65eadf3e31 multimedia/mpv/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpv/buildlink3.mk      Fri Jun 05 03:52:23 2020 +0000
@@ -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