mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
KTuberling: bump version
This commit is contained in:
@@ -3,13 +3,12 @@ DESCRIPTION="KTuberling a simple constructor game suitable for children and \
|
||||
adults alike. The idea of the game is based around a once popular doll making \
|
||||
concept."
|
||||
HOMEPAGE="https://apps.kde.org/ktuberling"
|
||||
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/ktuberling-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="215a1158bd0dcac7cd0fec2a88d08aa381c3804059b3bc9a11179c47294e9b56"
|
||||
CHECKSUM_SHA256="ce74c06fd7c328c46782e0fc0d15a70efd2d6459b5f57f426e21f001e086fb40"
|
||||
SOURCE_DIR="ktuberling-$portVersion"
|
||||
PATCHES="ktuberling-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="ktuberling.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -55,7 +54,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
|
||||
@@ -98,11 +97,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 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,24 +0,0 @@
|
||||
From 11bc61f57b9a67d7dc91efc94147f1787ac9df08 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 2 Jan 2021 00:56:36 +1000
|
||||
Subject: Disable dbus
|
||||
|
||||
|
||||
diff --git a/main.cpp b/main.cpp
|
||||
index b39fcc9..a2c09bd 100644
|
||||
--- a/main.cpp
|
||||
+++ b/main.cpp
|
||||
@@ -50,8 +50,9 @@ int main(int argc, char *argv[])
|
||||
aboutData.setupCommandLine(&parser);
|
||||
parser.process(app);
|
||||
aboutData.processCommandLine(&parser);
|
||||
-
|
||||
+#ifndef __HAIKU__
|
||||
KDBusService service;
|
||||
+#endif
|
||||
TopLevel *toplevel=0;
|
||||
|
||||
if (app.isSessionRestored())
|
||||
--
|
||||
2.28.0
|
||||
|
||||
Reference in New Issue
Block a user