Package Details: flutter-artifacts-engine-web-google-bin 3.41.2-3

Git Clone URL: https://aur.archlinux.org/flutter.git (read-only, click to copy)
Package Base: flutter
Description: Flutter SDK component - web engine
Upstream URL: https://flutter.dev
Keywords: android fuchsia ios mobile sdk
Licenses: custom, BSD, CCPL
Groups: flutter
Conflicts: flutter-engine-web
Provides: flutter-engine-web
Submitter: flipflop97
Maintainer: WithTheBraid
Last Packager: WithTheBraid
Votes: 151
Popularity: 0.021404
First Submitted: 2017-06-05 21:03 (UTC)
Last Updated: 2026-02-22 06:08 (UTC)

Required by (1)

Sources (43)

Pinned Comments

WithTheBraid commented on 2025-11-11 10:15 (UTC)

This package is deprecated in favor of aur/flutter which now contains all required artifacts on its own. This PKGBUILD will be kept as is in order to ensure seamless builds of old Flutter version in future.

Latest Comments

« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 20 21 .. 28 Next › Last »

chillenb commented on 2023-09-13 21:10 (UTC)

The sha256sum is wrong for v3.13.3. Seems like Google silently uploaded a new version?

gkpiccoli commented on 2023-07-23 02:24 (UTC)

After deleting the .pub-cache folder from my home it worked too. Thanks!

f122yxx49 commented on 2023-07-04 00:51 (UTC) (edited on 2023-07-04 01:05 (UTC) by f122yxx49)

1 file changed, 17 insertions(+), 1 deletion(-)
PKGBUILD | 18 +++++++++++++++++-

modified   PKGBUILD
@@ -14,8 +14,24 @@ makedepends=("python")
 backup=("opt/${pkgname}/packages/${pkgname}_test/pubspec.yaml" "opt/${pkgname}/packages/${pkgname}/pubspec.yaml")
 options=("!emptydirs")
 install="${pkgname}.install"
+# Use bash Parameter Expansion so that the more than 2 billion people
+# (almost 30% of the population) that are currently under illegal
+# unilateral sanctions by the west (collectively makes up about 10% of
+# the population) can download and use flutter.
+
+# For those that live in China, Iran, Iraq, Syria, Russia, North
+# Korea, Cuba, Venezuela, Sudan, Yemen, Afghanistan, Belarus,
+# Palestine, Myanmar, Nicaragua, Libya, Zimbabwe (this list gets
+# bigger every year) you are not allowed to access
+# storage.googleapis.com and therefore will need to export these two
+# shell variables in your ~/.bashrc:
+
+# export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn export
+# export PUB_HOSTED_UTL=https://pub.flutter-io.cn
+
+# Thank you to China for not being fascist psychopaths.
 source=(
-  "${pkgname}-${pkgver}.tar.xz::https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/${pkgname}_linux_${pkgver/.hotfix/+hotfix}-stable.tar.xz"
+  "${pkgname}-${pkgver}.tar.xz::${FLUTTER_STORAGE_BASE_URL:-https://storage.googleapis.com}/flutter_infra_release/releases/stable/linux/${pkgname}_linux_${pkgver/.hotfix/+hotfix}-stable.tar.xz"
   "${pkgname}.sh"
   "${pkgname}.csh"
 )

PolarianDev commented on 2023-06-02 11:05 (UTC)

I have added flutter to my unofficial repository, due to it being a dependency of a package I maintain saber.

Feel free to pull it from my repository, check out PolarRepo

jchacking commented on 2023-05-26 17:39 (UTC) (edited on 2023-05-26 17:53 (UTC) by jchacking)

When I try to install it using yay I get the following error:

Got dependencies.
../../../../.pub-cache/hosted/pub.dev/dwds-19.0.0/lib/data/build_result.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/dwds-19.0.0/lib/data/serializers.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/dwds-19.0.0/lib/data/debug_event.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/built_value-8.4.4/lib/serializer.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/dwds-19.0.0/lib/data/extension_request.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/built_value-8.4.4/lib/serializer.dart:6:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/src/internal/hash.dart': No such file or directory
import 'package:built_collection/src/internal/hash.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/built_value-8.4.4/lib/src/big_int_serializer.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/built_value-8.4.4/lib/src/date_time_serializer.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/built_value-8.4.4/lib/src/duration_serializer.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
../../../../.pub-cache/hosted/pub.dev/built_value-8.4.4/lib/src/int64_serializer.dart:5:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/built_collection.dart': No such file or directory
import 'package:built_collection/built_collection.dart';
       ^
==> ERROR: Se produjo un fallo en build().
    Cancelando...
 -> error compilando: flutter-exit status 4
 -> Ha fallado al instalar los siguientes paquetes. Una intervención manual es requerida:
flutter - exit status 4

After deleting the .pub-cache folder from my home it worked.

elliotwutingfeng commented on 2023-05-26 14:05 (UTC)

Following the suggestion by jpike, I had to run the following command after installation to avoid the "The Flutter directory is not a clone of the GitHub project" error.

mv "/opt/flutter/.git-refs" "/opt/flutter/.git"

solsticedhiver commented on 2023-05-23 17:04 (UTC)

Why remove the flutterusers group and make the permission rw for all users. This is a poor decision and using a flutterusers group better in term of security

solsticedhiver commented on 2023-05-23 16:56 (UTC)

Once installed flutte complains with

Error: The Flutter directory is not a clone of the GitHub project.
       The flutter tool requires Git in order to operate properly;
       to install Flutter, see the instructions at:
       https://flutter.dev/get-started

Why rename the .git directory to .git-refs ? It seemst o work for me with .git not .git-refs

jpike commented on 2023-05-23 05:28 (UTC) (edited on 2023-05-23 05:44 (UTC) by jpike)

Fresh install (not upgrade) seems to be broken, flutter doctor gives:

Error: The Flutter directory is not a clone of the GitHub project.

flutter 3.7 was working fine, with that install we had /opt/flutter/.git and with the latest release this directory is not present.

I can see that the PKGBUILD does mv "${pkgdir}/opt/${pkgname}/.git" "${pkgdir}/opt/${pkgname}/.git-refs" and that the flutter.install has mv "/opt/flutter/.git-refs" "/opt/flutter/.git" in its post_upgrade, I think maybe the problem is that for a fresh install the post_upgrade doesn't run, maybe this command should be in post_install. Although I thought that post_upgrade also runs for fresh installations so I'm not sure.

GPereira commented on 2023-05-21 14:01 (UTC)

I could not setup flutter using the flutter package. It has issues detecting its own version when I run after a fresh install:

cat /opt/flutter/version

it outputs:

3.10.1

if I run flutter doctor and check the contents again it outputs:

0.0.0-unknown

The previous errors happen because flutter doctor tool expects the flutter installation path to be a git cloned repository and tries to use git to perform various tasks like derive the version from the git branch it is checked out and so on. That's why while trying to detect the version it fails and sets it as unknown

No idea how to fix these issues while using the flutter package from AUR, I don't want to have a manual setup that would require manual intervention in the future