mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
- Add support for multimedia/x264-devel
- Bump PORTREVISION
This commit is contained in:
parent
1fbabdcea1
commit
b9514e139a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252870
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= libquicktime
|
||||
PORTVERSION= 1.1.5
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF
|
||||
|
||||
@ -42,6 +42,7 @@ OPTIONS= OPENGL "Enable OpenGL support" On \
|
||||
FAAC "Enable FAAC support" Off \
|
||||
FAAD "Enable FAAD support" On \
|
||||
X264 "Enable X264 codec support" On \
|
||||
X264_DEV "Require X264 from multimedia/x264-devel" Off \
|
||||
SCHROEDINGER "Enable dirac support" On \
|
||||
GTK2 "Enable Gtk+2 Frontend" Off \
|
||||
OPTIMIZED_CFLAGS "Enable Optimized CFLAGS" Off
|
||||
@ -134,9 +135,25 @@ CONFIGURE_ARGS+= --without-faad2
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_X264)
|
||||
LIB_DEPENDS+= x264.65:${PORTSDIR}/multimedia/x264
|
||||
PLIST_SUB+= X264=""
|
||||
CONFIGURE_ARGS+= --with-x264
|
||||
|
||||
# Automatically choose the multimedia/x264-devel port if installed
|
||||
. if !defined(WITH_X264_DEV)
|
||||
. if exists(${LOCALBASE}/include/x264.h)
|
||||
X264_BUILD!= ${GREP} "define X264_BUILD .." ${LOCALBASE}/include/x264.h | ${AWK} '{ print $$3 }'
|
||||
. if ${X264_BUILD} == "85"
|
||||
_WANT_X264_DEVEL= yes
|
||||
. endif
|
||||
. endif
|
||||
. else
|
||||
_WANT_X264_DEVEL=yes
|
||||
. endif
|
||||
. if defined(_WANT_X264_DEVEL)
|
||||
LIB_DEPENDS+= x264.85:${PORTSDIR}/multimedia/x264/devel
|
||||
. else
|
||||
LIB_DEPENDS+= x264.65:${PORTSDIR}/multimedia/x264
|
||||
. endif
|
||||
.else
|
||||
PLIST_SUB+= X264="@comment "
|
||||
CONFIGURE_ARGS+= --without-x264
|
||||
|
Loading…
x
Reference in New Issue
Block a user