File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # Template file for 'neovide'
2+ pkgname=neovide
3+ version=0.15.0
4+ revision=1
5+
6+ # These are the only architectures supported by skia-bindings.
7+ archs="aarch64 x86_64 aarch64-musl x86_64-musl"
8+
9+ #build_wrksrc=
10+ build_style=cargo
11+ #configure_args=""
12+ #make_build_args=""
13+ #make_install_args=""
14+ #conf_files=""
15+ #make_dirs="/var/log/dir 0755 root root"
16+ hostmakedepends="pkg-config clang ninja python gn curl git"
17+ makedepends="fontconfig-devel freetype-devel icu-devel zlib-devel
18+ libjpeg-turbo-devel libpng-devel libwebp-devel harfbuzz-devel
19+ expat-devel"
20+ depends="hicolor-icon-theme"
21+ checkdepends="neovim"
22+ short_desc="No Nonsense Neovim Client in Rust"
23+ maintainer="Theo Logan <
[email protected] >"
24+ license="MIT"
25+ homepage="https://neovide.dev/"
26+ changelog="https://github.com/neovide/neovide/releases/tag/${version}"
27+ distfiles="https://github.com/neovide/neovide/archive/refs/tags/${version}.tar.gz"
28+ checksum=89900673314f4dba66a1716197aca3b51f01365d9f8351563c3dc5604b3e48ab
29+
30+ pre_build() {
31+ export FORCE_SKIA_BUILD=1
32+ export SKIA_USE_SYSTEM_LIBRARIES=1
33+ export SKIA_GN_COMMAND=gn
34+ export SKIA_NINJA_COMMAND=ninja
35+ export CC=clang
36+ export CXX=clang++
37+ }
38+
39+ post_install() {
40+ for size in 16x16 32x32 48x48 256x256; do
41+ vinstall assets/neovide-${size}.png 0644 usr/share/icons/hicolor/${size}/apps neovide.png
42+ done
43+
44+ vlicense LICENSE
45+ vinstall assets/neovide.desktop 0644 usr/share/applications
46+ vmkdir usr/share/docs/neovide
47+ for file in $(find website/docs -iname "*.md"); do
48+ vinstall ${file} 0644 usr/share/docs/neovide
49+ done
50+ }
You can’t perform that action at this time.
0 commit comments