Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: flutter-3.7.11
@ 2023-04-14 11:27 Bnyro
  2023-04-14 16:28 ` [PR PATCH] [Updated] " Bnyro
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Bnyro @ 2023-04-14 11:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 867 bytes --]

There is a new pull request by Bnyro against master on the void-packages repository

https://github.com/Bnyro/void-packages flutter
https://github.com/void-linux/void-packages/pull/43438

New package: flutter-3.7.11
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)

as per #12749

Currently, it's still required to run `chmod -R {username}:{username} /opt/flutter` in order for flutter to work properly, I'd be happy to get an advice how to handle this inside the `template`.


A patch file from https://github.com/void-linux/void-packages/pull/43438.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flutter-43438.patch --]
[-- Type: text/x-diff, Size: 1357 bytes --]

From ad7be40d7c5db3f94428a312a8a2c96b7d182536 Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Fri, 14 Apr 2023 12:48:35 +0200
Subject: [PATCH] New package: flutter-3.7.11

---
 srcpkgs/flutter/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/flutter/template

diff --git a/srcpkgs/flutter/template b/srcpkgs/flutter/template
new file mode 100644
index 000000000000..1d68d0d60d16
--- /dev/null
+++ b/srcpkgs/flutter/template
@@ -0,0 +1,24 @@
+# Template file for 'flutter'
+pkgname=flutter
+version=3.7.11
+revision=1
+archs="aarch64 x86_64"
+depends="bash zip xz unzip git curl"
+short_desc="SDK to build modern mobile apps for iOS and Android"
+maintainer="Bnyro <bnyro@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://flutter.dev"
+distfiles="https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${version}-stable.tar.xz"
+checksum=fefb63a0f0781e7f11b4fd3db8c75462d0d2ee5cd0bec91dacdb331189693817
+
+do_install() {
+	vlicense LICENSE
+	vmkdir opt/${pkgname}
+	vcopy bin opt/${pkgname}
+	vcopy packages opt/${pkgname}
+	# Otherwise it'd complaint about not being inside a git repo
+	vcopy .git opt/${pkgname}
+	vmkdir usr/bin
+	ln -s /opt/flutter/bin/flutter ${DESTDIR}/usr/bin/flutter
+	ln -s /opt/flutter/bin/dart ${DESTDIR}/usr/bin/dart
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-01 13:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 11:27 [PR PATCH] New package: flutter-3.7.11 Bnyro
2023-04-14 16:28 ` [PR PATCH] [Updated] " Bnyro
2023-04-14 21:03 ` Chocimier
2023-04-14 21:11 ` mhmdanas
2023-04-14 21:23 ` paper42
2023-04-16  8:19 ` Bnyro
2023-04-17 11:38 ` mhmdanas
2023-04-20 19:37 ` mhmdanas
2023-06-01 13:00 ` [PR PATCH] [Closed]: " Bnyro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).