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 38-44
Link Here
|
38 |
--enable-libmpv-shared |
39 |
--enable-libmpv-shared |
39 |
|
40 |
|
40 |
OPTIONS_DEFINE= ASS DOCS ENCA LCMS2 \ |
41 |
OPTIONS_DEFINE= ASS DOCS ENCA LCMS2 \ |
41 |
LIBGUESS LUAJIT UCHARDET ZSH |
42 |
LIBGUESS LUAJIT UCHARDET SDL ZSH |
42 |
OPTIONS_DEFAULT= ASS DVDREAD DVDNAV ENCA OPENGL \ |
43 |
OPTIONS_DEFAULT= ASS DVDREAD DVDNAV ENCA OPENGL \ |
43 |
V4L VAAPI VDPAU X11 XINERAMA YTDL ZSH |
44 |
V4L VAAPI VDPAU X11 XINERAMA YTDL ZSH |
44 |
OPTIONS_GROUP= IN VO AO |
45 |
OPTIONS_GROUP= IN VO AO |
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 |