diff options
author | kwm <kwm@FreeBSD.org> | 2010-04-22 04:17:56 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2010-04-22 04:17:56 +0800 |
commit | 7ea118a19578176bdeaa261def1b65966fcad079 (patch) | |
tree | 0a54edbf42127004e823710ed94bbfb39147ca4d | |
parent | 61e2600748e51735fb2af68eff4aef3dfca69842 (diff) | |
download | freebsd-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/Makefile | 2 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile.common | 4 |
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 |