mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
KLines: bump version
This commit is contained in:
@@ -4,13 +4,12 @@ gathering them into the lines of the same color by five. Once the line is comple
|
||||
it is removed from the board, therefore freeing precious space. In the same time \
|
||||
the new balls keep arriving by three after each move, filling up the game board."
|
||||
HOMEPAGE="https://github.com/KDE/klines"
|
||||
COPYRIGHT="2010-2020 KDE Organisation"
|
||||
COPYRIGHT="2010-2021 KDE Organisation"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/klines-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="306ed70f9cb789455223bb9d9de74020df2f2622af917d6c8f84cecc15b71479"
|
||||
CHECKSUM_SHA256="2735803c67ead90f7ed94fa232ef7dada8162e64de64bb78a46ad9876853aabf"
|
||||
SOURCE_DIR="klines-$portVersion"
|
||||
PATCHES="klines-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="klines.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -52,7 +51,7 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= 5.77
|
||||
extra_cmake_modules$secondaryArchSuffix >= 5.86
|
||||
devel:libKF5Archive$secondaryArchSuffix
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix
|
||||
@@ -90,11 +89,14 @@ BUILD()
|
||||
# disable docs generation
|
||||
sed -e '/add_subdirectory(doc)/ s/^#*/#/' -i CMakeLists.txt
|
||||
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
|
||||
# remove dbus service
|
||||
sed -e '/KDBusService service;/d' -i src/main.cpp
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$appsDir \
|
||||
-DCMAKE_INSTALL_DATADIR=$dataDir \
|
||||
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir \
|
||||
@@ -1,32 +0,0 @@
|
||||
From f5ac07e0700428c95f609f59d7c8a9aae8a2026e Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Fri, 1 Jan 2021 02:41:32 +1000
|
||||
Subject: Disable dbus
|
||||
|
||||
|
||||
diff --git a/main.cpp b/main.cpp
|
||||
index be0a0be..d4f2e9d 100644
|
||||
--- a/main.cpp
|
||||
+++ b/main.cpp
|
||||
@@ -58,7 +58,10 @@ int main( int argc, char **argv )
|
||||
aboutData.setupCommandLine(&parser);
|
||||
parser.process(app);
|
||||
aboutData.processCommandLine(&parser);
|
||||
-
|
||||
+#ifdef __HAIKU__
|
||||
+ KLinesMainWindow *window = new KLinesMainWindow;
|
||||
+ window->show();
|
||||
+#else
|
||||
KDBusService service;
|
||||
if (app.isSessionRestored())
|
||||
kRestoreMainWindows<KLinesMainWindow>();
|
||||
@@ -66,5 +69,6 @@ int main( int argc, char **argv )
|
||||
KLinesMainWindow *window = new KLinesMainWindow;
|
||||
window->show();
|
||||
}
|
||||
+#endif
|
||||
return app.exec();
|
||||
}
|
||||
--
|
||||
2.28.0
|
||||
|
||||
Reference in New Issue
Block a user