Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions srcpkgs/neovide/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'neovide'
pkgname=neovide
version=0.15.1
revision=2
version=0.15.2
revision=1
archs="x86_64* aarch64*" # the skia-bindings crate only supports these archs
build_style=cargo
hostmakedepends="pkg-config clang ninja python gn curl git"
Expand All @@ -16,7 +16,7 @@ license="MIT"
homepage="https://neovide.dev/"
changelog="https://github.com/neovide/neovide/releases/tag/${version}"
distfiles="https://github.com/neovide/neovide/archive/refs/tags/${version}.tar.gz"
checksum=9042678f2fa33a86662755b3d37f7b264ebbf28b9a5f021ca89c137faeeda37d
checksum=a8179c461d41277b41692edcae64af6d1c80454aafff608af0268c5abca95b5c

# skia-bindings fails to build without these flags
export FORCE_SKIA_BUILD=1
Expand All @@ -27,11 +27,6 @@ export SKIA_GN_ARGS="extra_cflags+=[\"-I${XBPS_CROSS_BASE}/usr/include/freetype2
export CLANGCC=clang
export CLANGCXX=clang++

post_patch() {
vsed -e 's/skia-safe = { version = "0.84.0/skia-safe = { version = "0.86.0/' -i Cargo.toml
cargo update --package skia-safe@0.84.0 --precise 0.86.0
}

post_install() {
for size in 16x16 32x32 48x48 256x256; do
vinstall assets/neovide-${size}.png 0644 usr/share/icons/hicolor/${size}/apps neovide.png
Expand Down
Loading