Package Details: flutter-artifacts-dart-google-bin 3.38.1-3

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

Required by (13)

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 .. 10 11 12 13 14 15 16 17 18 19 20 .. 27 Next › Last »

cfujino commented on 2023-09-15 22:07 (UTC)

FWIW, it looks like v3.14.4 is available now.

But also, it does look like Google had two versions with the same v3.13.3 number: https://docs.flutter.dev/release/archive?tab=linux

...one on that page with ref == 'b0daa73', the other ref == '2524052'.

That incoherence from upstream is probably what broke the sha256sum in the PKGBUILD for v3.13.3.

Yeah, there was a breakdown in the flutter release infrastructure, that lead to the wrong commit being re-published as 3.13.3. It's unclear whether or not this will be fixed (as it would be risky to fix), so I would recommend unblocking this package by re-publishing for the 3.13.4 release.

steamer25 commented on 2023-09-15 19:32 (UTC) (edited on 2023-09-15 19:33 (UTC) by steamer25)

FWIW, it looks like v3.14.4 is available now.

But also, it does look like Google had two versions with the same v3.13.3 number: https://docs.flutter.dev/release/archive?tab=linux

...one on that page with ref == 'b0daa73', the other ref == '2524052'.

That incoherence from upstream is probably what broke the sha256sum in the PKGBUILD for v3.13.3.

steamer25 commented on 2023-09-15 19:27 (UTC) (edited on 2023-09-15 19:32 (UTC) by steamer25)

FWIW, it looks like v3.14.4 is available now: https://docs.flutter.dev/release/archive?tab=linux

But yeah, I'm seeing a conflicting sha256sum for v3.13.3 as well:

$ shasum -a 256 flutter-3.13.3.tar.xz 
4fc057286135d4b7559db7d735a235753e273f284219b2e9d2f77aa455dd923e  flutter-3.13.3.tar.xz

Not equal to c53c8aeff17d13c4c0b47bff2c54a293e48286e03dd089f37d561737e41a8c2c from the PKGBUILD.

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