From ea79eb1ae84056da54b74d3c24b11bc6593fcd05 Mon Sep 17 00:00:00 2001 From: Saksham Verma Date: Mon, 18 Nov 2024 21:14:27 +0530 Subject: [PATCH] lapce: update to 0.4.2 --- srcpkgs/lapce/patches/desktop-icon.patch | 11 ++++++----- srcpkgs/lapce/template | 8 ++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/srcpkgs/lapce/patches/desktop-icon.patch b/srcpkgs/lapce/patches/desktop-icon.patch index 484471b5441ab9..97579de87660b6 100644 --- a/srcpkgs/lapce/patches/desktop-icon.patch +++ b/srcpkgs/lapce/patches/desktop-icon.patch @@ -1,12 +1,13 @@ diff --git a/extra/linux/dev.lapce.lapce.desktop b/extra/linux/dev.lapce.lapce.desktop -index 83f9c5cc..8d81cd87 100644 +index ba7ad9a9d8e..96d49e941ad 100644 --- a/extra/linux/dev.lapce.lapce.desktop +++ b/extra/linux/dev.lapce.lapce.desktop -@@ -6,6 +6,6 @@ Name=Lapce - Comment=Lightning-fast and powerful code editor written in Rust - Categories=Development;IDE; +@@ -8,7 +8,7 @@ Categories=Development;IDE; + GenericName=Code Editor + StartupWMClass=lapce -Icon=dev.lapce.lapce +Icon=/usr/share/icons/hicolor/scalable/apps/dev.lapce.lapce.svg - Exec=lapce + Exec=lapce %F Terminal=false + MimeType=text/plain;inode/directory; diff --git a/srcpkgs/lapce/template b/srcpkgs/lapce/template index d67d14c1617d54..1923dd01adb2cf 100644 --- a/srcpkgs/lapce/template +++ b/srcpkgs/lapce/template @@ -1,18 +1,18 @@ # Template file for 'lapce' pkgname=lapce -version=0.2.8 -revision=2 +version=0.4.2 +revision=1 archs="aarch64* x86_64*" # wasmer-vm crate fails to build (unsupported platform) build_style=cargo hostmakedepends="pkg-config" -makedepends="fontconfig-devel gtk+3-devel openssl-devel" +makedepends="fontconfig-devel gtk+3-devel openssl-devel libgit2-1.8-devel" short_desc="Lightning-fast and powerful code editor" maintainer="Alex Lohr " license="Apache-2.0" homepage="https://lapce.dev/" changelog="https://github.com/lapce/lapce/releases" distfiles="https://github.com/lapce/lapce/archive/refs/tags/v${version}.tar.gz" -checksum=650b81c3dfbd727101111de60c208c191258fb27a96b1cec392afa7c0579a6ff +checksum=1abf998ddaa95e2349691736fda88c16cc34ddf6e3cb2c5fa3dcb5f77c1d1b1c post_install() { vinstall extra/linux/dev.lapce.lapce.desktop 644 usr/share/applications/