mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-04-19 19:33:45 +01:00
Compare commits
No commits in common. "main" and "v0.8.9+96879a8" have entirely different histories.
main
...
v0.8.9+968
4 changed files with 2 additions and 68 deletions
|
@ -10,7 +10,6 @@ For more information on lune, see [lune-org/lune](https://github.com/lune-org/lu
|
||||||
| Scoop |  |
|
| Scoop |  |
|
||||||
| AppImage |  |
|
| AppImage |  |
|
||||||
| APT |  |
|
| APT |  |
|
||||||
| COPR | [Project](https://copr.fedorainfracloud.org/coprs/devcomp/lune/) |
|
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
2
lune-src
2
lune-src
|
@ -1 +1 @@
|
||||||
Subproject commit 5d1401cdf611cc9f215f03bdf16ada0e77717edf
|
Subproject commit 010cd36375b467c85292ec87c922ee5806d79581
|
|
@ -1 +1 @@
|
||||||
5d1401c
|
010cd36
|
||||||
|
|
|
@ -1,65 +0,0 @@
|
||||||
Name: lune
|
|
||||||
Version: 0.8.9
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: A standalone Luau runtime
|
|
||||||
|
|
||||||
|
|
||||||
License: MPL2
|
|
||||||
URL: https://github.com/lune-org/lune
|
|
||||||
Source0: https://github.com/lune-org/lune/archive/refs/tags/v%{version}.tar.gz
|
|
||||||
|
|
||||||
|
|
||||||
ExclusiveArch: x86_64 aarch64
|
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: cmake
|
|
||||||
BuildRequires: rust
|
|
||||||
BuildRequires: cargo
|
|
||||||
BuildRequires: just
|
|
||||||
BuildRequires: clang
|
|
||||||
BuildRequires: perl
|
|
||||||
%ifarch aarch64
|
|
||||||
BuildRequires: binutils-aarch64-linux-gnu
|
|
||||||
BuildRequires: gcc-c++-aarch64-linux-gnu
|
|
||||||
BuildRequires: gcc-aarch64-linux-gnu
|
|
||||||
BuildRequires: musl-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
Requires: libstdc++
|
|
||||||
Requires: libgcc
|
|
||||||
Requires: openlibm
|
|
||||||
Requires: glibc
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
%{summary}.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n lune-%{version}
|
|
||||||
# Removes the first line containing clippy lint attribute which is falsely flagged as a shebang in build
|
|
||||||
find . -type f -name "*.rs" -exec perl -i -ne 'print unless /^\#!\[/ ' {} +
|
|
||||||
cat <<EOF > .cargo/config.toml
|
|
||||||
[target.aarch64-unknown-linux-gnu]
|
|
||||||
linker = "aarch64-linux-gnu-gcc"
|
|
||||||
rustflags = ["-L", "/usr/lib/gcc/aarch64-linux-gnu/14"]
|
|
||||||
EOF
|
|
||||||
|
|
||||||
%build
|
|
||||||
just build --locked --release
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
|
||||||
install -m0755 ./target/release/%{name} %{buildroot}/%{_bindir}/%{name}
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license LICENSE.txt
|
|
||||||
%{_bindir}/%{name}
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue