Changeset View
Changeset View
Standalone View
Standalone View
multimedia/x264/Makefile
Show All 13 Lines | |||||
# is being updated to. Then run version.sh against it. | # is being updated to. Then run version.sh against it. | ||||
# | # | ||||
# Bumping PORTREVISION for dependent ports? This is useful: | # Bumping PORTREVISION for dependent ports? This is useful: | ||||
# cd $PORTSDIR; for x in $(find . -name "Makefile*" -print); | # cd $PORTSDIR; for x in $(find . -name "Makefile*" -print); | ||||
# do str=$(grep -i x264.so $x); if [[ -n $str ]] { echo "$x" }; done | # do str=$(grep -i x264.so $x); if [[ -n $str ]] { echo "$x" }; done | ||||
PORTNAME= x264 | PORTNAME= x264 | ||||
PORTVERSION= 0.${X264_BUILD}.${X264_REV} | PORTVERSION= 0.${X264_BUILD}.${X264_REV} | ||||
PORTREVISION?= 2 | PORTREVISION?= 3 | ||||
CATEGORIES= multimedia | CATEGORIES= multimedia | ||||
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ \ | MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ \ | ||||
http://samples.mplayerhq.hu/yuv4mpeg2/:pgo | http://samples.mplayerhq.hu/yuv4mpeg2/:pgo | ||||
DISTNAME= ${PORTNAME}-snapshot-${X264_SNAPSHOT}-2245-stable | DISTNAME= ${PORTNAME}-snapshot-${X264_SNAPSHOT}-2245-stable | ||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} | ||||
DIST_SUBDIR= x264 | DIST_SUBDIR= x264 | ||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} | EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} | ||||
Show All 15 Lines | |||||
USES?= pkgconfig | USES?= pkgconfig | ||||
USES+= gmake localbase shebangfix tar:bzip2 | USES+= gmake localbase shebangfix tar:bzip2 | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
HAS_CONFIGURE= yes | HAS_CONFIGURE= yes | ||||
SHEBANG_FILES= configure | SHEBANG_FILES= configure | ||||
PLIST_FILES?= bin/x264 | PLIST_FILES?= bin/x264 | ||||
OPTIONS_DEFINE+= ASM DEBUG GCC GPAC LAVF PGO | OPTIONS_DEFINE+= ASM DEBUG FFMS GCC LAVF PGO | ||||
OPTIONS_DEFAULT+= ASM GPAC | OPTIONS_RADIO+= MP4 | ||||
OPTIONS_RADIO_MP4+= GPAC LSMASH | |||||
OPTIONS_DEFAULT+= ASM LSMASH | |||||
GPAC_DESC= MPEG-4 output support | FFMS_DESC= FFmpeg Source input support | ||||
GPAC_DESC= GPAC library support | |||||
LAVF_DESC= libav* format input support (requires FFmpeg) | LAVF_DESC= libav* format input support (requires FFmpeg) | ||||
LSMASH_DESC= L-SMASH library support | |||||
MP4_DESC= MPEG-4 output | |||||
ASM_CONFIGURE_OFF= --disable-asm | ASM_CONFIGURE_OFF= --disable-asm | ||||
DEBUG_CONFIGURE_ON= --enable-debug | DEBUG_CONFIGURE_ON= --enable-debug | ||||
DEBUG_CONFIGURE_OFF= --enable-strip | DEBUG_CONFIGURE_OFF= --enable-strip | ||||
FFMS_LIB_DEPENDS= libffms2.so:multimedia/ffms2 | |||||
FFMS_CONFIGURE_OFF= --disable-ffms | |||||
GCC_VARS= USE_GCC=yes | GCC_VARS= USE_GCC=yes | ||||
GPAC_CONFIGURE_OFF= --disable-gpac | GPAC_CONFIGURE_OFF= --disable-gpac | ||||
GPAC_LIB_DEPENDS= libgpac.so:multimedia/gpac-libgpac | GPAC_LIB_DEPENDS= libgpac.so:multimedia/gpac-libgpac | ||||
LAVF_CONFIGURE_OFF= --disable-swscale --disable-lavf | LAVF_CONFIGURE_OFF= --disable-swscale --disable-lavf | ||||
LAVF_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ | LAVF_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ | ||||
libavformat.so:multimedia/ffmpeg \ | libavformat.so:multimedia/ffmpeg \ | ||||
libavutil.so:multimedia/ffmpeg \ | libavutil.so:multimedia/ffmpeg \ | ||||
libswscale.so:multimedia/ffmpeg | libswscale.so:multimedia/ffmpeg | ||||
LSMASH_LIB_DEPENDS= liblsmash.so:multimedia/l-smash | |||||
LSMASH_CONFIGURE_OFF= --disable-lsmash | |||||
PGO_DISTFILES= ${Y4M_VIDEO_DISTFILE}:pgo | PGO_DISTFILES= ${Y4M_VIDEO_DISTFILE}:pgo | ||||
PGO_VARS= USE_GCC=any | PGO_VARS= USE_GCC=any | ||||
PGO_MAKE_ENV= VIDS="${WRKDIR}/${Y4M_VIDEO}" | PGO_MAKE_ENV= VIDS="${WRKDIR}/${Y4M_VIDEO}" | ||||
PGO_ALL_TARGET= fprofiled | PGO_ALL_TARGET= fprofiled | ||||
# y4m sample video | # y4m sample video | ||||
PGO_VARS+= Y4M_VIDEO=example.y4m \ | PGO_VARS+= Y4M_VIDEO=example.y4m \ | ||||
Y4M_VIDEO_DISTFILE=example.y4m.bz2 \ | Y4M_VIDEO_DISTFILE=example.y4m.bz2 \ | ||||
Show All 31 Lines |