mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
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.
This commit is contained in:
parent
b8cf988e45
commit
7a12c6c96a
@ -329,6 +329,7 @@
|
||||
SUBDIR += links1
|
||||
SUBDIR += linux-c7-qtwebkit
|
||||
SUBDIR += linux-opera
|
||||
SUBDIR += linux-widevine-cdm
|
||||
SUBDIR += litmus
|
||||
SUBDIR += ljdeps
|
||||
SUBDIR += llhttp
|
||||
|
36
www/linux-widevine-cdm/Makefile
Normal file
36
www/linux-widevine-cdm/Makefile
Normal file
@ -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>
|
3
www/linux-widevine-cdm/distinfo
Normal file
3
www/linux-widevine-cdm/distinfo
Normal file
@ -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
|
3
www/linux-widevine-cdm/pkg-descr
Normal file
3
www/linux-widevine-cdm/pkg-descr
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user