diff --git a/neovide.changes b/neovide.changes index e338ad1..8cd5c7c 100644 --- a/neovide.changes +++ b/neovide.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 13 08:00:58 UTC 2024 - Jianhua Lu + +- fix build on Leap 15.5 + ------------------------------------------------------------------- Wed Sep 11 13:58:01 UTC 2024 - Jianhua Lu diff --git a/neovide.obsinfo b/neovide.obsinfo deleted file mode 100644 index 187c2df..0000000 --- a/neovide.obsinfo +++ /dev/null @@ -1,4 +0,0 @@ -name: neovide -version: 0.13.3 -mtime: 1721120750 -commit: 9c23c432b8105f39d9e9ddc2732d3350a0323cc9 diff --git a/neovide.spec b/neovide.spec index b936220..b08347e 100644 --- a/neovide.spec +++ b/neovide.spec @@ -30,6 +30,7 @@ Source1: vendor.tar.zst Source2: https://github.com/rust-skia/skia/archive/m126-0.74.2/skia-%{skia_version}.tar.gz Source3: https://github.com/google/wuffs-mirror-release-c/archive/%{wuffs_commit}/wuffs-%{wuffs_commit}.tar.gz BuildRequires: cargo-packaging +BuildRequires: cargo >= 1.80 BuildRequires: clang BuildRequires: gcc-c++ BuildRequires: gn @@ -60,14 +61,14 @@ mkdir -p skia-%{skia_version}/third_party/externals/ mv wuffs-mirror-release-c-%{wuffs_commit} skia-%{skia_version}/third_party/externals/wuffs %build -# Don't build neovide here, otherwise it will be rebuild during install and fail to build. - -%install export SKIA_SOURCE_DIR=${PWD}/skia-%{skia_version} export SKIA_USE_SYSTEM_LIBRARIES=true export SKIA_NINJA_COMMAND=ninja export SKIA_GN_COMMAND=gn -%{cargo_install} +%{cargo_build} + +%install +install -Dm755 target/release/neovide %{buildroot}%{_bindir}/neovide install -Dm644 assets/neovide.desktop %{buildroot}%{_datadir}/applications/neovide.desktop install -Dm644 assets/neovide.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/neovide.svg