From 2d123e9aefd28707ea7b94a086efe2d8b35e3d39 Mon Sep 17 00:00:00 2001 From: Luca Coduri Date: Mon, 5 Jun 2023 03:01:41 +0200 Subject: [PATCH] service ok service ok --- build_scripts/PKGBUILD | 8 +++++--- notiflut_deamon/pubspec.yaml | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/build_scripts/PKGBUILD b/build_scripts/PKGBUILD index c059eec..b1bc604 100644 --- a/build_scripts/PKGBUILD +++ b/build_scripts/PKGBUILD @@ -1,5 +1,5 @@ pkgname=notiflut -pkgver=0.1.1 +pkgver=0.1.2 pkgrel=1 pkgdesc="A simple notificaion daemon with a GTK panel for checking previous notifications like other DEs" _pkgfoldername=Notiflut-Land @@ -19,6 +19,7 @@ source=("${_pkgfoldername}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") build() { cd "$srcdir/$_pkgfoldername-$pkgver/notiflut_deamon" + flutter_rust_bridge_codegen --rust-input native/src/api.rs --dart-output lib/src/native/bridge_generated.dart --dart-decl-output lib/src/native/bridge_definitions.dart flutter build linux --release } @@ -30,6 +31,7 @@ package() { ln -s /opt/${pkgname}/notiflut_land ${pkgdir}/usr/bin/notiflut_land #install service - install -Dm644 $_pkgfoldername-$pkgver/notiflut_deamon/notiflut.systemd.service ${pkgdir}/etc/systemd/system/ - install -Dm644 $_pkgfoldername-$pkgver/notiflut_deamon/org.lucacoduriv.notiflut.service ${pkgdir}/usr/share/dbus-1/services/ + mv $_pkgfoldername-$pkgver/notiflut_deamon/notiflut.systemd.service $_pkgfoldername-$pkgver/notiflut_deamon/notiflut.service + install -Dm644 $_pkgfoldername-$pkgver/notiflut_deamon/notiflut.service -t ${pkgdir}/etc/systemd/user/ + install -Dm644 $_pkgfoldername-$pkgver/notiflut_deamon/org.lucacoduriv.notiflut.service -t ${pkgdir}/usr/share/dbus-1/services/ } diff --git a/notiflut_deamon/pubspec.yaml b/notiflut_deamon/pubspec.yaml index 671a377..4e97244 100644 --- a/notiflut_deamon/pubspec.yaml +++ b/notiflut_deamon/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.1.0 +version: 0.1.2 environment: sdk: ">=2.19.6 <3.0.0" @@ -34,7 +34,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 - flutter_rust_bridge: ^1.75.1 + flutter_rust_bridge: ^1.77.1 ffi: ^2.0.1 freezed_annotation: ^2.2.0 image: ^4.0.16