blob: 941fe7061c2de060bc60860c1b83391c5f5324c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit unpacker
CHROME_PN="google-chrome-stable"
CHROME_PV="${PV}"
CHROME_P="${CHROME_PN}_${CHROME_PV}-1"
CHROME_DIR="opt/google/chrome"
DESCRIPTION="An adapter for playing DRM content"
HOMEPAGE="https://www.google.com/chrome/"
SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${CHROME_PN}/${CHROME_P}_amd64.deb"
LICENSE="google-chrome"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="bindist mirror strip"
DEPEND=""
RDEPEND=""
S="${WORKDIR}/${CHROME_DIR}"
src_install() {
insinto /opt/widevine/lib
doins WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
}
|