aquatone: add google-chrome-stable support

This commit is contained in:
Yury Martynov 2019-07-14 10:36:32 +03:00
parent ea9c4a2e89
commit b81014ea07
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 13 additions and 0 deletions

View file

@ -69,6 +69,8 @@ DEPEND="
dev-go/go-text:=
>=dev-lang/go-1.12"
PATCHES=( "${FILESDIR}/add_google-chrome-stable_support.patch" )
src_compile() {
GOPATH="${S}:$(get_golibdir_gopath)" \
GOCACHE="${T}/go-cache" \

View file

@ -0,0 +1,11 @@
diff -ur a/src/github.com/michenriksen/aquatone/agents/url_screenshotter.go b/src/github.com/michenriksen/aquatone/agents/url_screenshotter.go
--- a/src/github.com/michenriksen/aquatone/agents/url_screenshotter.go 2019-05-19 12:07:52.000000000 +0300
+++ b/src/github.com/michenriksen/aquatone/agents/url_screenshotter.go 2019-07-14 10:29:36.254874269 +0300
@@ -77,6 +77,7 @@
paths := []string{
"/usr/bin/google-chrome",
+ "/usr/bin/google-chrome-stable",
"/usr/bin/google-chrome-beta",
"/usr/bin/google-chrome-unstable",
"/usr/bin/chromium-browser",