kapman: bump version

This commit is contained in:
Gerasim Troeglazov
2024-03-03 21:02:12 +10:00
parent 75d1e6b8ad
commit 07ccedee9c
2 changed files with 5 additions and 28 deletions

View File

@@ -4,13 +4,11 @@ by a ghost. By eating an energizer, Kapman gets the ability to eat ghosts for a
seconds. When a stage is cleared of pills and energizer the player is taken to the \
next stage with slightly increased game speed."
HOMEPAGE="https://apps.kde.org/kapman"
COPYRIGHT="2010-2022 KDE Organisation"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kapman-$portVersion.tar.xz"
CHECKSUM_SHA256="1e4c5f82135160a5a5eaa1221dc670ed8cb78a3f4c67c0bd88f931c06d12d733"
SOURCE_DIR="kapman-$portVersion"
PATCHES="kapman-$portVersion.patchset"
CHECKSUM_SHA256="e3755f000532bae7cb41e521d7ac7b9d2cb43eb2b1cf705af1249ba366cea1e7"
ADDITIONAL_FILES="kapman.rdef.in"
ARCHITECTURES="all !x86_gcc2"
@@ -59,7 +57,7 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= 5.93
extra_cmake_modules$secondaryArchSuffix
devel:libKF5Archive$secondaryArchSuffix
devel:libKF5Attica$secondaryArchSuffix
devel:libKF5Auth$secondaryArchSuffix
@@ -104,6 +102,8 @@ 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

View File

@@ -1,23 +0,0 @@
From 63357aab5c548a24cae3c75dfe5a939e43707ad2 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 1 Nov 2021 19:07:13 +1000
Subject: Disable dbus
diff --git a/src/main.cpp b/src/main.cpp
index 56032fb..7150fad 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -55,7 +55,9 @@ int main(int argc, char **argv)
about.setupCommandLine(&parser);
parser.process(app);
about.processCommandLine(&parser);
+#ifndef __HAIKU__
KDBusService service;
+#endif
// Set the application icon
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kapman")));
// Create the main window
--
2.42.1