1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/www/cliqz/Makefile.options
Santhosh Raju 2cfc7fa1ad www/cliqz: Fixes build failures under certain conditions.
- Redo the MOZ_CONFIGURE_ARGS so that port options picks it up correctly.
- Adds check for libmozwayland.so (available when x11-toolkits/gtk30 is built
  with WAYLAND option enabled).
- Drops a patch hunk not applicable to patch-bug847568 (reported by jbeich@).

Approved by:	philip (mentor)
2019-11-25 10:37:38 +00:00

25 lines
897 B
Makefile

# $FreeBSD$
# Audio server options
OPTIONS_MULTI= AUDIO
OPTIONS_MULTI_AUDIO= JACK PULSEAUDIO SNDIO
OPTIONS_DEFAULT= JACK PULSEAUDIO SNDIO
AUDIO_DESC= Choose your audio options
JACK_BUILD_DEPENDS= ${LOCALBASE}/include/jack/jack.h:audio/jack
JACK_VARS= MOZ_CONFIGURE_ARGS+="--enable-jack"
PULSEAUDIO_BUILD_DEPENDS= ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio
PULSEAUDIO_VARS= MOZ_CONFIGURE_ARGS+="--enable-pulseaudio"
PULSEAUDIO_VARS_OFF= MOZ_CONFIGURE_ARGS+="--disable-pulseaudio"
SNDIO_BUILD_DEPENDS+= ${LOCALBASE}/include/sndio.h:audio/sndio
SNDIO_LIB_DEPENDS+= libsndio.so:audio/sndio
post-patch-SNDIO-on:
@${REINPLACE_CMD} -e 's|OpenBSD|${OPSYS}|g' \
${WRKSRC}/mozilla-release/media/libcubeb/src/moz.build \
${WRKSRC}/mozilla-release/toolkit/library/moz.build
@${REINPLACE_CMD} -e 's|OpenBSD|${OPSYS}|g' \
${WRKSRC}/mozilla-release/media/libcubeb/gtest/moz.build