mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* fix(Signal): Override SOURCE_DATE_EPOCH
* fix: .desktop file
---------
(cherry picked from commit 57b5516465)
Signed-off-by: Gilver <roachy@fyralabs.com>
Co-authored-by: Gilver <roachy@fyralabs.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/package.json 2026-03-23 09:45:41.545576312 +0100
|
||||
+++ b/package.json 2026-03-23 09:46:51.714180613 +0100
|
||||
@@ -424,7 +424,7 @@
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
- "node": "24.14.0"
|
||||
+ "node": ">= 22"
|
||||
},
|
||||
"build": {
|
||||
"appId": "org.whispersystems.signal-desktop",
|
||||
@@ -3,12 +3,13 @@
|
||||
Name: signal-desktop
|
||||
%electronmeta -aD
|
||||
Version: 8.4.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A private messenger for Windows, macOS, and Linux
|
||||
URL: https://signal.org
|
||||
Source0: https://github.com/signalapp/Signal-Desktop/archive/refs/tags/v%{version}.tar.gz
|
||||
Source1: signal.desktop
|
||||
Source2: org.signal.Signal.metainfo.xml
|
||||
Patch0: fix-runtime.patch
|
||||
License: AGPL-3.0-only AND %{electron_license}
|
||||
|
||||
BuildRequires: pulseaudio-libs-devel
|
||||
@@ -18,7 +19,7 @@ BuildRequires: anda-srpm-macros
|
||||
BuildRequires: pnpm
|
||||
BuildRequires: python3
|
||||
BuildRequires: terra-appstream-helper
|
||||
BuildRequires: nodejs-full-i18n
|
||||
BuildRequires: libxcrypt-compat
|
||||
|
||||
Requires: libwayland-cursor
|
||||
Requires: libwayland-client
|
||||
@@ -56,16 +57,20 @@ Signal Desktop links with Signal on Android or iOS and lets you message from you
|
||||
|
||||
%prep
|
||||
%autosetup -n Signal-Desktop-%{version}
|
||||
sed -i 's/--config.directories.output=release//g' package.json
|
||||
|
||||
%build
|
||||
export SIGNAL_ENV=production
|
||||
export SOURCE_DATE_EPOCH="$(date +"%s")"
|
||||
%{__pnpm} install --frozen-lockfile
|
||||
%{__pnpm} run clean-transpile
|
||||
pushd sticker-creator
|
||||
%{__pnpm} install --frozen-lockfile
|
||||
%{__pnpm} run build
|
||||
popd
|
||||
%pnpm_build -r generate,prepare-beta-build
|
||||
%dnl %pnpm_build -r generate,build:policy-files,generate,build:esbuild:prod
|
||||
%{__pnpm} run generate
|
||||
%{__pnpm} run build-linux
|
||||
|
||||
%install
|
||||
%electron_install -i signal -l -I build/icons/png
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=Signal
|
||||
Exec=signal-desktop %U
|
||||
Exec=signal-desktop --use-tray-icon %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=signal
|
||||
@@ -8,6 +8,3 @@ StartupWMClass=Signal
|
||||
Comment=Private messaging from your desktop
|
||||
MimeType=x-scheme-handler/sgnl;x-scheme-handler/signalcaptcha;
|
||||
Categories=Network;InstantMessaging;Chat;
|
||||
X-Desktop-File-Install-Version=0.27
|
||||
X-Purism-FormFactor=Workstation;Mobile;
|
||||
X-Flatpak-RenamedFrom=signal-desktop.desktop;
|
||||
|
||||
Reference in New Issue
Block a user