Depend on x264-devel if its installed.

While here chase x264 update.
This commit is contained in:
Koop Mast 2010-04-21 20:17:56 +00:00
parent a8af5826e1
commit 0fee449397
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253022
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
# $MCom: ports/multimedia/gstreamer-plugins-x264/Makefile,v 1.3 2008/03/19 14:05:37 ahze Exp $
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= multimedia
COMMENT= Gstreamer x264 plugin

View File

@ -474,7 +474,11 @@ gst_vorbis_PLIST_FILES= ${GST_LIB_DIR}/libgstvorbis.la \
gst_vorbis_DIST= base
# x264
.if exists(${LOCALBASE}/lib/libx264.so.93)
gst_x264_LIB_DEPENDS+= x264.93:${PORTSDIR}/multimedia/x264-devel
.else
gst_x264_LIB_DEPENDS+= x264.85:${PORTSDIR}/multimedia/x264
.endif
gst_x264_PLIST_FILES= ${GST_LIB_DIR}/libgstx264.la \
${GST_LIB_DIR}/libgstx264.so \
share/gstreamer-${VERSION}/presets/GstX264Enc.prs