diff --git a/anda/apps/flutter/anda.hcl b/anda/apps/flutter/anda.hcl new file mode 100644 index 0000000000..22fa8d01cb --- /dev/null +++ b/anda/apps/flutter/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "flutter.spec" + } +} diff --git a/anda/apps/flutter/flutter.spec b/anda/apps/flutter/flutter.spec new file mode 100644 index 0000000000..296e07bd6c --- /dev/null +++ b/anda/apps/flutter/flutter.spec @@ -0,0 +1,30 @@ +Name: flutter +Version: 3.13.8 +Release: 1%?dist +Summary: SDK for crafting beautiful, fast user experiences from a single codebase +License: BSD-3-Clause +URL: https://flutter.dev +Source0: https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_%version-stable.tar.xz +Requires: bash curl git file which zip xz-utils +Recommends: mesa-libGLU + +%description +Flutter transforms the app development process. Build, test, and deploy +beautiful mobile, web, desktop, and embedded apps from a single codebase. + +%prep +tar xf %SOURCE0 + +%build + +%install +mkdir -p %buildroot%_datadir %buildroot%_bindir +mv %name/ %buildroot%_datadir/ +ln -s %_datadir/%name/bin/%name %buildroot%_bindir/%name + +%files +%_bindir/%name +%_datadir/%name + +%changelog +%autochangelog diff --git a/anda/apps/flutter/update.rhai b/anda/apps/flutter/update.rhai new file mode 100644 index 0000000000..103ad474f3 --- /dev/null +++ b/anda/apps/flutter/update.rhai @@ -0,0 +1,2 @@ +let obj = get("https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json").json(); +rpm.version(obj.releases[0].version);