hasufell-repository/packages/net-www/inox/inox-56.0.2924.87.exheres-0

33 lines
901 B
Bash
Raw Normal View History

# Copyright 2009-2011 Elias Pipping <pipping@exherbo.org>
# Copyright 2009 Heiko Przybyl <zuxez@cs.tu-berlin.de>
# Distributed under the terms of the GNU General Public License v2
2017-02-17 13:45:07 +00:00
require inox [ patchset="56.0.2924.87" ]
DESCRIPTION+="
Chromium has three release channels: Stable, Beta, and Dev. This package corresponds to the Stable
channel.
"
PLATFORMS="~amd64 ~x86"
RESTRICT=test
# http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${PV}-1_{amd64,i386}.deb
2016-09-23 19:21:53 +00:00
# $ strings ./opt/google/chrome/chrome | grep -C 1 " (version:" | head -1
2017-02-17 13:45:07 +00:00
WIDEVINE_VERSION=1.4.8.962
2016-11-05 13:48:59 +00:00
DEFAULT_SRC_PREPARE_PATCHES=(
2016-12-04 15:21:30 +00:00
"${FILES}"/${PN}-53.0.2785.116-glibc-2.24-crash.patch
2016-11-05 13:48:59 +00:00
)
src_prepare() {
inox_src_prepare
edo sed \
-e "14i#define WIDEVINE_CDM_VERSION_STRING \"${WIDEVINE_VERSION}\"" \
-i "third_party/widevine/cdm/stub/widevine_cdm_version.h"
}