From 54cc574da7fb8a836f5115744b516c2892a4e82a Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Tue, 3 Oct 2023 03:01:31 +0000 Subject: [PATCH] fix(x11/lite-xl): desktop shortcuts Signed-off-by: Kevin Williams --- x11-packages/lite-xl/build.sh | 1 + x11-packages/lite-xl/meson.build.patch | 24 +++++++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/x11-packages/lite-xl/build.sh b/x11-packages/lite-xl/build.sh index 986adadd9a..5936ecd861 100644 --- a/x11-packages/lite-xl/build.sh +++ b/x11-packages/lite-xl/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A lightweight text editor written in Lua" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@leapofazzam123" TERMUX_PKG_VERSION=2.1.1 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL="https://github.com/lite-xl/lite-xl/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz" TERMUX_PKG_SHA256=75c0cbda2d34a88e86d3aa48abe9f0366093df3019796c03067a7594cc55abe6 TERMUX_PKG_DEPENDS="freetype, liblua54, pcre2, sdl2" diff --git a/x11-packages/lite-xl/meson.build.patch b/x11-packages/lite-xl/meson.build.patch index 2379edd136..6562a29f4d 100644 --- a/x11-packages/lite-xl/meson.build.patch +++ b/x11-packages/lite-xl/meson.build.patch @@ -1,6 +1,8 @@ ---- a/meson.build -+++ b/meson.build -@@ -78,6 +78,7 @@ +Binary files lite-xl-2.1.1/.meson.build.swp and lite-xl-2.1.1.mod/.meson.build.swp differ +diff -uNr lite-xl-2.1.1/meson.build lite-xl-2.1.1.mod/meson.build +--- lite-xl-2.1.1/meson.build 2022-12-29 10:03:36.000000000 +0800 ++++ lite-xl-2.1.1.mod/meson.build 2023-10-03 10:43:59.146852541 +0800 +@@ -82,6 +82,7 @@ # Lua has no official .pc file # so distros come up with their own names lua_names = [ @@ -8,3 +10,19 @@ 'lua5.4', # Debian 'lua-5.4', # FreeBSD 'lua', # Fedora +@@ -186,7 +187,6 @@ + lite_bindir = 'bin' + lite_docdir = 'share/doc/lite-xl' + lite_datadir = 'share/lite-xl' +- if host_machine.system() == 'linux' + install_data('resources/icons/lite-xl.svg', + install_dir : 'share/icons/hicolor/scalable/apps' + ) +@@ -196,7 +196,6 @@ + install_data('resources/linux/org.lite_xl.lite_xl.appdata.xml', + install_dir : 'share/metainfo' + ) +- endif + endif + + install_data('licenses/licenses.md', install_dir : lite_docdir)