chrome on raspberry pi

Dear Manjaro community

I am trying to install google chrome on raspberry pi 4. I found the download file in the repository and tried installing it but it fails with a message saying there is no chrome for arc0064 yet? Does someone have one designed for the raspberry pi yet or any other solution? I am trying to access a streaming site called dstv now in south africa but I assume it works the same as netflix. I know you have to install vaveldi but that returns the same error message. the widevine plugin does the same.Any suggestions?

We don't have Chrome or Vivaldi in the repository and the AUR package only supports x86_64.

Your best bet is to try and use Chromium (which is in the repo) and compile widevine for aarch64, by editing the AUR PKGBUILD for it, before building.

PS: This is not something we have looked into before, so we don't know if it will work or not.

HI sTRIT

Thank you for the quick reply can you point me in the right direction on what to edit in the AUR PKGBUILD I am a complete newbe and was hoping it would be as simple as point and click so I only have a basic understanding of editing files, but I do understand you have bigger things to worry about. I will in the meantime search through the discussions to see if I can find something about the editing required.

In the PKGBUILD for the widevine package, change the line saying arch=('x86_64') to say arch=('x86_64' 'aarch64').
That will make it a viable architecture.

Then it's just the matter of the source supporting other architectures.

ok cool will try that tonight and report back.

thank you for the help and quick replies!!

Hi Strit

looked like it was going o almost work but failed...

Preparing...
Cloning chromium-widevine build files...
Checking chromium-widevine dependencies...
Edit chromium-widevine build files

Preparing...
Cloning chromium-widevine build files...
Checking chromium-widevine dependencies...

