Mon Mar 16 21:20:43 2020 UTC ()
mpv: pkglint cleanup (whitespace only)


(wiz)
diff -r1.100 -r1.101 pkgsrc/multimedia/mpv/Makefile

cvs diff -r1.100 -r1.101 pkgsrc/multimedia/mpv/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/mpv/Makefile 2020/03/16 20:58:18 1.100
+++ pkgsrc/multimedia/mpv/Makefile 2020/03/16 21:20:43 1.101
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.100 2020/03/16 20:58:18 nia Exp $ 1# $NetBSD: Makefile,v 1.101 2020/03/16 21:20:43 wiz Exp $
2 2
3DISTNAME= mpv-0.32.0 3DISTNAME= mpv-0.32.0
4PKGREVISION= 5 4PKGREVISION= 5
5CATEGORIES= multimedia 5CATEGORIES= multimedia
6MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/}
7GITHUB_TAG= v${PKGVERSION_NOREV} 7GITHUB_TAG= v${PKGVERSION_NOREV}
8 8
9MAINTAINER= leot@NetBSD.org 9MAINTAINER= leot@NetBSD.org
10HOMEPAGE= https://mpv.io/ 10HOMEPAGE= https://mpv.io/
11COMMENT= Video player based on MPlayer and mplayer2 11COMMENT= Video player based on MPlayer and mplayer2
12LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 12LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
13 13
14# needs sem_timedwait(3) 14# needs sem_timedwait(3)
@@ -42,32 +42,32 @@ SUBST_MESSAGE.audio= Fixing path to audi @@ -42,32 +42,32 @@ SUBST_MESSAGE.audio= Fixing path to audi
42SUBST_CLASSES+= python 42SUBST_CLASSES+= python
43SUBST_SED.python+= -e "s,python,python${PYVERSSUFFIX}," 43SUBST_SED.python+= -e "s,python,python${PYVERSSUFFIX},"
44SUBST_SED.python+= -e "s,rst2man,rst2man-${PYVERSSUFFIX}," 44SUBST_SED.python+= -e "s,rst2man,rst2man-${PYVERSSUFFIX},"
45SUBST_FILES.python+= wscript 45SUBST_FILES.python+= wscript
46SUBST_STAGE.python= pre-configure 46SUBST_STAGE.python= pre-configure
47SUBST_MESSAGE.python= Fix Python command names. 47SUBST_MESSAGE.python= Fix Python command names.
48 48
49.include "../../mk/bsd.prefs.mk" 49.include "../../mk/bsd.prefs.mk"
50 50
51# 51#
52# At some point this should be consolidated into mk/platform/Darwin.mk, it is 52# At some point this should be consolidated into mk/platform/Darwin.mk, it is
53# here temporarily while any issues are ironed out and it can be made generic 53# here temporarily while any issues are ironed out and it can be made generic
54# for Swift handling. 54# for Swift handling.
55#  55#
56# On newer macOS releases there are a couple of swift compat static libraries 56# On newer macOS releases there are a couple of swift compat static libraries
57# that need to be added to the search path. 57# that need to be added to the search path.
58# 58#
59.if ${OPSYS} == "Darwin" 59.if ${OPSYS} == "Darwin"
60XCODE_DIR!= xcode-select -p 2>/dev/null || ${TRUE} 60XCODE_DIR!= xcode-select -p 2>/dev/null || ${TRUE}
61. if exists(${XCODE_DIR}/usr/lib/swift/macosx) 61. if exists(${XCODE_DIR}/usr/lib/swift/macosx)
62BUILDLINK_PASSTHRU_DIRS+= ${XCODE_DIR}/usr/lib/swift/macosx 62BUILDLINK_PASSTHRU_DIRS+= ${XCODE_DIR}/usr/lib/swift/macosx
63. elif exists(${XCODE_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx) 63. elif exists(${XCODE_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx)
64BUILDLINK_PASSTHRU_DIRS+= ${XCODE_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx 64BUILDLINK_PASSTHRU_DIRS+= ${XCODE_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx
65. endif 65. endif
66.endif 66.endif
67 67
68.if ${OPSYS} == "NetBSD" 68.if ${OPSYS} == "NetBSD"
69# Use audio(4) over ossaudio(4) on NetBSD. 69# Use audio(4) over ossaudio(4) on NetBSD.
70WAF_CONFIGURE_ARGS+= --disable-oss-audio 70WAF_CONFIGURE_ARGS+= --disable-oss-audio
71.endif 71.endif
72 72
73post-install: 73post-install: