diff options
author | riggs <riggs@FreeBSD.org> | 2015-09-01 05:26:40 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2015-09-01 05:26:40 +0800 |
commit | a42bd8f3f254de1246babcdba58a75e2cc5c9487 (patch) | |
tree | 2fb5cd6ef3c168a61dbde36f0aa087343b5cd67d /multimedia/mencoder/Makefile | |
parent | 13266a5fe0dfc0352afc2ab29d595fa0de062c90 (diff) | |
download | freebsd-ports-gnome-a42bd8f3f254de1246babcdba58a75e2cc5c9487.tar.gz freebsd-ports-gnome-a42bd8f3f254de1246babcdba58a75e2cc5c9487.tar.zst freebsd-ports-gnome-a42bd8f3f254de1246babcdba58a75e2cc5c9487.zip |
Enable VDPAU by default for mplayer on i386/amd64; general port cleanup
amd64/i386:
- Enable VDPAU by default for the large NVIDIA user base,
proposed by ehaupt
- BUILD_DEPEND on yasm only on amd64/i386
General cleanups:
- Remove REINPLACE_CMD on CONFIGURE_SCRIPT conditional for post-8.x
machines, is now part of patch-configure
- Offer RTCPU OPTION only on archs that support it (amd64, i386, ppc)
- Update RTCPU_DESC accordingly
- Use OPTION helper for RTCPU instead of complicated conditionals
- Remove superfluous check for ARCH when setting CFLAGS for armv6
Diffstat (limited to 'multimedia/mencoder/Makefile')
-rw-r--r-- | multimedia/mencoder/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/multimedia/mencoder/Makefile b/multimedia/mencoder/Makefile index 08715f2a84e1..15685d73af03 100644 --- a/multimedia/mencoder/Makefile +++ b/multimedia/mencoder/Makefile @@ -13,16 +13,24 @@ COMMENT= Convenient video file and movie encoder OPTIONS_DEFINE= AMR_NB AMR_WB BLURAY CDIO DEBUG DV FAAC FONTCONFIG \ FRIBIDI GIF GNUTLS GSM IPV6 JACK LADSPA LIBMNG LZO \ MAD NAS OCFLAGS OPENAL OPENJPEG OPUS PULSEAUDIO REAL \ - RTCPU RTMP SCHROEDINGER SMB THEORA TWOLAME V4L VPX \ + RTMP SCHROEDINGER SMB THEORA TWOLAME V4L VPX \ X264 XVID -OPTIONS_DEFAULT=GIF GNUTLS IPV6 OCFLAGS RTCPU X264 XVID +OPTIONS_DEFAULT=GIF GNUTLS IPV6 OCFLAGS X264 XVID + +OPTIONS_DEFINE_i386= RTCPU +OPTIONS_DEFINE_amd64= RTCPU +OPTIONS_DEFINE_ppc= RTCPU + +OPTIONS_DEFAULT_i386= RTCPU +OPTIONS_DEFAULT_amd64= RTCPU +OPTIONS_DEFAULT_ppc= RTCPU BLURAY_DESC?= BluRay support LZO_DESC?= Enable external liblzo library OCFLAGS_DESC?= Use optimized compiler flags REAL_DESC?= Enable realplayer plugin -RTCPU_DESC?= Use runtime CPU detection on supported archs +RTCPU_DESC?= Use runtime CPU detection RESTRICTED= Port has restricted dependencies @@ -84,11 +92,6 @@ pre-patch: ${MV} ${WRKDIR}/ffmpeg-${FFMPEG_VERSION} ${WRKSRC}/ffmpeg post-patch: -.if ${OSVERSION} >= 900010 - @${REINPLACE_CMD} -e \ - '/CFLAGS.*-D_LARGEFILE64_SOURCE/ s/-D_LARGEFILE64_SOURCE/-D_FILE_OFFSET_BITS=64/' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} -.endif @${REINPLACE_CMD} \ -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|; \ s|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ |