Skip to content

Instantly share code, notes, and snippets.

@drakedevel
Created June 27, 2020 05:25
Show Gist options
  • Save drakedevel/589338b97eb016e5a8eaf62f0bdd0f80 to your computer and use it in GitHub Desktop.
Save drakedevel/589338b97eb016e5a8eaf62f0bdd0f80 to your computer and use it in GitHub Desktop.
Build a Fedora-compatible RPM for Signal Desktop
diff --git a/package.json b/package.json
index 0c19eda2..d2f8d615 100644
--- a/package.json
+++ b/package.json
@@ -314,7 +314,7 @@
"node_modules/zkgroup/libzkgroup.*"
],
"target": [
- "deb"
+ "rpm"
],
"icon": "build/icons/png"
},
@@ -328,6 +328,17 @@
"libxss1"
]
},
+ "rpm": {
+ "depends": [
+ "libnotify",
+ "libappindicator-gtk3",
+ "libXtst",
+ "nss",
+ "alsa-lib",
+ "libXScrnSaver"
+ ],
+ "fpm": ["--rpm-rpmbuild-define", "_build_id_links none"]
+ },
"protocols": {
"name": "sgnl-url-scheme",
"schemes": [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment