Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148411288
D5861.id15143.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D5861.id15143.diff
View Options
Index: head/multimedia/libx264/Makefile
===================================================================
--- head/multimedia/libx264/Makefile
+++ head/multimedia/libx264/Makefile
@@ -14,7 +14,7 @@
USES= pathfix
OPTIONS_DEFINE= HI10P
-OPTIONS_EXCLUDE= GPAC LAVF
+OPTIONS_EXCLUDE= FFMS GPAC LAVF LSMASH SWSCALE
HI10P_DESC= Enable High 10 Profile 10-bit encoding
HI10P_CONFIGURE_ON= --bit-depth=10
Index: head/multimedia/x264/Makefile
===================================================================
--- head/multimedia/x264/Makefile
+++ head/multimedia/x264/Makefile
@@ -19,7 +19,7 @@
PORTNAME= x264
PORTVERSION= 0.${X264_BUILD}.${X264_REV}
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ \
http://samples.mplayerhq.hu/yuv4mpeg2/:pgo
@@ -51,27 +51,40 @@
SHEBANG_FILES= configure
PLIST_FILES?= bin/x264
-OPTIONS_DEFINE+= ASM DEBUG GCC GPAC LAVF PGO
-OPTIONS_DEFAULT+= ASM GPAC
+OPTIONS_DEFINE+= ASM DEBUG FFMS GCC LAVF PGO SWSCALE
+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)
+LSMASH_DESC= L-SMASH library support
+MP4_DESC= MPEG-4 output
+SWSCALE_DESC= Resize video filter
ASM_CONFIGURE_OFF= --disable-asm
DEBUG_CONFIGURE_ON= --enable-debug
DEBUG_CONFIGURE_OFF= --enable-strip
+FFMS_LIB_DEPENDS= libffms2.so:multimedia/ffms2
+FFMS_CONFIGURE_OFF= --disable-ffms
+FFMS_IMPLIES= SWSCALE
+
GCC_VARS= USE_GCC=yes
GPAC_CONFIGURE_OFF= --disable-gpac
GPAC_LIB_DEPENDS= libgpac.so:multimedia/gpac-libgpac
-LAVF_CONFIGURE_OFF= --disable-swscale --disable-lavf
+LAVF_CONFIGURE_OFF= --disable-lavf
LAVF_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libavformat.so:multimedia/ffmpeg \
- libavutil.so:multimedia/ffmpeg \
- libswscale.so:multimedia/ffmpeg
+ libavutil.so:multimedia/ffmpeg
+LAVF_IMPLIES= SWSCALE
+
+LSMASH_LIB_DEPENDS= liblsmash.so:multimedia/l-smash
+LSMASH_CONFIGURE_OFF= --disable-lsmash
PGO_DISTFILES= ${Y4M_VIDEO_DISTFILE}:pgo
PGO_MAKE_ENV= VIDS="${WRKDIR}/${Y4M_VIDEO}"
@@ -83,6 +96,10 @@
RESTRICTED="${Y4M_VIDEO_DISTFILE} file may not be mirrored" \
RESTRICTED_FILES="${Y4M_VIDEO_DISTFILE}"
+SWSCALE_CONFIGURE_OFF= --disable-swscale
+SWSCALE_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \
+ libswscale.so:multimedia/ffmpeg
+
CONFIGURE_ARGS?= --system-libx264
CONFIGURE_ARGS+= --prefix="${PREFIX}" \
--extra-cflags="${CPPFLAGS} ${CFLAGS}" \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 4:33 PM (2 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29916000
Default Alt Text
D5861.id15143.diff (2 KB)
Attached To
Mode
D5861: multimedia/x264: add FFMS and LSMASH options
Attached
Detach File
Event Timeline
Log In to Comment