diff options
author | cpm <cpm@FreeBSD.org> | 2018-08-16 03:34:41 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2018-08-16 03:34:41 +0800 |
commit | ae9c05e92efe1ee498d64efd5937eadcd4a0c665 (patch) | |
tree | cf6c9246128d97fb2877dc45656993c84f224ad5 /multimedia/mpv | |
parent | 9047a066577893376762177ce63f242aa06eac17 (diff) | |
download | freebsd-ports-gnome-ae9c05e92efe1ee498d64efd5937eadcd4a0c665.tar.gz freebsd-ports-gnome-ae9c05e92efe1ee498d64efd5937eadcd4a0c665.tar.zst freebsd-ports-gnome-ae9c05e92efe1ee498d64efd5937eadcd4a0c665.zip |
- Add MASTER_SITES to fetch waf because the previous GH repository has been moved
- Update waf to 2.0.9 that includes fixes to build Mpv with Python 3 [1]
- Add OPENAL option [2]
- Bump PORTREVISION
PR: 230651 [1], 230650 [2]
Reported by: tobik
Diffstat (limited to 'multimedia/mpv')
-rw-r--r-- | multimedia/mpv/Makefile | 18 | ||||
-rw-r--r-- | multimedia/mpv/distinfo | 6 |
2 files changed, 15 insertions, 9 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 666c472479cf..1207a41d69d4 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -3,10 +3,12 @@ PORTNAME= mpv PORTVERSION= 0.29.0 -PORTREVISION= 2 DISTVERSIONPREFIX= v +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= multimedia audio +MASTER_SITES= http://www.freehackers.org/~tnagy/release/:source1 +DISTFILES= ${WAF_RELEASE}${EXTRACT_SUFX}:source1 MAINTAINER= cpm@FreeBSD.org COMMENT= Free and open-source general-purpose video player @@ -18,15 +20,15 @@ BUILD_DEPENDS= ffmpeg>=4.0.2,1:multimedia/ffmpeg LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg USES= compiler:c11 desktop-file-utils iconv jpeg localbase:ldflags \ - pkgconfig python:build waf + pkgconfig python:build tar:bz2 waf USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= mpv-player -# Keep in sync with bootstrap.py to avoid regressions -GH_TUPLE= waf-project:waf:waf-1.9.8:waf -WAF_CMD= ${WRKSRC_waf}/waf-light +# Keep in sync with bootstrap.py to avoid regressions +WAF_CMD= ${WRKDIR}/${WAF_RELEASE}/waf-light +WAF_RELEASE= waf-2.0.9 CONFIGURE_ENV= BIN_PYTHON="${PYTHON_CMD}" CONFIGURE_ARGS= --docdir="${EXAMPLESDIR}" \ @@ -46,7 +48,7 @@ OPTIONS_DEFAULT= ARCHIVE ASS DVDREAD DVDNAV MANPAGES OPENGL UCHARDET \ OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO DVDREAD DVDNAV LIBBLURAY V4L YTDL SMB OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU WAYLAND X11 -OPTIONS_GROUP_AO= ALSA JACK PULSEAUDIO SDL SNDIO +OPTIONS_GROUP_AO= ALSA JACK OPENAL PULSEAUDIO SDL SNDIO OPTIONS_SUB= yes ASS_DESC= ASS/SSA subtitle and OSD rendering @@ -102,6 +104,10 @@ LUAJIT_CONFIGURE_OFF= --lua=${LUA_VER_STR}fbsd MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_CONFIGURE_OFF= --disable-manpage +OPENAL_CONFIGURE_ENABLE= openal +OPENAL_USES= openal +OPENAL_VARS= LLD_UNSAFE=yes # cf. PR 226980 + OPENGL_USE= GL=egl,gbm,gl OPENGL_CONFIGURE_OFF= --disable-gl OPENGL_IMPLIES= X11 diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo index add8d7fd4050..a491068f5136 100644 --- a/multimedia/mpv/distinfo +++ b/multimedia/mpv/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1532377368 +TIMESTAMP = 1534349028 +SHA256 (waf-2.0.9.tar.bz2) = cb40489da7a78384dbc8281e6bc3e88005885a5d07de5bf75c29514e05830277 +SIZE (waf-2.0.9.tar.bz2) = 645737 SHA256 (mpv-player-mpv-v0.29.0_GH0.tar.gz) = 772af878cee5495dcd342788a6d120b90c5b1e677e225c7198f1e76506427319 SIZE (mpv-player-mpv-v0.29.0_GH0.tar.gz) = 3057997 -SHA256 (waf-project-waf-waf-1.9.8_GH0.tar.gz) = b487efec83ea33cf8df0495cc5730e245f8dc8784e68aebf3dcf07c6712c5913 -SIZE (waf-project-waf-waf-1.9.8_GH0.tar.gz) = 628874 |