From nobody Sun Oct 8 14:39:40 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S3PvK25Mxz4wtgD; Sun, 8 Oct 2023 14:39:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S3PvJ5LgGz4gBd; Sun, 8 Oct 2023 14:39:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696775980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a6Ibxvk17VK8MmOzOl0Vv5Waqj53dfcIR8n7yPrNNfY=; b=NnPXRpNcHejoCuT8j+9tSsOpX9G584r6jb/aRWAGhbAD/82Uti7NqS6SzGn5L9alM2robj 1QB+LLt+EeF4N/xYtT8s6jlL6h29KWRf4L/u0EB3JSyDgoLrYTWjIhd1I3ZPnG3kvaF3dZ rClh/4Rs9VAuOYvVivAufw7PEyJ9d13ezJVEliEzD8LNBnbsPcfRB0unUrb79lbcGIhTpr VVDZVs/UpnNNesAbY6tblOBH25PwlGYy0CoDYzEJj5faWXyngKhkgFdf3BK7vfzd41KNZw AlUdBECw8d+2weuUI1r1X0MVK8xYOme6mEKmWPDgWtHBACx3f1RVuuJm/piY8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696775980; a=rsa-sha256; cv=none; b=ZxPh8hytk+sUeQoFZNVk7mM18tuBu3UGHI6kOPrWCmdLTftWuPmFV5kcbWwyR76e2EU70a 37OLWipnS1A3Aq/enUO1gZRUFya7pNkC4p7a4ojkniTvRvAxmdqFMY62LFSsxGXGpGyIwx q4MdL8p7ks0iP/MIHVQoMpfcIahNyXWz4R4bFefwssOJ3jdXA5bQWRvll/I2Ex8e674elx NRqzsoS1jnG/LvsjyBhVcog9Ow3BO0rz0ePNyd8ezYwijndJAhPvG3UKCI7qei2kV5OzK5 mrV/fsjYbogORWVQ8mjDr/5332QzYSsGi+PeRuj1JMs4vtWb773ccpmAXr1bRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696775980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a6Ibxvk17VK8MmOzOl0Vv5Waqj53dfcIR8n7yPrNNfY=; b=lKhXaiesQU2PllH7a+o6OfY3wjex7iYGCv7dL7x+SNKufzWYlDmv4/axZc4Wc6SRbpYe9f Rbai9XBVGnL1Vu6Em9rVWl8WoXJWfh8fqOzk/bbWBtPg0TGnaHniRQDUmco6VeqhQaHNM9 98xBanJF7KbiyThHg+UzitGPnsD7WXeQp/zpW+6lJMazglhXy/YZRBA+HDRuMm+Ht01swx ybmTt0BC5doB0OtfrWABVYFduXXOfafgRzf59HIyt6oBCBR0Bjb+NQrWs5X3w2xXJR0smi ZSjXnWMCwv4FhGcJm3ytKcBviqEsuRgVkxo9kDoo6vu/SKKS+toTftiEdSF3GA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S3PvJ4Mmgz2MS; Sun, 8 Oct 2023 14:39:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 398Edepw006774; Sun, 8 Oct 2023 14:39:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 398Edelp006771; Sun, 8 Oct 2023 14:39:40 GMT (envelope-from git) Date: Sun, 8 Oct 2023 14:39:40 GMT Message-Id: <202310081439.398Edelp006771@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 7a12c6c96ac2 - main - www/linux-widevine-cdm: Widevine DRM plugin from Google. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7a12c6c96ac266f40f62de9a4281808054de609b Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a12c6c96ac266f40f62de9a4281808054de609b commit 7a12c6c96ac266f40f62de9a4281808054de609b Author: Gleb Popov AuthorDate: 2023-10-08 14:04:06 +0000 Commit: Gleb Popov 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 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.