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

(-)b/www/ungoogled-chromium/Makefile (-2 / +7 lines)
Lines 1-6 Link Here
1
PORTNAME=	ungoogled-chromium
1
PORTNAME=	ungoogled-chromium
2
PORTVERSION=	118.0.5993.70
2
PORTVERSION=	118.0.5993.70
3
UGVERSION=	${DISTVERSION}-1
3
UGVERSION=	${DISTVERSION}-1
4
PORTREVISION=	1
4
CATEGORIES=	www wayland
5
CATEGORIES=	www wayland
5
MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/ \
6
MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/ \
6
		https://nerd.hu/distfiles/:external
7
		https://nerd.hu/distfiles/:external
Lines 100-106 BINARY_ALIAS= python3=${PYTHON_CMD} \ Link Here
100
# Some parts don't have use_system_* flag, and can be turned on/off by using
101
# Some parts don't have use_system_* flag, and can be turned on/off by using
101
# replace_gn_files.py script, some parts just turned on/off for target host
102
# replace_gn_files.py script, some parts just turned on/off for target host
102
# OS "target_os == is_bsd", like libusb, libpci.
103
# OS "target_os == is_bsd", like libusb, libpci.
103
GN_ARGS+=	fatal_linker_warnings=false \
104
GN_ARGS+=	enable_widevine=true \
105
		fatal_linker_warnings=false \
104
		icu_use_data_file=false \
106
		icu_use_data_file=false \
105
		is_clang=true \
107
		is_clang=true \
106
		optimize_webui=true \
108
		optimize_webui=true \
Lines 151-157 GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles Link Here
151
SUB_FILES=	ungoogled-chromium.desktop ungoogled-chromium
153
SUB_FILES=	ungoogled-chromium.desktop ungoogled-chromium
152
SUB_LIST+=	COMMENT="${COMMENT}"
154
SUB_LIST+=	COMMENT="${COMMENT}"
153
155
154
OPTIONS_DEFINE=		CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST
156
OPTIONS_DEFINE=		CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE
155
OPTIONS_DEFAULT=	CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO
157
OPTIONS_DEFAULT=	CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO
156
OPTIONS_EXCLUDE_aarch64=LTO
158
OPTIONS_EXCLUDE_aarch64=LTO
157
OPTIONS_GROUP=		AUDIO
159
OPTIONS_GROUP=		AUDIO
Lines 226-231 SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio Link Here
226
SNDIO_VARS=		GN_ARGS+=use_sndio=true
228
SNDIO_VARS=		GN_ARGS+=use_sndio=true
227
SNDIO_VARS_OFF=		GN_ARGS+=use_sndio=false
229
SNDIO_VARS_OFF=		GN_ARGS+=use_sndio=false
228
230
231
WIDEVINE_DESC=		Depend on foreign-cdm to enable playback of DRM content
232
WIDEVINE_RUN_DEPENDS=	foreign-cdm>0:www/foreign-cdm
233
229
.include "Makefile.tests"
234
.include "Makefile.tests"
230
TEST_DISTFILES=		chromium-${DISTVERSION}-testdata${EXTRACT_SUFX} \
235
TEST_DISTFILES=		chromium-${DISTVERSION}-testdata${EXTRACT_SUFX} \
231
			test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz:external
236
			test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz:external
(-)b/www/ungoogled-chromium/files/ungoogled-chromium.in (-1 / +6 lines)
Lines 16-19 EOMSG Link Here
16
	exit 1
16
	exit 1
17
fi
17
fi
18
ulimit -c 0
18
ulimit -c 0
19
20
# source foreign-cdm environment
21
if [ -r %%PREFIX%%/share/foreign-cdm/fcdm-setup-env ] ; then
22
	. %%PREFIX%%/share/foreign-cdm/fcdm-setup-env
23
fi
24
19
exec %%PREFIX%%/share/ungoogled-chromium/ungoogled-chromium ${1+"$@"}
25
exec %%PREFIX%%/share/ungoogled-chromium/ungoogled-chromium ${1+"$@"}
20
- 

Return to bug 274541