mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
multimedia/mpv: change optimization on i386
PR: 198758 Submitted by: Carlos Jacobo Puga Medina <cpm@fbsd.es> (maintainer)
This commit is contained in:
parent
e9b0280f4b
commit
2bb8e5e544
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386202
@ -4,6 +4,7 @@
|
||||
PORTNAME= mpv
|
||||
PORTVERSION= 0.9.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= multimedia audio
|
||||
MASTER_SITES= http://ftp.waf.io/pub/release/:1 \
|
||||
@ -96,7 +97,7 @@ V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedi
|
||||
V4L_LIB_DEPENDS= libv4l2.so:${PORTSDIR}/multimedia/libv4l
|
||||
V4L_CONFIGURE_ENABLE= tv-v4l2
|
||||
|
||||
YTDL_RUN_DEPENDS= youtube-dl:${PORTSDIR}/www/youtube_dl
|
||||
YTDL_BUILD_DEPENDS= ${LOCALBASE}/bin/youtube-dl:${PORTSDIR}/www/youtube_dl
|
||||
|
||||
SMB_LIB_DEPENDS= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
|
||||
SMB_CONFIGURE_ENABLE= libsmbclient
|
||||
@ -123,6 +124,13 @@ JACK_CONFIGURE_ENABLE= jack
|
||||
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
|
||||
PULSEAUDIO_CONFIGURE_ENABLE= pulse
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# Fix crash on i386
|
||||
.if ${ARCH} == "i386"
|
||||
CFLAGS:= ${CFLAGS:N-O*} -O0
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${CP} ${DISTDIR}/waf-${WAF_VERSION} ${WRKSRC}/waf
|
||||
@${CHMOD} +x ${WRKSRC}/waf
|
||||
|
Loading…
Reference in New Issue
Block a user