View | Details | Raw Unified | Return to bug 280268
Collapse All | Expand All

(-)b/www/ungoogled-chromium/Makefile (-9 / +17 lines)
Lines 43-52 BUILD_DEPENDS= bash:shells/bash \ Link Here
43
LIB_DEPENDS=	libatk-bridge-2.0.so:accessibility/at-spi2-core \
43
LIB_DEPENDS=	libatk-bridge-2.0.so:accessibility/at-spi2-core \
44
		libatspi.so:accessibility/at-spi2-core \
44
		libatspi.so:accessibility/at-spi2-core \
45
		libspeechd.so:accessibility/speech-dispatcher \
45
		libspeechd.so:accessibility/speech-dispatcher \
46
		libasound.so:audio/alsa-lib \
47
		libFLAC.so:audio/flac \
46
		libFLAC.so:audio/flac \
48
		libopus.so:audio/opus \
47
		libopus.so:audio/opus \
49
		libsndio.so:audio/sndio \
50
		libspeex.so:audio/speex \
48
		libspeex.so:audio/speex \
51
		libdbus-1.so:devel/dbus \
49
		libdbus-1.so:devel/dbus \
52
		libdbus-glib-1.so:devel/dbus-glib \
50
		libdbus-glib-1.so:devel/dbus-glib \
Lines 126-132 GN_ARGS+= enable_widevine=true \ Link Here
126
		use_system_libffi=true \
124
		use_system_libffi=true \
127
		use_system_libjpeg=true \
125
		use_system_libjpeg=true \
128
		use_udev=false \
126
		use_udev=false \
129
		extra_cxxflags="${CXXFLAGS} -I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" \
130
		extra_ldflags="${LDFLAGS}" \
127
		extra_ldflags="${LDFLAGS}" \
131
		ffmpeg_branding="${FFMPEG_BRAND}"
128
		ffmpeg_branding="${FFMPEG_BRAND}"
132
129
Lines 153-163 GN_ARGS+= build_with_tflite_lib=false \ Link Here
153
		use_official_google_api_keys=false \
150
		use_official_google_api_keys=false \
154
		use_unofficial_version_number=false
151
		use_unofficial_version_number=false
155
152
156
# Audio backends
157
GN_ARGS+=	use_alsa=true \
158
		use_pulseaudio=true \
159
		use_sndio=true
160
161
# TODO: investigate building with these options:
153
# TODO: investigate building with these options:
162
# use_system_minigbm
154
# use_system_minigbm
163
GN_BOOTSTRAP_FLAGS=	--no-clean --no-rebuild --skip-generate-buildfiles
155
GN_BOOTSTRAP_FLAGS=	--no-clean --no-rebuild --skip-generate-buildfiles
Lines 166-173 SUB_FILES= ungoogled-chromium.desktop ungoogled-chromium Link Here
166
SUB_LIST+=	COMMENT="${COMMENT}"
158
SUB_LIST+=	COMMENT="${COMMENT}"
167
159
168
OPTIONS_DEFINE=		CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE
160
OPTIONS_DEFINE=		CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE
169
OPTIONS_DEFAULT=	CODECS CUPS DRIVER KERBEROS PIPEWIRE
161
OPTIONS_DEFAULT=	ALSA CODECS CUPS DRIVER KERBEROS PIPEWIRE PULSEAUDIO SNDIO
170
OPTIONS_EXCLUDE_aarch64=LTO
162
OPTIONS_EXCLUDE_aarch64=LTO
163
OPTIONS_GROUP=		AUDIO
164
OPTIONS_GROUP_AUDIO=	ALSA PULSEAUDIO SNDIO
171
OPTIONS_RADIO=		KERBEROS
165
OPTIONS_RADIO=		KERBEROS
172
OPTIONS_RADIO_KERBEROS=	HEIMDAL HEIMDAL_BASE MIT
166
OPTIONS_RADIO_KERBEROS=	HEIMDAL HEIMDAL_BASE MIT
173
OPTIONS_SUB=		yes
167
OPTIONS_SUB=		yes
Lines 177-182 HEIMDAL_BASE_DESC= Heimdal Kerberos (base) Link Here
177
HEIMDAL_DESC=		Heimdal Kerberos (security/heimdal)
171
HEIMDAL_DESC=		Heimdal Kerberos (security/heimdal)
178
MIT_DESC=		MIT Kerberos (security/krb5)
172
MIT_DESC=		MIT Kerberos (security/krb5)
179
173
174
ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
175
ALSA_RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins
176
ALSA_VARS=		GN_ARGS+=use_alsa=true
177
ALSA_VARS_OFF=		GN_ARGS+=use_alsa=false
178
180
CODECS_VARS=		GN_ARGS+=proprietary_codecs=true \
179
CODECS_VARS=		GN_ARGS+=proprietary_codecs=true \
181
			FFMPEG_BRAND="Chrome"
180
			FFMPEG_BRAND="Chrome"
182
CODECS_VARS_OFF=	GN_ARGS+=proprietary_codecs=false \
181
CODECS_VARS_OFF=	GN_ARGS+=proprietary_codecs=false \
Lines 220-225 PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ Link Here
220
PIPEWIRE_VARS_OFF=	GN_ARGS+=rtc_use_pipewire=false \
219
PIPEWIRE_VARS_OFF=	GN_ARGS+=rtc_use_pipewire=false \
221
			GN_ARGS+=rtc_link_pipewire=false
220
			GN_ARGS+=rtc_link_pipewire=false
222
221
222
PULSEAUDIO_VARS=	GN_ARGS+=use_pulseaudio=true \
223
			GN_ARGS+=extra_cxxflags="${CXXFLAGS} -I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}"
224
PULSEAUDIO_VARS_OFF=	GN_ARGS+=use_pulseaudio=false \
225
			GN_ARGS+=extra_cxxflags="${CXXFLAGS}"
226
227
SNDIO_LIB_DEPENDS=	libsndio.so:audio/sndio
228
SNDIO_VARS=		GN_ARGS+=use_sndio=true
229
SNDIO_VARS_OFF=		GN_ARGS+=use_sndio=false
230
223
WIDEVINE_DESC=		Depend on foreign-cdm to enable playback of DRM content
231
WIDEVINE_DESC=		Depend on foreign-cdm to enable playback of DRM content
224
WIDEVINE_RUN_DEPENDS=	foreign-cdm>0:www/foreign-cdm
232
WIDEVINE_RUN_DEPENDS=	foreign-cdm>0:www/foreign-cdm
225
233

Return to bug 280268