259.250108.1

This commit is contained in:
Mark Wagie 2025-01-13 10:51:53 -07:00
parent 02d408a700
commit 59debb83a6
2 changed files with 18 additions and 6 deletions

View file

@ -1,10 +1,11 @@
pkgbase = tutanota-desktop
pkgdesc = The desktop client for Tutanota, the secure e-mail service.
pkgver = 259.241223.0
pkgver = 259.250108.1
pkgrel = 1
url = https://tuta.com/secure-email
arch = x86_64
license = GPL-3.0-or-later
makedepends = cargo
makedepends = emscripten
makedepends = git
makedepends = nvm
@ -13,11 +14,11 @@ pkgbase = tutanota-desktop
depends = gtk3
depends = libsecret
depends = nss
source = git+https://github.com/tutao/tutanota.git#tag=tutanota-desktop-release-259.241223.0
source = git+https://github.com/tutao/tutanota.git#tag=tutanota-desktop-release-259.250108.1
source = git+https://github.com/P-H-C/phc-winner-argon2.git
source = git+https://github.com/open-quantum-safe/liboqs.git
source = tutanota-desktop.desktop
sha256sums = 28594f43c4e63eed34d241dcb3027c5cd5e962237f7ef7208d54645f1525fd86
sha256sums = be71c1f1bf66505037d57753be233917d8a80375c4592896f7010d9c95b2aa6a
sha256sums = SKIP
sha256sums = SKIP
sha256sums = d6fef99f41fe18008e44b5930aee26dc2f79ef753d770cbdb946d9e17ac9b7d7

View file

@ -2,7 +2,7 @@
# Co-Maintainer: Aaron J. Graves <linux@ajgraves.com>
# Contributor: ganthern <https://github.com/ganthern>
pkgname=tutanota-desktop
pkgver=259.241223.0
pkgver=259.250108.1
pkgrel=1
pkgdesc="The desktop client for Tutanota, the secure e-mail service."
arch=('x86_64')
@ -15,6 +15,7 @@ depends=(
'nss'
)
makedepends=(
'cargo'
'emscripten'
'git'
'nvm'
@ -24,7 +25,7 @@ source=("git+https://github.com/tutao/tutanota.git#tag=$pkgname-release-$pkgver"
'git+https://github.com/P-H-C/phc-winner-argon2.git'
'git+https://github.com/open-quantum-safe/liboqs.git'
"$pkgname.desktop")
sha256sums=('28594f43c4e63eed34d241dcb3027c5cd5e962237f7ef7208d54645f1525fd86'
sha256sums=('be71c1f1bf66505037d57753be233917d8a80375c4592896f7010d9c95b2aa6a'
'SKIP'
'SKIP'
'd6fef99f41fe18008e44b5930aee26dc2f79ef753d770cbdb946d9e17ac9b7d7')
@ -46,15 +47,25 @@ prepare() {
git config submodule.libs/webassembly/liboqs.url "$srcdir/liboqs"
git -c protocol.file.allow=always submodule update
export npm_config_cache="$srcdir/npm_cache"
_ensure_local_nvm
nvm install
npm ci
export RUSTUP_TOOLCHAIN=stable
for dir in packages/node-mimimi tuta-sdk/rust tuta-sdk/rust/sdk tuta-sdk/rust/uniffi-bindgen; do
pushd "${dir}"
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
popd
done
}
build() {
cd "${pkgname%-*}"
CFLAGS+=" -ffat-lto-objects"
export npm_config_cache="$srcdir/npm_cache"
export RUSTUP_TOOLCHAIN=stable
_ensure_local_nvm
npm ci
npm run build-packages
node desktop --custom-desktop-release --unpacked
}