Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build: add rdr2view
Browse files Browse the repository at this point in the history
Open Source Photo and Savegame viewer/editor for RDR 2

Log: add software name--rdr2view
  • Loading branch information
wjyrich authored and kamiyadm committed May 29, 2024
1 parent e8631bb commit 25a424a
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
20 changes: 20 additions & 0 deletions io.github.rdr2view/linglong.yaml
Original file line number Diff line number Diff line change
@@ -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
30 changes: 30 additions & 0 deletions io.github.rdr2view/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From cceef1c09f0c709969ac159988740aae872d67ab Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
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

0 comments on commit 25a424a

Please sign in to comment.