Date: Sun, 8 Oct 2023 14:39:40 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7a12c6c96ac2 - main - www/linux-widevine-cdm: Widevine DRM plugin from Google. Message-ID: <202310081439.398Edelp006771@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a12c6c96ac266f40f62de9a4281808054de609b commit 7a12c6c96ac266f40f62de9a4281808054de609b Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2023-10-08 14:04:06 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2023-10-08 14:39:35 +0000 www/linux-widevine-cdm: Widevine DRM plugin from Google. This port was decoupled from the www/foreign-cdm port to not violate redistribution restrictions of Google's license. --- www/Makefile | 1 + www/linux-widevine-cdm/Makefile | 36 ++++++++++++++++++++++++++++++++++++ www/linux-widevine-cdm/distinfo | 3 +++ www/linux-widevine-cdm/pkg-descr | 3 +++ 4 files changed, 43 insertions(+) diff --git a/www/Makefile b/www/Makefile index 294ede182ae4..9ce96e152c0f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -329,6 +329,7 @@ SUBDIR += links1 SUBDIR += linux-c7-qtwebkit SUBDIR += linux-opera + SUBDIR += linux-widevine-cdm SUBDIR += litmus SUBDIR += ljdeps SUBDIR += llhttp diff --git a/www/linux-widevine-cdm/Makefile b/www/linux-widevine-cdm/Makefile new file mode 100644 index 000000000000..0335b7b82adc --- /dev/null +++ b/www/linux-widevine-cdm/Makefile @@ -0,0 +1,36 @@ +# The information for PORTVERSION and CHROME_VERSION is borrowed from +# https://aur.archlinux.org/cgit/aur.git/?h=vivaldi-widevine + +PORTNAME= widevine-cdm +PORTVERSION= 4.10.2662.3 +CATEGORIES= www multimedia linux +MASTER_SITES= https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/ +PKGNAMEPREFIX= linux- +DISTNAME= google-chrome-stable_${CHROME_VERSION}_amd64 +EXTRACT_SUFX= .deb + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Widevine CDM plugin as provided by Google +WWW= https://www.widevine.com + +LICENSE= Proprietary +LICENSE_NAME= Google proprietary license +LICENSE_FILE= ${WRKDIR}/opt/google/chrome/WidevineCdm/LICENSE +LICENSE_PERMS= no-dist-sell no-pkg-sell no-dist-mirror no-pkg-mirror + +ONLY_FOR_ARCHS= amd64 + +NO_BUILD= yes +PLIST_FILES= lib/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so \ + lib/WidevineCdm/manifest.json + +CHROME_VERSION= 116.0.5845.179-1 + +post-extract: + cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} data.tar.xz ${EXTRACT_AFTER_ARGS} + +do-install: + cd ${WRKDIR}/opt/google/chrome/ && ${COPYTREE_SHARE} WidevineCdm ${STAGEDIR}${PREFIX}/lib + ${RM} ${STAGEDIR}${PREFIX}/lib/WidevineCdm/LICENSE + +.include <bsd.port.mk> diff --git a/www/linux-widevine-cdm/distinfo b/www/linux-widevine-cdm/distinfo new file mode 100644 index 000000000000..5c9d00c67369 --- /dev/null +++ b/www/linux-widevine-cdm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696769064 +SHA256 (google-chrome-stable_116.0.5845.179-1_amd64.deb) = 75d091c547b4f336c88e45c61ba8b7a6fddb869034122b3ffe0ed60225c389b4 +SIZE (google-chrome-stable_116.0.5845.179-1_amd64.deb) = 96683480 diff --git a/www/linux-widevine-cdm/pkg-descr b/www/linux-widevine-cdm/pkg-descr new file mode 100644 index 000000000000..7fe192302c64 --- /dev/null +++ b/www/linux-widevine-cdm/pkg-descr @@ -0,0 +1,3 @@ +A browser plugin designed for the viewing of premium video content. This +software is distibuted as a compiled Linux binary and is intended to be +consumed either by a Linux-native browser or via www/foreign-cdm port.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310081439.398Edelp006771>