diff --git a/io.github.texmaker/linglong.yaml b/io.github.texmaker/linglong.yaml new file mode 100644 index 000000000..ac6d3a11e --- /dev/null +++ b/io.github.texmaker/linglong.yaml @@ -0,0 +1,24 @@ +package: + id: io.github.texmaker + name: texmaker + version: 5.0.2 + kind: app + description: | + Manual import of Texmaker from released source tarballs downloaded from + +runtime: + id: org.deepin.Runtime + version: 23.0.0 + +depends: + - id: qtscript/5.15.7 + type: runtime + +source: + kind: git + url: https://github.com/orao/texmaker.git + commit: 697ae78f87d9ef30cd876aec69c12e4399a4aa0b + patch: patches/0001-install.patch + +build: + kind: qmake diff --git a/io.github.texmaker/patches/0001-install.patch b/io.github.texmaker/patches/0001-install.patch new file mode 100644 index 000000000..ce31c7174 --- /dev/null +++ b/io.github.texmaker/patches/0001-install.patch @@ -0,0 +1,27 @@ +From 9277c7212d199f1f555b0f10b492b4b71bcbfe82 Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +Date: Fri, 16 Feb 2024 14:05:43 +0800 +Subject: [PATCH] install + +--- + texmaker.pro | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/texmaker.pro b/texmaker.pro +index b7913dd..f1bf741 100644 +--- a/texmaker.pro ++++ b/texmaker.pro +@@ -1065,8 +1065,8 @@ DEFINES += AUTHORIZE_LINUX_QSTYLES + + target.path = $${PREFIX}/bin + utilities.path = $${PREFIX}/share/texmaker +-desktop.path = $${DESKTOPDIR} +-icon.path = $${ICONDIR} ++desktop.path = $$PREFIX/share/applications/ ++icon.path = $$PREFIX/share/icons + #not for openSUSE : + metainfo.path = $${METAINFODIR} + +-- +2.33.1 +