Lines 4-9
Link Here
|
4 |
PORTNAME= mpv |
4 |
PORTNAME= mpv |
5 |
PORTVERSION= 0.16.0 |
5 |
PORTVERSION= 0.16.0 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
|
|
7 |
PORTREVISION= 1 |
7 |
PORTEPOCH= 1 |
8 |
PORTEPOCH= 1 |
8 |
CATEGORIES= multimedia audio |
9 |
CATEGORIES= multimedia audio |
9 |
|
10 |
|
Lines 44-50
Link Here
|
44 |
OPTIONS_GROUP= IN VO AO |
45 |
OPTIONS_GROUP= IN VO AO |
45 |
OPTIONS_GROUP_IN= CDIO DVDREAD DVDNAV LIBBLURAY V4L YTDL SMB |
46 |
OPTIONS_GROUP_IN= CDIO DVDREAD DVDNAV LIBBLURAY V4L YTDL SMB |
46 |
OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU X11 XINERAMA |
47 |
OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU X11 XINERAMA |
47 |
OPTIONS_GROUP_AO= ALSA JACK PULSEAUDIO |
48 |
OPTIONS_GROUP_AO= ALSA JACK PULSEAUDIO SDL |
48 |
OPTIONS_SUB= yes |
49 |
OPTIONS_SUB= yes |
49 |
|
50 |
|
50 |
ASS_DESC= ASS/SSA subtitle and OSD rendering |
51 |
ASS_DESC= ASS/SSA subtitle and OSD rendering |
Lines 104-109
Link Here
|
104 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio |
105 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio |
105 |
PULSEAUDIO_CONFIGURE_OFF= --disable-pulse |
106 |
PULSEAUDIO_CONFIGURE_OFF= --disable-pulse |
106 |
|
107 |
|
|
|
108 |
SDL_USE= SDL=sdl2 |
109 |
SDL_CONFIGURE_ON= --enable-sdl2 |
110 |
SDL_CONFIGURE_OFF= --disable-sdl2 |
111 |
|
107 |
SMB_LIB_DEPENDS= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient |
112 |
SMB_LIB_DEPENDS= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient |
108 |
SMB_CONFIGURE_OFF= --disable-libsmbclient |
113 |
SMB_CONFIGURE_OFF= --disable-libsmbclient |
109 |
|
114 |
|
Lines 135-145
Link Here
|
135 |
|
140 |
|
136 |
.include <bsd.port.options.mk> |
141 |
.include <bsd.port.options.mk> |
137 |
|
142 |
|
138 |
# Fix crash on i386 |
|
|
139 |
.if ${ARCH} == "i386" |
140 |
CFLAGS:= ${CFLAGS:N-O*} -O0 |
141 |
.endif |
142 |
|
143 |
post-patch: |
143 |
post-patch: |
144 |
@${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \ |
144 |
@${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \ |
145 |
${WRKSRC}/wscript_build.py |
145 |
${WRKSRC}/wscript_build.py |