aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2010-04-22 04:17:56 +0800
committerkwm <kwm@FreeBSD.org>2010-04-22 04:17:56 +0800
commit7ea118a19578176bdeaa261def1b65966fcad079 (patch)
tree0a54edbf42127004e823710ed94bbfb39147ca4d
parent61e2600748e51735fb2af68eff4aef3dfca69842 (diff)
downloadfreebsd-ports-gnome-7ea118a19578176bdeaa261def1b65966fcad079.tar.gz
freebsd-ports-gnome-7ea118a19578176bdeaa261def1b65966fcad079.tar.zst
freebsd-ports-gnome-7ea118a19578176bdeaa261def1b65966fcad079.zip
Depend on x264-devel if its installed.
While here chase x264 update.
-rw-r--r--multimedia/gstreamer-plugins-x264/Makefile2
-rw-r--r--multimedia/gstreamer-plugins/Makefile.common4
2 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/gstreamer-plugins-x264/Makefile b/multimedia/gstreamer-plugins-x264/Makefile
index 9c355de0326d..9ff5576ca6e0 100644
--- a/multimedia/gstreamer-plugins-x264/Makefile
+++ b/multimedia/gstreamer-plugins-x264/Makefile
@@ -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
diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common
index 6446f85aff95..6261a7ebf857 100644
--- a/multimedia/gstreamer-plugins/Makefile.common
+++ b/multimedia/gstreamer-plugins/Makefile.common
@@ -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