Skip to content

Commit

Permalink
www/chromium: Catch up with foreign-cdm changes.
Browse files Browse the repository at this point in the history
This should reduce amount of PORTREVISION bumps on the Chromium port when
updating www/foreign-cdm.
  • Loading branch information
arrowd committed Oct 8, 2023
1 parent 50f7afc commit cd7728b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion www/chromium/Makefile
@@ -1,6 +1,6 @@
PORTNAME= chromium
PORTVERSION= 117.0.5938.149
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www wayland
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \
https://nerd.hu/distfiles/:external
Expand Down
7 changes: 4 additions & 3 deletions www/chromium/files/chrome.in
Expand Up @@ -17,8 +17,9 @@ EOMSG
fi
ulimit -c 0

# variables for foreign-cdm
export FCDM_CDM_SO_PATH=/compat/linux/usr/lib/foreign-cdm/libwidevinecdm.so
export FCDM_WORKER_PATH=/compat/linux/usr/bin/fcdm-worker
# source foreign-cdm environment
if [ -r %%PREFIX%%/share/foreign-cdm/fcdm-setup-env ] ; then
. %%PREFIX%%/share/foreign-cdm/fcdm-setup-env
fi

exec %%PREFIX%%/share/chromium/chrome ${1+"$@"}

0 comments on commit cd7728b

Please sign in to comment.