Ana Guerrero 2024-09-12 14:56:25 +00:00 committed by Git OBS Bridge
commit af488a2c72
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 11 13:58:01 UTC 2024 - Jianhua Lu <lujianhua000@gmail.com>
- format spec file
- add neovim as requires
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 6 12:45:21 UTC 2024 - Jianhua Lu <lujianhua000@gmail.com> Fri Sep 6 12:45:21 UTC 2024 - Jianhua Lu <lujianhua000@gmail.com>

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define skia_version m126-0.74.2 %define skia_version m126-0.74.2
%define wuffs_commit e3f919ccfe3ef542cfc983a82146070258fb57f8 %define wuffs_commit e3f919ccfe3ef542cfc983a82146070258fb57f8
@ -32,20 +33,21 @@ BuildRequires: cargo-packaging
BuildRequires: clang BuildRequires: clang
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gn BuildRequires: gn
BuildRequires: ninja
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: ninja
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} && 0%{?suse_version} < 1550 %if 0%{?suse_version} && 0%{?suse_version} < 1550
# clang++ needs gcc13 c++ headers to compile skia on Leap 15.6 # clang++ needs gcc13 c++ headers to compile skia on Leap 15.6
BuildRequires: libstdc++6-devel-gcc13 BuildRequires: libstdc++6-devel-gcc13
%endif %endif
Requires: neovim >= 0.10.0
ExclusiveArch: x86_64 aarch64 ExclusiveArch: x86_64 aarch64
@ -58,7 +60,7 @@ mkdir -p skia-%{skia_version}/third_party/externals/
mv wuffs-mirror-release-c-%{wuffs_commit} skia-%{skia_version}/third_party/externals/wuffs mv wuffs-mirror-release-c-%{wuffs_commit} skia-%{skia_version}/third_party/externals/wuffs
%build %build
# Don't build neovide here, otherwise it will be rebuild during install and fail to build. # Don't build neovide here, otherwise it will be rebuild during install and fail to build.
%install %install
export SKIA_SOURCE_DIR=${PWD}/skia-%{skia_version} export SKIA_SOURCE_DIR=${PWD}/skia-%{skia_version}