View | Details | Raw Unified | Return to bug 201295
Collapse All | Expand All

(-)/usr/ports/multimedia/mpv/Makefile (-2 / +3 lines)
Lines 4-9 Link Here
4
PORTNAME=	mpv
4
PORTNAME=	mpv
5
PORTVERSION=	0.9.2
5
PORTVERSION=	0.9.2
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
PORTREVISION=	1
7
PORTEPOCH=	1
8
PORTEPOCH=	1
8
CATEGORIES=	multimedia audio
9
CATEGORIES=	multimedia audio
9
MASTER_SITES=	http://ftp.waf.io/pub/release/:1 \
10
MASTER_SITES=	http://ftp.waf.io/pub/release/:1 \
Lines 16-22 Link Here
16
17
17
LICENSE=	GPLv2
18
LICENSE=	GPLv2
18
19
19
LIB_DEPENDS=	libavcodec26.so:${PORTSDIR}/multimedia/ffmpeg26 \
20
LIB_DEPENDS=	libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
20
		libass.so:${PORTSDIR}/multimedia/libass \
21
		libass.so:${PORTSDIR}/multimedia/libass \
21
		libdvdread.so:${PORTSDIR}/multimedia/libdvdread \
22
		libdvdread.so:${PORTSDIR}/multimedia/libdvdread \
22
		libdvdnav.so:${PORTSDIR}/multimedia/libdvdnav
23
		libdvdnav.so:${PORTSDIR}/multimedia/libdvdnav
Lines 32-38 Link Here
32
USE_LDCONFIG=	yes
33
USE_LDCONFIG=	yes
33
INSTALLS_ICONS=	yes
34
INSTALLS_ICONS=	yes
34
35
35
CPPFLAGS+=	-I.. -I${LOCALBASE}/include/ffmpeg26 -I${LOCALBASE}/include
36
CPPFLAGS+=	-I.. -I${LOCALBASE}/include/ffmpeg -I${LOCALBASE}/include
36
LDFLAGS+=	-L${LOCALBASE}/lib
37
LDFLAGS+=	-L${LOCALBASE}/lib
37
38
38
CONFIGURE_ARGS=	--prefix=${PREFIX} \
39
CONFIGURE_ARGS=	--prefix=${PREFIX} \
(-)/usr/ports/multimedia/mpv/files/patch-wscript (-45 lines)
Lines 1-45 Link Here
1
--- wscript.orig	2015-04-29 10:03:56 UTC
2
+++ wscript
3
@@ -374,10 +374,10 @@ iconv support use --disable-iconv.",
4
 ]
5
 
6
 libav_pkg_config_checks = [
7
-    'libavutil',   '>= 54.02.0',
8
-    'libavcodec',  '>= 56.1.0',
9
-    'libavformat', '>= 56.01.0',
10
-    'libswscale',  '>= 2.1.3'
11
+    'libavutil26',   '>= 54.02.0',
12
+    'libavcodec26',  '>= 56.1.0',
13
+    'libavformat26', '>= 56.01.0',
14
+    'libswscale26',  '>= 2.1.3'
15
 ]
16
 libav_versions_string = "FFmpeg 2.4 or Libav 11"
17
 
18
@@ -392,11 +392,11 @@ FFmpeg/Libav libraries. You need at leas
19
     }, {
20
         'name': '--libswresample',
21
         'desc': 'libswresample',
22
-        'func': check_pkg_config('libswresample', '>= 1.1.100'),
23
+        'func': check_pkg_config('libswresample26', '>= 1.1.100'),
24
     }, {
25
         'name': '--libavresample',
26
         'desc': 'libavresample',
27
-        'func': check_pkg_config('libavresample',  '>= 2.1.0'),
28
+        'func': check_pkg_config('libavresample26',  '>= 2.1.0'),
29
         'deps_neg': ['libswresample'],
30
     }, {
31
         'name': 'resampler',
32
@@ -408,11 +408,11 @@ FFmpeg/Libav libraries. You need at leas
33
     }, {
34
         'name': '--libavfilter',
35
         'desc': 'libavfilter',
36
-        'func': check_pkg_config('libavfilter', '>= 5.0.0'),
37
+        'func': check_pkg_config('libavfilter26', '>= 5.0.0'),
38
     }, {
39
         'name': '--libavdevice',
40
         'desc': 'libavdevice',
41
-        'func': check_pkg_config('libavdevice', '>= 55.0.0'),
42
+        'func': check_pkg_config('libavdevice26', '>= 55.0.0'),
43
     }, {
44
         'name': 'avcodec-chroma-pos-api',
45
         'desc': 'libavcodec avcodec_enum_to_chroma_pos API',

Return to bug 201295