mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
QSoloCards: add recipe for 0.99.1 version
This commit is contained in:
55
games-board/qsolocards/additional-files/qsolocards.rdef.in
Normal file
55
games-board/qsolocards/additional-files/qsolocards.rdef.in
Normal file
@@ -0,0 +1,55 @@
|
||||
resource app_flags B_MULTIPLE_LAUNCH;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
|
||||
short_info = "QSoloCards",
|
||||
long_info = "@LONG_INFO@"
|
||||
};
|
||||
|
||||
resource app_signature "@APP_SIGNATURE@";
|
||||
|
||||
resource vector_icon array {
|
||||
$"6E6369660603FDFCFC03BAB9B40336373603D62C0E05000400790C0205B942C0"
|
||||
$"0FB8E0C09DB97BBFD4BA02BF79B9BDBFA4B9F0BFDCBABCC043BAAEBFEABAA6C0"
|
||||
$"C1BA81C1C3BAD844BA19C27DB865C1EEB8EAC27FB856C1360009BEB1C72FBEB1"
|
||||
$"C72FBEDFC733BF08C796BF82C783BEA7C7F0BF54C85EBEE6C849BF9BC83FBF9F"
|
||||
$"C7ACBFBAC7F4BFEBC7B4BFEDC816C089C831BF62C8A2BE60C9E9BEE5C94FBE19"
|
||||
$"C9DEBE4CC962BE27C98CBE83C8C6BED2C785BE9DC822BEDFC762BEB1C72FBE87"
|
||||
$"C74ABEB1C72F0202BEBEC879BF70C897BEA9C8C5BE87C960BE95C912BECDC919"
|
||||
$"0210483247324A33C391BB41C390BB2AC390BB46C347BBCAC347BBCAC2D4BC13"
|
||||
$"C3B7BCA0C3B7BCA0C3B4BCB2C3EBBD14C3EBBD14C3EABD3BC3E7BD96C3E7BD96"
|
||||
$"C3E4BD9DC3C1BDEFC3CABDDAC338BE9EC1B6BDC6C22ABE77C152BE10453FC177"
|
||||
$"BEFCC159BF13403CBFFB3DC017BE2AC0F7BD8EC108BDF1C018BDA7C034BBE1BF"
|
||||
$"90BC7AC073BB97443644364436C19DBAB5C18EBADEC1B1BAAFC203BA4D4533C2"
|
||||
$"03BA4DC20BBA4BC20BBA4B4632021ABB3EBEECBB26BEF5BBBABEC2BCBBBE89BC"
|
||||
$"37BE92BD2ABF2EBDA4C0C4BDA3C0BFBD9CC0D5BDC1C166BDBFC156BDBFC1B0BD"
|
||||
$"BFC245BDBEC1FBBDBEC255BDA2C2DCBDA5C2D5BDA2C2E2BD63C39ABD6DC385BD"
|
||||
$"50C3A4BCFBC458BCFBC458BC8BC50CBADAC4E4364E324CBA2AC418BA74C448BA"
|
||||
$"1AC45B324D32C4E83250BA34C667BA2BC650BA34C667BA30C672BA30C672BA1D"
|
||||
$"C668B7CEC4F3B7D3C50EB7D8C4F2B814C4E9B80DC4EAB842C4DCB88EC4A3B86B"
|
||||
$"C4C3B8E3C468B95DC3C1B91EC412B876C3DDB7FFC20BB7EBC2D4B7FFC20BB850"
|
||||
$"C138B840C162B860C136B88FC0D1B88FC0D12E42B942C00FB942C00FB8E0C09D"
|
||||
$"B865C1EEB856C1362E47BA81C1C3BA19C27DBAD844BABCC04334433340BA0ABF"
|
||||
$"74BA0ABF74BA24BF74BA4FBF57BA3CBF69BA7EBF42000FBA7CB668BA7CB66835"
|
||||
$"27BC3BB614BC2FB610BC70B622BCD5B64DBCA5B633BCE6B658BD7CB708BD80B7"
|
||||
$"24BDB3B6F2BE61B6BBBE58B6BABE67B6B7BF49B6B7BF41B6B5BF8FB6C6422B41"
|
||||
$"2A422BC0FCB873432CC0FBB8ADC0DDB990C0E1B989C0DDB990C06BBA76442FC0"
|
||||
$"6BBA76C068BA7FC068BA7FBEF6BC3EBA89BD6BBCA7BCE8BA4FBD69B9D2BD6CB9"
|
||||
$"FBBDABB97DBCE4B923BBAFB956BC46B891B9DBBA7CB668B8D3B796BA7CB66802"
|
||||
$"0BBB67B67ABBB2B659BB67B67ABB5AB67EBB5AB67EBB54B680BB40B688BB46B6"
|
||||
$"85BB40B688BB34B689BB34B689BB2DB68CBB1AB695BB21B692BB1AB695BB0FB6"
|
||||
$"97BB0FB697BB01B687BAECB6B0BADEB69CBAECB6B0BAE9B6BABAE9B6BABA4DB6"
|
||||
$"F4B9B6B854B9EBB7B3BA79B846BBF9B7CCBB29B7B3BC7BB7C2BC7EB6ADBCE4B7"
|
||||
$"17BC45B64D0606EA0A214E3821582C582EC97DB880C922B8A75E3040600A043E"
|
||||
$"4F3E474544454C0A04244D3923582E3F5D0A03405E592F5C310A06405F5D575C"
|
||||
$"555E543A46204E0D0A05010B2021210A0401071001178222040A03010A000A04"
|
||||
$"01091001178300040A000109000A010100000A02020102124058220000000000"
|
||||
$"004086BBC4E3B0C7CF8601178000040A040103000A040104000A040205061001"
|
||||
$"178400040A03020506000A04010830211F01178300040A03010820211F"
|
||||
};
|
||||
488
games-board/qsolocards/patches/qsolocards-0.99.1.patchset
Normal file
488
games-board/qsolocards/patches/qsolocards-0.99.1.patchset
Normal file
@@ -0,0 +1,488 @@
|
||||
From 4bcd333cfd23e3fbc7fb6f6ba11343555cf64247 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Thu, 23 Aug 2018 21:56:14 +1000
|
||||
Subject: Fix build with qt5
|
||||
|
||||
|
||||
diff --git a/About.cpp b/About.cpp
|
||||
index 4112ad3..4443ded 100644
|
||||
--- a/About.cpp
|
||||
+++ b/About.cpp
|
||||
@@ -17,11 +17,11 @@
|
||||
*/
|
||||
|
||||
#include "About.h"
|
||||
-#include <QtGui/QHBoxLayout>
|
||||
-#include <QtGui/QVBoxLayout>
|
||||
-#include <QtGui/QPixmap>
|
||||
-#include <QtGui/QLabel>
|
||||
-#include <QtGui/QDialogButtonBox>
|
||||
+#include <QHBoxLayout>
|
||||
+#include <QVBoxLayout>
|
||||
+#include <QPixmap>
|
||||
+#include <QLabel>
|
||||
+#include <QDialogButtonBox>
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
About::About(QWidget * pParent)
|
||||
diff --git a/About.h b/About.h
|
||||
index 39fce3e..e49a6ea 100644
|
||||
--- a/About.h
|
||||
+++ b/About.h
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#ifndef ABOUT_H
|
||||
#define ABOUT_H
|
||||
-#include <QtGui/QDialog>
|
||||
+#include <QDialog>
|
||||
|
||||
class About: public QDialog
|
||||
{
|
||||
diff --git a/CardStack.cpp b/CardStack.cpp
|
||||
index 0e4e363..bc0a5e4 100644
|
||||
--- a/CardStack.cpp
|
||||
+++ b/CardStack.cpp
|
||||
@@ -17,12 +17,12 @@
|
||||
*/
|
||||
|
||||
#include "CardStack.h"
|
||||
-#include <QtGui/QPainter>
|
||||
-#include <QtCore/QTimer>
|
||||
-#include <QtGui/QCursor>
|
||||
-#include <QtGui/QGraphicsSceneHoverEvent>
|
||||
-#include <QtGui/QGraphicsSceneMouseEvent>
|
||||
-#include <QtGui/QApplication>
|
||||
+#include <QPainter>
|
||||
+#include <QTimer>
|
||||
+#include <QCursor>
|
||||
+#include <QGraphicsSceneHoverEvent>
|
||||
+#include <QGraphicsSceneMouseEvent>
|
||||
+#include <QApplication>
|
||||
#include "CardPixmaps.h"
|
||||
#include "CardAnimationLock.h"
|
||||
|
||||
diff --git a/CardStack.h b/CardStack.h
|
||||
index 6e07cdf..5a3c46a 100644
|
||||
--- a/CardStack.h
|
||||
+++ b/CardStack.h
|
||||
@@ -19,8 +19,8 @@
|
||||
#ifndef CARDSTACK_H
|
||||
#define CARDSTACK_H
|
||||
|
||||
-#include <QtCore/QObject>
|
||||
-#include <QtGui/QGraphicsPixmapItem>
|
||||
+#include <QObject>
|
||||
+#include <QGraphicsPixmapItem>
|
||||
|
||||
#include "CardMoveRecord.h"
|
||||
|
||||
diff --git a/DealAnimation.cpp b/DealAnimation.cpp
|
||||
index b4ef55e..b9e3af5 100644
|
||||
--- a/DealAnimation.cpp
|
||||
+++ b/DealAnimation.cpp
|
||||
@@ -20,10 +20,10 @@
|
||||
#include "CardAnimationLock.h"
|
||||
|
||||
|
||||
-#include <QtGui/QPixmap>
|
||||
-#include <QtGui/QGraphicsScene>
|
||||
-#include <QtCore/QTimeLine>
|
||||
-#include <QtCore/QTimer>
|
||||
+#include <QPixmap>
|
||||
+#include <QGraphicsScene>
|
||||
+#include <QTimeLine>
|
||||
+#include <QTimer>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
diff --git a/DealAnimation.h b/DealAnimation.h
|
||||
index 1f5ae29..43d5fcb 100644
|
||||
--- a/DealAnimation.h
|
||||
+++ b/DealAnimation.h
|
||||
@@ -19,16 +19,16 @@
|
||||
#ifndef __DEALANIMATION_H__
|
||||
#define __DEALANIMATION_H__
|
||||
|
||||
-#include <QtCore/QObject>
|
||||
+#include <QObject>
|
||||
|
||||
#include "CardStack.h"
|
||||
#include "CardMoveRecord.h"
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
-#include <QtCore/QTimer>
|
||||
-#include <QtGui/QGraphicsPixmapItem>
|
||||
-#include <QtGui/QGraphicsItemAnimation>
|
||||
+#include <QTimer>
|
||||
+#include <QGraphicsPixmapItem>
|
||||
+#include <QGraphicsItemAnimation>
|
||||
|
||||
// DealItems can be used to define the cards that will be dealt to a stack.
|
||||
// The DealItem can then be added to the DealItemVector which is the overall
|
||||
diff --git a/DragCardStack.cpp b/DragCardStack.cpp
|
||||
index d4d0460..0950cec 100644
|
||||
--- a/DragCardStack.cpp
|
||||
+++ b/DragCardStack.cpp
|
||||
@@ -19,10 +19,10 @@
|
||||
#include "DragCardStack.h"
|
||||
#include "CardStack.h"
|
||||
|
||||
-#include <QtGui/QCursor>
|
||||
-#include <QtGui/QGraphicsScene>
|
||||
-#include <QtGui/QPixmap>
|
||||
-#include <QtGui/QGraphicsSceneMouseEvent>
|
||||
+#include <QCursor>
|
||||
+#include <QGraphicsScene>
|
||||
+#include <QPixmap>
|
||||
+#include <QGraphicsSceneMouseEvent>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
diff --git a/DragCardStack.h b/DragCardStack.h
|
||||
index be4d7d4..658d117 100644
|
||||
--- a/DragCardStack.h
|
||||
+++ b/DragCardStack.h
|
||||
@@ -18,8 +18,8 @@
|
||||
#ifndef __DRAGCARDSTACK_H__
|
||||
#define __DRAGCARDSTACK_H__
|
||||
|
||||
-#include <QtCore/QObject>
|
||||
-#include <QtGui/QGraphicsPixmapItem>
|
||||
+#include <QObject>
|
||||
+#include <QGraphicsPixmapItem>
|
||||
#include "CardDeck.h"
|
||||
#include "CardMoveRecord.h"
|
||||
|
||||
diff --git a/FlipAnimation.cpp b/FlipAnimation.cpp
|
||||
index 679d8f0..63d13b9 100644
|
||||
--- a/FlipAnimation.cpp
|
||||
+++ b/FlipAnimation.cpp
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "CardStack.h"
|
||||
#include "CardAnimationLock.h"
|
||||
|
||||
-#include <QtGui/QGraphicsScene>
|
||||
+#include <QGraphicsScene>
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
diff --git a/FlipAnimation.h b/FlipAnimation.h
|
||||
index 5d13b05..7fa391d 100644
|
||||
--- a/FlipAnimation.h
|
||||
+++ b/FlipAnimation.h
|
||||
@@ -20,11 +20,11 @@
|
||||
|
||||
#include "CardMoveRecord.h"
|
||||
|
||||
-#include <QtCore/QObject>
|
||||
-#include <QtCore/QTimeLine>
|
||||
-#include <QtGui/QGraphicsItemAnimation>
|
||||
-#include <QtGui/QGraphicsPixmapItem>
|
||||
-#include <QtGui/QPixmap>
|
||||
+#include <QObject>
|
||||
+#include <QTimeLine>
|
||||
+#include <QGraphicsItemAnimation>
|
||||
+#include <QGraphicsPixmapItem>
|
||||
+#include <QPixmap>
|
||||
|
||||
class CardStack;
|
||||
|
||||
diff --git a/FreeCellBoard.cpp b/FreeCellBoard.cpp
|
||||
index 32fc04d..5890c50 100644
|
||||
--- a/FreeCellBoard.cpp
|
||||
+++ b/FreeCellBoard.cpp
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
-#include <QtGui/QMessageBox>
|
||||
+#include <QMessageBox>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
diff --git a/GameBoard.cpp b/GameBoard.cpp
|
||||
index d438b7c..cdc0f6b 100644
|
||||
--- a/GameBoard.cpp
|
||||
+++ b/GameBoard.cpp
|
||||
@@ -19,9 +19,9 @@
|
||||
#include "GameBoard.h"
|
||||
#include <QtGui/QImage>
|
||||
#include "CardPixmaps.h"
|
||||
-#include <QtGui/QResizeEvent>
|
||||
-#include <QtGui/QCursor>
|
||||
-#include <QtGui/QMessageBox>
|
||||
+#include <QResizeEvent>
|
||||
+#include <QCursor>
|
||||
+#include <QMessageBox>
|
||||
|
||||
#include "CardAnimationLock.h"
|
||||
|
||||
diff --git a/GameBoard.h b/GameBoard.h
|
||||
index 3b68acb..ba32ea6 100644
|
||||
--- a/GameBoard.h
|
||||
+++ b/GameBoard.h
|
||||
@@ -19,12 +19,12 @@
|
||||
#ifndef GAMEBOARD_H
|
||||
#define GAMEBOARD_H
|
||||
|
||||
-#include <QtGui/QGraphicsView>
|
||||
-#include <QtCore/QString>
|
||||
-#include <QtGui/QPixmap>
|
||||
-#include <QtGui/QMenu>
|
||||
-#include <QtCore/QSettings>
|
||||
-#include <QtGui/QGraphicsScene>
|
||||
+#include <QGraphicsView>
|
||||
+#include <QString>
|
||||
+#include <QPixmap>
|
||||
+#include <QMenu>
|
||||
+#include <QSettings>
|
||||
+#include <QGraphicsScene>
|
||||
|
||||
#include <stack>
|
||||
|
||||
diff --git a/GameMgr.cpp b/GameMgr.cpp
|
||||
index aedd5b1..f76f0c6 100644
|
||||
--- a/GameMgr.cpp
|
||||
+++ b/GameMgr.cpp
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "KlondikeBoard.h"
|
||||
#include "FreeCellBoard.h"
|
||||
#include "YukonBoard.h"
|
||||
-#include <QtGui/QActionGroup>
|
||||
+#include <QActionGroup>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
diff --git a/GameMgr.h b/GameMgr.h
|
||||
index a2d4081..51b06f7 100644
|
||||
--- a/GameMgr.h
|
||||
+++ b/GameMgr.h
|
||||
@@ -20,8 +20,8 @@
|
||||
#define GAMEMGR_H
|
||||
|
||||
#include "GameBoard.h"
|
||||
-#include <QtGui/QMenu>
|
||||
-#include <QtCore/QStringList>
|
||||
+#include <QMenu>
|
||||
+#include <QStringList>
|
||||
|
||||
class GameMgr
|
||||
{
|
||||
diff --git a/Help.cpp b/Help.cpp
|
||||
index 77675f8..e5cd859 100644
|
||||
--- a/Help.cpp
|
||||
+++ b/Help.cpp
|
||||
@@ -18,9 +18,9 @@
|
||||
|
||||
#include "Help.h"
|
||||
|
||||
-#include <QtCore/QFile>
|
||||
-#include <QtCore/QTextStream>
|
||||
-#include <QtGui/QHBoxLayout>
|
||||
+#include <QFile>
|
||||
+#include <QTextStream>
|
||||
+#include <QHBoxLayout>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
diff --git a/Help.h b/Help.h
|
||||
index 18f349d..b3c24d3 100644
|
||||
--- a/Help.h
|
||||
+++ b/Help.h
|
||||
@@ -19,9 +19,9 @@
|
||||
#ifndef HELP_H
|
||||
#define HELP_H
|
||||
|
||||
-#include <QtGui/QDialog>
|
||||
-#include <QtCore/QString>
|
||||
-#include <QtGui/QTextBrowser>
|
||||
+#include <QDialog>
|
||||
+#include <QString>
|
||||
+#include <QTextBrowser>
|
||||
|
||||
class Help: public QDialog
|
||||
{
|
||||
diff --git a/KlondikeBoard.cpp b/KlondikeBoard.cpp
|
||||
index ef6c7ee..2b03f15 100644
|
||||
--- a/KlondikeBoard.cpp
|
||||
+++ b/KlondikeBoard.cpp
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "KlondikeBoard.h"
|
||||
-#include <QtGui/QMessageBox>
|
||||
+#include <QMessageBox>
|
||||
|
||||
#include "CardDeck.h"
|
||||
#include "CardPixmaps.h"
|
||||
diff --git a/SpiderBoard.cpp b/SpiderBoard.cpp
|
||||
index ae7a58b..0989d29 100644
|
||||
--- a/SpiderBoard.cpp
|
||||
+++ b/SpiderBoard.cpp
|
||||
@@ -17,11 +17,11 @@
|
||||
*/
|
||||
|
||||
#include "SpiderBoard.h"
|
||||
-#include <QtGui/QMessageBox>
|
||||
-#include <QtGui/QAction>
|
||||
-#include <QtGui/QActionGroup>
|
||||
-#include <QtGui/QResizeEvent>
|
||||
-#include <QtCore/QDateTime>
|
||||
+#include <QMessageBox>
|
||||
+#include <QAction>
|
||||
+#include <QActionGroup>
|
||||
+#include <QResizeEvent>
|
||||
+#include <QDateTime>
|
||||
|
||||
#include "CardPixmaps.h"
|
||||
#include "CardDeck.h"
|
||||
diff --git a/StackToStackAniMove.cpp b/StackToStackAniMove.cpp
|
||||
index c00049f..f9c1c2a 100644
|
||||
--- a/StackToStackAniMove.cpp
|
||||
+++ b/StackToStackAniMove.cpp
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "StackToStackAniMove.h"
|
||||
#include "CardAnimationLock.h"
|
||||
|
||||
-#include <QtGui/QGraphicsScene>
|
||||
+#include <QGraphicsScene>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
diff --git a/StackToStackAniMove.h b/StackToStackAniMove.h
|
||||
index 3e6da68..7c34194 100644
|
||||
--- a/StackToStackAniMove.h
|
||||
+++ b/StackToStackAniMove.h
|
||||
@@ -22,11 +22,11 @@
|
||||
#include "CardStack.h"
|
||||
#include "CardMoveRecord.h"
|
||||
|
||||
-#include <QtCore/QObject>
|
||||
-#include <QtCore/QTimeLine>
|
||||
-#include <QtCore/QTimer>
|
||||
-#include <QtGui/QGraphicsItemAnimation>
|
||||
-#include <QtGui/QGraphicsPixmapItem>
|
||||
+#include <QObject>
|
||||
+#include <QTimeLine>
|
||||
+#include <QTimer>
|
||||
+#include <QGraphicsItemAnimation>
|
||||
+#include <QGraphicsPixmapItem>
|
||||
|
||||
/*
|
||||
StackToStackAniMove is just for moving one set of cards to another stack. Normal usage is
|
||||
diff --git a/StackToStackFlipAni.cpp b/StackToStackFlipAni.cpp
|
||||
index 6ec4565..19bc665 100644
|
||||
--- a/StackToStackFlipAni.cpp
|
||||
+++ b/StackToStackFlipAni.cpp
|
||||
@@ -20,8 +20,8 @@
|
||||
#include "CardAnimationLock.h"
|
||||
#include "CardPixmaps.h"
|
||||
|
||||
-#include <QtGui/QGraphicsScene>
|
||||
-#include <QtGui/QPainter>
|
||||
+#include <QGraphicsScene>
|
||||
+#include <QPainter>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
diff --git a/StackToStackFlipAni.h b/StackToStackFlipAni.h
|
||||
index f4065c8..93ab694 100644
|
||||
--- a/StackToStackFlipAni.h
|
||||
+++ b/StackToStackFlipAni.h
|
||||
@@ -22,11 +22,11 @@
|
||||
#include "CardStack.h"
|
||||
#include "CardMoveRecord.h"
|
||||
|
||||
-#include <QtCore/QObject>
|
||||
-#include <QtCore/QTimeLine>
|
||||
-#include <QtGui/QGraphicsItemAnimation>
|
||||
-#include <QtGui/QGraphicsPixmapItem>
|
||||
-#include <QtGui/QPixmap>
|
||||
+#include <QObject>
|
||||
+#include <QTimeLine>
|
||||
+#include <QGraphicsItemAnimation>
|
||||
+#include <QGraphicsPixmapItem>
|
||||
+#include <QPixmap>
|
||||
|
||||
class StackToStackFlipAni: public QObject
|
||||
{
|
||||
diff --git a/VCardStack.cpp b/VCardStack.cpp
|
||||
index 3f4a21c..aae8de6 100644
|
||||
--- a/VCardStack.cpp
|
||||
+++ b/VCardStack.cpp
|
||||
@@ -18,8 +18,8 @@
|
||||
|
||||
#include "VCardStack.h"
|
||||
#include "CardPixmaps.h"
|
||||
-#include <QtGui/QPainter>
|
||||
-#include <QtGui/QGraphicsScene>
|
||||
+#include <QPainter>
|
||||
+#include <QGraphicsScene>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
diff --git a/main.cpp b/main.cpp
|
||||
index 7746402..0162bea 100644
|
||||
--- a/main.cpp
|
||||
+++ b/main.cpp
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
-#include <QtGui/QApplication>
|
||||
+#include <QApplication>
|
||||
#include "mainwindow.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
diff --git a/mainwindow.cpp b/mainwindow.cpp
|
||||
index 9456b26..9cecaf0 100644
|
||||
--- a/mainwindow.cpp
|
||||
+++ b/mainwindow.cpp
|
||||
@@ -18,12 +18,12 @@
|
||||
|
||||
#include "mainwindow.h"
|
||||
|
||||
-#include <QtGui/QApplication>
|
||||
-#include <QtGui/QDesktopWidget>
|
||||
-#include <QtGui/QMenu>
|
||||
-#include <QtGui/QAction>
|
||||
-#include <QtGui/QMessageBox>
|
||||
-#include <QtCore/QTimer>
|
||||
+#include <QApplication>
|
||||
+#include <QDesktopWidget>
|
||||
+#include <QMenu>
|
||||
+#include <QAction>
|
||||
+#include <QMessageBox>
|
||||
+#include <QTimer>
|
||||
|
||||
#include "CardAnimationLock.h"
|
||||
|
||||
diff --git a/mainwindow.h b/mainwindow.h
|
||||
index 9e4d874..034d1fc 100644
|
||||
--- a/mainwindow.h
|
||||
+++ b/mainwindow.h
|
||||
@@ -19,13 +19,13 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
-#include <QtGui/QMainWindow>
|
||||
-#include <QtGui/QMenuBar>
|
||||
-#include <QtGui/QMenu>
|
||||
-#include <QtCore/QSettings>
|
||||
-#include <QtGui/QStatusBar>
|
||||
-#include <QtGui/QLabel>
|
||||
-#include <QtCore/QPointer>
|
||||
+#include <QMainWindow>
|
||||
+#include <QMenuBar>
|
||||
+#include <QMenu>
|
||||
+#include <QSettings>
|
||||
+#include <QStatusBar>
|
||||
+#include <QLabel>
|
||||
+#include <QPointer>
|
||||
|
||||
#include "GameBoard.h"
|
||||
#include "Help.h"
|
||||
--
|
||||
2.16.4
|
||||
|
||||
77
games-board/qsolocards/qsolocards-0.99.1.recipe
Normal file
77
games-board/qsolocards/qsolocards-0.99.1.recipe
Normal file
@@ -0,0 +1,77 @@
|
||||
SUMMARY="A free collection of solitaire card games written using Qt"
|
||||
DESCRIPTION="QSoloCards is a classic set of cards games including:
|
||||
-Spider
|
||||
-FreeCell
|
||||
-Klondike
|
||||
-Three Deck Spider
|
||||
-Spiderette
|
||||
-Yukon"
|
||||
HOMEPAGE="https://sourceforge.net/projects/qsolocards/"
|
||||
COPYRIGHT="2009 Steve Moore"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/qsolocards/qsolocards/$portVersion/QSoloCards-$portVersion-src.tar.gz"
|
||||
SOURCE_DIR="QSoloCards-$portVersion"
|
||||
CHECKSUM_SHA256="d962a976c335c4bbe239ec4479db60222906411bee3e24498593f2878761b418"
|
||||
PATCHES="qsolocards-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="qsolocards.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
qsolocards = $portVersion
|
||||
app:QSoloCards = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:qmake$secondaryArchSuffix >= 5
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
qmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp QSoloCards $appsDir/QSoloCards
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.qsolocards"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/qsolocards.rdef.in > $sourceDir/qsolocards.rdef
|
||||
|
||||
addResourcesToBinaries $sourceDir/qsolocards.rdef \
|
||||
$appsDir/QSoloCards
|
||||
|
||||
mimeset -f $appsDir/QSoloCards
|
||||
|
||||
addAppDeskbarSymlink $appsDir/QSoloCards QSoloCards
|
||||
}
|
||||
Reference in New Issue
Block a user