aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gecko.mk
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-03-03 06:49:48 +0800
committerjbeich <jbeich@FreeBSD.org>2016-03-03 06:49:48 +0800
commitc0b24ed97e934e0da785ba15410a83b81bf12542 (patch)
treed72c3e282032ffb29975cc904a6f4e4b1270220e /Mk/bsd.gecko.mk
parent94260811c0b3587d560d4cb9e6b7763712deaa35 (diff)
downloadfreebsd-ports-gnome-c0b24ed97e934e0da785ba15410a83b81bf12542.tar.gz
freebsd-ports-gnome-c0b24ed97e934e0da785ba15410a83b81bf12542.tar.zst
freebsd-ports-gnome-c0b24ed97e934e0da785ba15410a83b81bf12542.zip
gecko: unify unchanging options into bsd.gecko.mk
PR: 205741 (alternative)
Diffstat (limited to 'Mk/bsd.gecko.mk')
-rw-r--r--Mk/bsd.gecko.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index fcd205500dfb..235094d617c1 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -152,6 +152,7 @@ _ALL_DEPENDS+= vorbis
.endif
.if ! ${PORT_OPTIONS:MBUNDLED_CAIRO}
+cairo_BUILD_DEPENDS=cairo>=1.12.16_1,2:${PORTSDIR}/graphics/cairo
cairo_LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
cairo_MOZ_OPTIONS= --enable-system-cairo
.endif
@@ -293,6 +294,7 @@ USE_GNOME+= pango
USE_QT5+= qmake_build buildtools_build gui network quick printsupport
MOZ_EXPORT+= HOST_QMAKE="${QMAKE}" HOST_MOC="${MOC}" HOST_RCC="${RCC}"
.elif ${MOZ_TOOLKIT:Mcairo-gtk3}
+BUILD_DEPENDS+= gtk3>=3.14.6:${PORTSDIR}/x11-toolkits/gtk30
USE_GNOME+= gtk30
. if ${MOZILLA_VER:R:R} >= 32
USE_GNOME+= gtk20 # bug 624422
@@ -330,6 +332,7 @@ MOZ_OPTIONS+= --disable-ffmpeg
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
+RUN_DEPENDS+= gstreamer1-libav>=1.2.4_1:${PORTSDIR}/multimedia/gstreamer1-libav
USE_GSTREAMER1?=good libav
MOZ_OPTIONS+= --enable-gstreamer=1.0
.else
@@ -376,6 +379,7 @@ MOZ_EXPORT+=MOZ_OPTIMIZE_FLAGS="-Os" MOZ_PGO_OPTIMIZE_FLAGS="${CFLAGS:M-O*}"
.if ${PORT_OPTIONS:MALSA}
LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib
RUN_DEPENDS+= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
+RUN_DEPENDS+= alsa-lib>=1.0.27.2_1:${PORTSDIR}/audio/alsa-lib
MOZ_OPTIONS+= --enable-alsa
.endif