diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2015-05-08 20:41:25 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2015-05-08 20:41:25 +0000 |
commit | 6cc38378eb626375d8c0867a3460ec95010a58cc (patch) | |
tree | 82f120cac55b859a4637631a3afe9fcc6ca3660b /multimedia | |
parent | - Use DISTVERSIONPREFIX instead of GH_TAGNAME (diff) |
multimedia/mpv: 0.8.3 -> 0.9.1
- Added CONFLICTS_BUILD variable to avoid ffmpeg build error
- Cleanup Makefile (e.g. LIRC support was removed)
ChangeLog
https://github.com/mpv-player/mpv/releases/tag/v0.9.1
PR: 198758
Submitted by: Carlos Jacobo Puga Medina <cpm@fbsd.es> (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mpv/Makefile | 14 | ||||
-rw-r--r-- | multimedia/mpv/distinfo | 8 | ||||
-rw-r--r-- | multimedia/mpv/files/patch-wscript | 45 | ||||
-rw-r--r-- | multimedia/mpv/pkg-plist | 2 |
4 files changed, 56 insertions, 13 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 551645652b0c..c9ccc59238b6 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mpv -PORTVERSION= 0.8.3 +PORTVERSION= 0.9.1 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= multimedia audio @@ -16,7 +16,7 @@ COMMENT= Free and open-source general-purpose video player LICENSE= GPLv2 -LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ +LIB_DEPENDS= libavcodec26.so:${PORTSDIR}/multimedia/ffmpeg26 \ libass.so:${PORTSDIR}/multimedia/libass \ libdvdread.so:${PORTSDIR}/multimedia/libdvdread \ libdvdnav.so:${PORTSDIR}/multimedia/libdvdnav @@ -25,7 +25,7 @@ BUILD_DEPENDS= rst2man:${PORTSDIR}/textproc/py-docutils USE_GITHUB= yes GH_ACCOUNT= mpv-player -WAF_VERSION= 1.8.7 +WAF_VERSION= 1.8.9 USES= compiler:c11 desktop-file-utils iconv pkgconfig python:build waf USE_XORG= x11 xv xxf86vm @@ -41,11 +41,12 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \ --disable-debug-build \ --disable-optimize \ --enable-libmpv-shared \ - --disable-mpg123 \ --disable-alsa \ --disable-pdf -OPTIONS_DEFINE= BS2B DOCS ENCA LADSPA LCMS2 LIBGUESS LIRC LUAJIT ZSH +CONFLICTS_BUILD= ffmpeg + +OPTIONS_DEFINE= BS2B DOCS ENCA LADSPA LCMS2 LIBGUESS LUAJIT ZSH OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO LIBBLURAY V4L YTDL SMB OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU XINERAMA @@ -76,9 +77,6 @@ LCMS2_CONFIGURE_ENABLE= lcms2 LIBGUESS_LIB_DEPENDS= libguess.so:${PORTSDIR}/textproc/libguess LIBGUESS_CONFIGURE_ENABLE= libguess -LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc -LIRC_CONFIGURE_ENABLE= lirc - LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit LUAJIT_USES_OFF= lua LUAJIT_CONFIGURE_ON= --lua=luajit diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo index 7708a71587ed..22a193a67e19 100644 --- a/multimedia/mpv/distinfo +++ b/multimedia/mpv/distinfo @@ -1,4 +1,4 @@ -SHA256 (mpv-player-mpv-v0.8.3_GH0.tar.gz) = 091038c802866848e3647f2a50215fa64ead0dc36f9114457db8b353528689cf -SIZE (mpv-player-mpv-v0.8.3_GH0.tar.gz) = 2664730 -SHA256 (waf-1.8.7) = 0c637a207f35412feb134e9995dc2d0b7918236210a34cabec011464a4b8ad13 -SIZE (waf-1.8.7) = 96856 +SHA256 (mpv-player-mpv-v0.9.1_GH0.tar.gz) = 5d23688575d2cc4484f7feef628c690f68016e385622201894d02cb238ea179e +SIZE (mpv-player-mpv-v0.9.1_GH0.tar.gz) = 2698031 +SHA256 (waf-1.8.9) = 751b4a0338a94e557c554b32e19137f70b67f3b2d1e748281f543307ce796674 +SIZE (waf-1.8.9) = 97060 diff --git a/multimedia/mpv/files/patch-wscript b/multimedia/mpv/files/patch-wscript new file mode 100644 index 000000000000..56eb8dbe6937 --- /dev/null +++ b/multimedia/mpv/files/patch-wscript @@ -0,0 +1,45 @@ +--- wscript.orig 2015-04-29 10:03:56 UTC ++++ wscript +@@ -374,10 +374,10 @@ iconv support use --disable-iconv.", + ] + + libav_pkg_config_checks = [ +- 'libavutil', '>= 54.02.0', +- 'libavcodec', '>= 56.1.0', +- 'libavformat', '>= 56.01.0', +- 'libswscale', '>= 2.1.3' ++ 'libavutil26', '>= 54.02.0', ++ 'libavcodec26', '>= 56.1.0', ++ 'libavformat26', '>= 56.01.0', ++ 'libswscale26', '>= 2.1.3' + ] + libav_versions_string = "FFmpeg 2.4 or Libav 11" + +@@ -392,11 +392,11 @@ FFmpeg/Libav libraries. You need at leas + }, { + 'name': '--libswresample', + 'desc': 'libswresample', +- 'func': check_pkg_config('libswresample', '>= 1.1.100'), ++ 'func': check_pkg_config('libswresample26', '>= 1.1.100'), + }, { + 'name': '--libavresample', + 'desc': 'libavresample', +- 'func': check_pkg_config('libavresample', '>= 2.1.0'), ++ 'func': check_pkg_config('libavresample26', '>= 2.1.0'), + 'deps_neg': ['libswresample'], + }, { + 'name': 'resampler', +@@ -408,11 +408,11 @@ FFmpeg/Libav libraries. You need at leas + }, { + 'name': '--libavfilter', + 'desc': 'libavfilter', +- 'func': check_pkg_config('libavfilter', '>= 5.0.0'), ++ 'func': check_pkg_config('libavfilter26', '>= 5.0.0'), + }, { + 'name': '--libavdevice', + 'desc': 'libavdevice', +- 'func': check_pkg_config('libavdevice', '>= 55.0.0'), ++ 'func': check_pkg_config('libavdevice26', '>= 55.0.0'), + }, { + 'name': 'avcodec-chroma-pos-api', + 'desc': 'libavcodec avcodec_enum_to_chroma_pos API', diff --git a/multimedia/mpv/pkg-plist b/multimedia/mpv/pkg-plist index bfdbcb59f8b0..c67d0de25b61 100644 --- a/multimedia/mpv/pkg-plist +++ b/multimedia/mpv/pkg-plist @@ -5,7 +5,7 @@ include/mpv/opengl_cb.h include/mpv/qthelper.hpp lib/libmpv.so lib/libmpv.so.1 -lib/libmpv.so.1.14.0 +lib/libmpv.so.1.16.0 libdata/pkgconfig/mpv.pc man/man1/mpv.1.gz share/applications/mpv.desktop |