Building chromium-widevine...
==> Making package: chromium-widevine 1:4.10.1503.4-1 (Kamiisi, Diteli 10, 2019 8:30:08 carra SAST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading chrome-eula_text-20190830.html...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 46220 100 46220 0 0 90450 0 --:--:-- --:--:-- --:--:-- 90450
-> Downloading google-chrome-stable_77.0.3865.90-1_amd64.deb...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 58.2M 0 3438 0 0 6688 0 2:32:10 --:--:-- 2:32:10 6675
0 58.2M 0 295k 0 0 222k 0 0:04:27 0:00:01 0:04:26 222k
5 58.2M 5 3231k 0 0 1387k 0 0:00:42 0:00:02 0:00:40 1387k
8 58.2M 8 4863k 0 0 1458k 0 0:00:40 0:00:03 0:00:37 1457k
10 58.2M 10 6000k 0 0 1386k 0 0:00:43 0:00:04 0:00:39 1385k
11 58.2M 11 7152k 0 0 1340k 0 0:00:44 0:00:05 0:00:39 1482k
14 58.2M 14 8351k 0 0 1319k 0 0:00:45 0:00:06 0:00:39 1611k
15 58.2M 15 9520k 0 0 1290k 0 0:00:46 0:00:07 0:00:39 1246k
17 58.2M 17 10.4M 0 0 1280k 0 0:00:46 0:00:08 0:00:38 1161k
19 58.2M 19 11.5M 0 0 1272k 0 0:00:46 0:00:09 0:00:37 1174k
21 58.2M 21 12.7M 0 0 1259k 0 0:00:47 0:00:10 0:00:37 1171k
23 58.2M 23 13.5M 0 0 1218k 0 0:00:48 0:00:11 0:00:37 1092k
25 58.2M 25 14.9M 0 0 1244k 0 0:00:47 0:00:12 0:00:35 1175k
27 58.2M 27 16.0M 0 0 1233k 0 0:00:48 0:00:13 0:00:35 1156k
29 58.2M 29 17.1M 0 0 1228k 0 0:00:48 0:00:14 0:00:34 1145k
31 58.2M 31 18.4M 0 0 1230k 0 0:00:48 0:00:15 0:00:33 1171k
33 58.2M 33 19.5M 0 0 1227k 0 0:00:48 0:00:16 0:00:32 1249k
35 58.2M 35 20.7M 0 0 1224k 0 0:00:48 0:00:17 0:00:31 1174k
37 58.2M 37 21.8M 0 0 1218k 0 0:00:48 0:00:18 0:00:30 1179k
39 58.2M 39 22.9M 0 0 1217k 0 0:00:48 0:00:19 0:00:29 1186k
41 58.2M 41 24.0M 0 0 1213k 0 0:00:49 0:00:20 0:00:29 1161k
43 58.2M 43 25.2M 0 0 1211k 0 0:00:49 0:00:21 0:00:28 1157k
45 58.2M 45 26.4M 0 0 1208k 0 0:00:49 0:00:22 0:00:27 1155k
47 58.2M 47 27.5M 0 0 1208k 0 0:00:49 0:00:23 0:00:26 1168k
49 58.2M 49 28.6M 0 0 1206k 0 0:00:49 0:00:24 0:00:25 1165k
51 58.2M 51 29.8M 0 0 1206k 0 0:00:49 0:00:25 0:00:24 1177k
53 58.2M 53 30.9M 0 0 1204k 0 0:00:49 0:00:26 0:00:23 1173k
55 58.2M 55 32.0M 0 0 1199k 0 0:00:49 0:00:27 0:00:22 1159k
57 58.2M 57 33.2M 0 0 1199k 0 0:00:49 0:00:28 0:00:21 1161k
59 58.2M 59 34.4M 0 0 1201k 0 0:00:49 0:00:29 0:00:20 1173k
60 58.2M 60 35.4M 0 0 1198k 0 0:00:49 0:00:30 0:00:19 1158k
62 58.2M 62 36.6M 0 0 1199k 0 0:00:49 0:00:31 0:00:18 1171k
64 58.2M 64 37.8M 0 0 1198k 0 0:00:49 0:00:32 0:00:17 1191k
66 58.2M 66 38.7M 0 0 1191k 0 0:00:50 0:00:33 0:00:17 1146k
68 58.2M 68 40.0M 0 0 1193k 0 0:00:49 0:00:34 0:00:15 1148k
70 58.2M 70 41.2M 0 0 1196k 0 0:00:49 0:00:35 0:00:14 1183k
72 58.2M 72 42.3M 0 0 1194k 0 0:00:49 0:00:36 0:00:13 1168k
74 58.2M 74 43.5M 0 0 1194k 0 0:00:49 0:00:37 0:00:12 1171k
76 58.2M 76 44.7M 0 0 1195k 0 0:00:49 0:00:38 0:00:11 1216k
78 58.2M 78 45.8M 0 0 1192k 0 0:00:49 0:00:39 0:00:10 1188k
80 58.2M 80 46.9M 0 0 1191k 0 0:00:50 0:00:40 0:00:10 1157k
82 58.2M 82 48.1M 0 0 1193k 0 0:00:49 0:00:41 0:00:08 1180k
84 58.2M 84 49.2M 0 0 1191k 0 0:00:50 0:00:42 0:00:08 1165k
86 58.2M 86 50.4M 0 0 1191k 0 0:00:50 0:00:43 0:00:07 1161k
88 58.2M 88 51.5M 0 0 1190k 0 0:00:50 0:00:44 0:00:06 1173k
90 58.2M 90 52.6M 0 0 1189k 0 0:00:50 0:00:45 0:00:05 1169k
92 58.2M 92 53.9M 0 0 1190k 0 0:00:50 0:00:46 0:00:04 1167k
94 58.2M 94 55.0M 0 0 1190k 0 0:00:50 0:00:47 0:00:03 1186k
96 58.2M 96 56.1M 0 0 1189k 0 0:00:50 0:00:48 0:00:02 1178k
98 58.2M 98 57.3M 0 0 1189k 0 0:00:50 0:00:49 0:00:01 1176k
100 58.2M 100 58.2M 0 0 1189k 0 0:00:50 0:00:50 --:--:-- 1192k
-> Found get_cdm_version.c
==> Validating source files with sha256sums...
chrome-eula_text-20190830.html ... Passed
google-chrome-stable_77.0.3865.90-1_amd64.deb ... Passed
get_cdm_version.c ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting google-chrome-stable_77.0.3865.90-1_amd64.deb with bsdtar
==> Starting prepare()...
==> Starting pkgver()...
./libwidevinecdm.so: cannot open shared object file: No such file or directory
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:

it gave 2 errors at the bottom any ideas?

this is how the build file looks

Maintainer: Doug Newgard

pkgname=chromium-widevine
pkgdesc='A browser plugin designed for the viewing of premium video content'
pkgver=4.10.1503.4
_chrome_ver=77.0.3865.90
_license_date=$(curl -sI https://www.google.com/intl/en/chrome/privacy/eula_text.html | sed -n '/^last-modified/ s/.*: //p' | date +"%Y%m%d" -f -)
_license_last=20190829
pkgrel=1
epoch=1
arch=('x86_64' 'aarch64')
url='https://www.widevine.com/'
license=('custom')
depends=('gcc-libs' 'glib2' 'glibc' 'nspr' 'nss')
provides=("chromium-widevine-dev=$pkgver")
conflicts=('chromium-widevine-dev')
options=('!strip')
source=("chrome-eula_text-$license_date.html::https://www.google.com/intl/en/chrome/privacy/eula_text.html"
"https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable
${_chrome_ver}-1_amd64.deb"
get_cdm_version.c)
sha256sums=('6dd5ffc2c58074b19ab9ed3ae92d0ba12456a105ff52cd91ff13836edd607795'
'f443503c88164f018ddb88247d2824431efcb863935ae476f4ada6218f41fdda'
'3fda44a5b8b222434530f27923568de1fda1eb0caa8621b56a8b2a6a2a2e3d5d')

prepare() {
bsdtar -x --strip-components 4 -f data.tar.xz opt/google/chrome/libwidevinecdm.so
gcc get_cdm_version.c -o get_cdm_version -ldl
}

pkgver() {
./get_cdm_version
}

package() {
install -Dm644 libwidevinecdm.so -t "$pkgdir/usr/lib/chromium/"
install -d "$pkgdir/usr/lib/chromium-dev/"
ln -s ../chromium/libwidevinecdm.so "$pkgdir/usr/lib/chromium-dev/libwidevinecdm.so"
install -Dm644 chrome-eula_text-$_license_date.html "$pkgdir/usr/share/licenses/$pkgname/eula_text.html"
}

the second one i tried was any desk it also returned the aarch64 error at frst so i changed the script to include te aarch64 line and it tried running it but came back with the following error

Preparing...
Cloning anydesk build files...
Checking anydesk dependencies...

Building anydesk...
/var/tmp/pamac-build-romain/anydesk/PKGBUILD: line 18: unexpected EOF while looking for matching `''
/var/tmp/pamac-build-romain/anydesk/PKGBUILD: line 31: syntax error: unexpected end of file
==> ERROR: Failed to source /var/tmp/pamac-build-romain/anydesk/PKGBUILD

Forum kindly sponsored by Bytemark