diff --git a/games/chessx/Makefile b/games/chessx/Makefile index 308ef96c7679..3180d8126fe9 100644 --- a/games/chessx/Makefile +++ b/games/chessx/Makefile @@ -1,45 +1,48 @@ PORTNAME= chessx -DISTVERSION= 1.6.0 +DISTVERSION= 1.6.2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} MAINTAINER= alexey@pentode.fi COMMENT= Qt 5 chess database application WWW= https://chessx.sourceforge.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING.md USES= compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5 tar:tgz USE_GL= gl USE_QT= concurrent core gui multimedia network opengl printsupport svg \ widgets xml buildtools:build linguisttools:build speech PLIST_FILES= bin/chessx \ share/applications/chessx.desktop \ share/pixmaps/chessx.png \ share/metainfo/io.sourceforge.ChessX.metainfo.xml \ share/icons/hicolor/128x128/apps/chessx.png \ share/icons/hicolor/32x32/apps/chessx-32.png \ share/icons/hicolor/64x64/apps/chessx-64.png OPTIONS_DEFINE= CRAFTY STOCKFISH CRAFTY_DESC= Install Crafty Chess Application STOCKFISH_DESC= Install Stockfish Chess Engine CRAFTY_RUN_DEPENDS= crafty:games/crafty STOCKFISH_RUN_DEPENDS= stockfish:games/stockfish .include +post-extract: + @${MV} ${WRKDIR}/chessx-master ${WRKSRC} + post-patch: .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \ ${WRKSRC}/src/database/polyglotdatabase.cpp .endif post-configure: ( cd ${BUILD_WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro ) .include diff --git a/games/chessx/distinfo b/games/chessx/distinfo index ab25b27c3c65..58d14b1a385f 100644 --- a/games/chessx/distinfo +++ b/games/chessx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1683708876 -SHA256 (chessx-1.6.0.tgz) = efa60e7b55a907ebdd12810a1931de69624ba42544e11a3262ed562f2dc3c618 -SIZE (chessx-1.6.0.tgz) = 8252976 +TIMESTAMP = 1726035877 +SHA256 (chessx-1.6.2.tgz) = bb091d849cb02d6309978fe284c9f1a85c274f35122fe91c6b9c3089a6e20f80 +SIZE (chessx-1.6.2.tgz) = 11024855 diff --git a/games/chessx/files/patch-src_gui_chessxsettings.cpp b/games/chessx/files/patch-src_gui_chessxsettings.cpp deleted file mode 100644 index a02a2ce2eb06..000000000000 --- a/games/chessx/files/patch-src_gui_chessxsettings.cpp +++ /dev/null @@ -1,16 +0,0 @@ ---- src/gui/chessxsettings.cpp.orig 2023-05-08 20:22:12 UTC -+++ src/gui/chessxsettings.cpp -@@ -19,11 +19,11 @@ - #include - #include - #include -+#ifdef USE_SPEECH - #include -+#endif - #include -- - using namespace chessx; -- - #if defined(_MSC_VER) && defined(_DEBUG) - #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) - #define new DEBUG_NEW diff --git a/games/chessx/files/patch-src_gui_chessxsettings.h b/games/chessx/files/patch-src_gui_chessxsettings.h deleted file mode 100644 index 2a8ce48f9913..000000000000 --- a/games/chessx/files/patch-src_gui_chessxsettings.h +++ /dev/null @@ -1,19 +0,0 @@ ---- src/gui/chessxsettings.h.orig 2023-05-08 20:22:12 UTC -+++ src/gui/chessxsettings.h -@@ -13,16 +13,11 @@ class ChessXSettings : public Settings - public: - ChessXSettings(); - ChessXSettings(const QString &fileName); -- - virtual bool layout(QWidget* w); - virtual void setLayout(const QWidget* w); -- - static QLocale locale(); // Get the locale based upon current settings --#ifdef USE_SPEECH - static QStringList availableVoices(QString lang); // Get the list of voices based upon selected locale - static void configureSpeech(QTextToSpeech* speech); --#endif -- - protected: - virtual void initWidgetValues(QMap& map) const; - };