This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'linuxdeepin:master' into ninemaster
- Loading branch information
Showing
4 changed files
with
115 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package: | ||
id: io.github.cen64-qt | ||
name: cen64-qt | ||
version: 2021.10.17 | ||
kind: app | ||
description: | | ||
A customizable frontend for CEN64 | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
depends: | ||
- id: quazip | ||
type: runtime | ||
version: 1.4.0 | ||
source: | ||
kind: git | ||
url: https://github.com/stachenov/quazip.git | ||
version: master | ||
commit: 7f82903e5b4752c5d9ebc36bf8801123c705ad64 | ||
build: | ||
kind: cmake | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/dh4/cen64-qt.git | ||
commit: 19f7d72b4eac86eb25c6b023b78e4f1fe8c58832 | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: qmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
From b6e5c7d3e2ccd9a8394669ea149c68e6a3ba3975 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Mon, 13 May 2024 12:39:00 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
cen64-qt.pro | 16 ++++++++++++---- | ||
src/common.cpp | 4 ++-- | ||
src/emulation/emulatorhandler.cpp | 4 ++-- | ||
3 files changed, 16 insertions(+), 8 deletions(-) | ||
|
||
diff --git a/cen64-qt.pro b/cen64-qt.pro | ||
index 4fbb3fd..a023605 100644 | ||
--- a/cen64-qt.pro | ||
+++ b/cen64-qt.pro | ||
@@ -15,7 +15,7 @@ macx { | ||
TEMPLATE = app | ||
macx:ICON = dist/macosx/cen64.icns | ||
win32:RC_FILE = dist/windows/icon.rc | ||
- | ||
+INCLUDEPATH += $${PREFIX}/include | ||
|
||
SOURCES += src/main.cpp \ | ||
src/common.cpp \ | ||
@@ -76,12 +76,20 @@ win32|macx|linux_quazip_static { | ||
# Debian distributions use a different library name for Qt5 quazip | ||
system("which dpkg > /dev/null 2>&1") { | ||
system("dpkg -l | grep libquazip-qt5-dev | grep ^ii > /dev/null") { | ||
- LIBS += -lquazip-qt5 | ||
+ LIBS += -lquazip1-qt5 | ||
} else { | ||
- LIBS += -lquazip5 | ||
+ LIBS += -lquazip1-qt5 | ||
} | ||
} else { | ||
- LIBS += -lquazip5 | ||
+ LIBS += -lquazip1-qt5 | ||
} | ||
} | ||
} | ||
+ | ||
+target.path =$$PREFIX/bin | ||
+desktop.files =resources/cen64-qt.desktop | ||
+desktop.path = $$PREFIX/share/applications/ | ||
+icons.path = $$PREFIX/share/icons/hicolor/16X16/apps/ | ||
+icons.files = resources/images/cen64-qt.png | ||
+ | ||
+INSTALLS += target desktop icons | ||
diff --git a/src/common.cpp b/src/common.cpp | ||
index 3ffdb7c..bfb7d02 100644 | ||
--- a/src/common.cpp | ||
+++ b/src/common.cpp | ||
@@ -40,8 +40,8 @@ | ||
#include <QLocale> | ||
#include <QSize> | ||
|
||
-#include <quazip5/quazip.h> | ||
-#include <quazip5/quazipfile.h> | ||
+#include <QuaZip-Qt5-1.4/quazip/quazip.h> | ||
+#include <QuaZip-Qt5-1.4/quazip/quazipfile.h> | ||
|
||
#ifdef Q_OS_WIN | ||
#include <QCoreApplication> | ||
diff --git a/src/emulation/emulatorhandler.cpp b/src/emulation/emulatorhandler.cpp | ||
index 53350ce..694e440 100644 | ||
--- a/src/emulation/emulatorhandler.cpp | ||
+++ b/src/emulation/emulatorhandler.cpp | ||
@@ -39,8 +39,8 @@ | ||
#include <QProcess> | ||
#include <QCryptographicHash> | ||
|
||
-#include <quazip5/quazip.h> | ||
-#include <quazip5/quazipfile.h> | ||
+#include <QuaZip-Qt5-1.4/quazip/quazip.h> | ||
+#include <QuaZip-Qt5-1.4/quazip/quazipfile.h> | ||
|
||
|
||
EmulatorHandler::EmulatorHandler(QWidget *parent) : QObject(parent) | ||
-- | ||
2.33.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters