mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-28 06:18:27 +00:00
* use vendored nodejs cause fedora doesn't have node 26 yet
* chore (legcord-nightly): remove hacks
* try mock
* try this
---------
(cherry picked from commit 163dc0f284)
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Co-authored-by: june <159748074+june-fish@users.noreply.github.com>
Co-authored-by: madomado <madonuko@outlook.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -4,5 +4,6 @@ project pkg {
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
mock = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
%global commit 0a022f149000bdaed644c2609e19aa7b8badf825
|
||||
%global commit_date 20260626
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global debug_package %nil
|
||||
# terrible evil no good very bad hack
|
||||
# fix one day
|
||||
%global __requires_exclude_from (.*)lib(.*)so(.*)
|
||||
|
||||
Name: legcord-nightly
|
||||
%electronmeta -D
|
||||
%electronmeta -aD
|
||||
Version: %commit_date.%shortcommit
|
||||
Release: 1%{?dist}
|
||||
License: OSL-3.0 AND %{electron_license}
|
||||
@@ -18,7 +17,7 @@ Packager: Owen <owen@fyralabs.com>
|
||||
Requires: xdg-utils
|
||||
Obsoletes: armcord < 3.3.2-1
|
||||
Conflicts: legcord
|
||||
BuildRequires: anda-srpm-macros pnpm nodejs-npm git-core gcc gcc-c++ make desktop-file-utils zlib-ng-compat-devel
|
||||
BuildRequires: anda-srpm-macros pnpm nodejs-npm git-core gcc gcc-c++ make desktop-file-utils zlib-ng-compat-devel nvm
|
||||
|
||||
%description
|
||||
Legcord is a custom client designed to enhance your Discord experience
|
||||
@@ -26,9 +25,9 @@ while keeping everything lightweight.
|
||||
|
||||
%prep
|
||||
%git_clone %{url}.git %{commit}
|
||||
%vendor_nodejs -v 26
|
||||
|
||||
%build
|
||||
echo "Electron Builder" > %{rpmbuilddir}/webapp-tool.txt
|
||||
%pnpm_build -r build
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user