diff --git a/io.github.rdr2view/linglong.yaml b/io.github.rdr2view/linglong.yaml new file mode 100644 index 000000000..ddc26c315 --- /dev/null +++ b/io.github.rdr2view/linglong.yaml @@ -0,0 +1,20 @@ +package: + id: io.github.rdr2view + name: rdr2view + version: 0.5.2 + kind: app + description: | + Open Source Photo and Savegame viewer/editor for RDR 2 + +runtime: + id: org.deepin.Runtime + version: 23.0.0 + +source: + kind: git + url: https://github.com/SyDevTeam/rdr2view.git + commit: 5e7c7c580d7cd3d4060b95b56930e5df34273281 + patch: patches/0001-install.patch + +build: + kind: qmake diff --git a/io.github.rdr2view/patches/0001-install.patch b/io.github.rdr2view/patches/0001-install.patch new file mode 100644 index 000000000..457be486c --- /dev/null +++ b/io.github.rdr2view/patches/0001-install.patch @@ -0,0 +1,30 @@ +From cceef1c09f0c709969ac159988740aae872d67ab Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +Date: Mon, 13 May 2024 12:44:07 +0800 +Subject: [PATCH] install + +--- + rdr2view.pro | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/rdr2view.pro b/rdr2view.pro +index ea6db07..4d3721d 100644 +--- a/rdr2view.pro ++++ b/rdr2view.pro +@@ -208,11 +208,11 @@ isEqual(QT_MAJOR_VERSION, 5): GTA5SYNC_RCC = $$[QT_HOST_BINS]/rcc + + # PROJECT INSTALLATION + +-isEmpty(GTA5SYNC_PREFIX): GTA5SYNC_PREFIX = /usr/local ++isEmpty(GTA5SYNC_PREFIX): GTA5SYNC_PREFIX = $$PREFIX + + appfiles.path = $$GTA5SYNC_PREFIX/share/applications + appfiles.files = $$PWD/res/rdr2view.desktop +-pixmaps.path = $$GTA5SYNC_PREFIX/share/pixmaps ++pixmaps.path = $$GTA5SYNC_PREFIX/share/icons/hicolor/16X16/apps/ + pixmaps.files = $$PWD/res/gta5view.png + target.path = $$GTA5SYNC_PREFIX/bin + INSTALLS += target pixmaps appfiles +-- +2.33.1 +