diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-03-17 01:02:23 +0100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-03-19 01:40:03 +1100 |
commit | 0faa533194f922db80dcf86edcf71679200ae1bf (patch) | |
tree | 9e845b2bae6c5b79b2baf00aea17c64a1dc0f361 /kde-apps/kjumpingcube | |
parent | kde-apps: Drop 15.12.1 (diff) | |
download | gentoo-0faa533194f922db80dcf86edcf71679200ae1bf.tar.gz gentoo-0faa533194f922db80dcf86edcf71679200ae1bf.tar.bz2 gentoo-0faa533194f922db80dcf86edcf71679200ae1bf.zip |
kde-apps: Add kdegames-meta-15.12.3 from kde overlay
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-apps/kjumpingcube')
-rw-r--r-- | kde-apps/kjumpingcube/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kjumpingcube/files/kjumpingcube-15.12.3-dbus.patch | 52 | ||||
-rw-r--r-- | kde-apps/kjumpingcube/files/kjumpingcube-15.12.3-deps.patch | 54 | ||||
-rw-r--r-- | kde-apps/kjumpingcube/kjumpingcube-15.12.3-r1.ebuild | 37 |
4 files changed, 144 insertions, 0 deletions
diff --git a/kde-apps/kjumpingcube/Manifest b/kde-apps/kjumpingcube/Manifest index 6d62e8485cab..20da32240a17 100644 --- a/kde-apps/kjumpingcube/Manifest +++ b/kde-apps/kjumpingcube/Manifest @@ -1,2 +1,3 @@ DIST kjumpingcube-15.08.3.tar.xz 165788 SHA256 0fddff2a54881b9e18b96f5333e6f9d4cf326536011ef46c44c786c1d81f8e31 SHA512 13e3a9603680cf3cbc44481b6786e6ac2ff01d366c9877f52bb91cba0149d1978bf445ea9b6427abb42f51b1538e6fc32d1b9cce71e1bcb4ce9ffea96bee174a WHIRLPOOL 23c66ba97a244fbd33bee055386082faa2c0651a12cc5f50cc3a61c75f360f78550b10d9bf5c48d7b7c217fbf248168be2803ce97b95deb564dbada15cb629c4 +DIST kjumpingcube-15.12.3.tar.xz 165808 SHA256 016aaac2a714ce143baeae345c4111ff96629f7efb749f420833dabacfd5cbac SHA512 6630c3e916cdfc7c154105eda69fb00bf015ccd572faa1ebce17a6afa07c1a6f8e26470f996431ae61d404f5da5f20df8c2cb50b0b329f318884b3e3be1e4b73 WHIRLPOOL 33476144066f3f6111ab99fc3db5f7ba255794753a30c158a580eb0211d32440ed0c0376fb48f62484177f7b07161faca5e0a58ccebedd9982841101e0e6b790 DIST kjumpingcube-4.14.3.tar.xz 164376 SHA256 69ba97d0a9d8845d779921f51ffc3210ac2356ee9c2dbe697db85b2e36d7335d SHA512 1a4a6c2ba9ed4a27c07119b222266cfb215d2f551189769f896512be24760332564e22c6846929a7a136b37eb257a73d57cfdb26aa1e3686918d59afc9fc4b33 WHIRLPOOL 35aedd524497cf526278a792aa04f715787281b29a1880ecceac32717115fc09442159bf6143b9a97b31467ee81a21ab5bd4d5d29066c760fbf95eaa60f8b1f6 diff --git a/kde-apps/kjumpingcube/files/kjumpingcube-15.12.3-dbus.patch b/kde-apps/kjumpingcube/files/kjumpingcube-15.12.3-dbus.patch new file mode 100644 index 000000000000..40c3e7758483 --- /dev/null +++ b/kde-apps/kjumpingcube/files/kjumpingcube-15.12.3-dbus.patch @@ -0,0 +1,52 @@ +commit d964ffcea9daf08095beecf558db8ddc7cc9da7e +Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Wed Mar 16 22:43:54 2016 +0100 + + Unbreak startup + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0eb2417..13afcd0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -56,6 +56,7 @@ add_executable(kjumpingcube ${kjumpingcube_SRCS}) + target_link_libraries(kjumpingcube + KF5KDEGames + KF5::XmlGui ++ KF5::DBusAddons + KF5::KDELibs4Support + Qt5::Svg + ) +diff --git a/main.cpp b/main.cpp +index d287626..039dd7f 100644 +--- a/main.cpp ++++ b/main.cpp +@@ -26,6 +26,7 @@ + #include <KAboutData> + #include <QApplication> + #include <KLocalizedString> ++#include <KDBusService> + #include <QCommandLineParser> + #include <kdelibs4configmigrator.h> + +@@ -47,6 +48,7 @@ int main(int argc, char *argv[]) + KAboutData aboutData( "kjumpingcube", i18n("KJumpingCube"), + KJC_VERSION, i18n(description), KAboutLicense::GPL, + i18n("(c) 1998-2000, Matthias Kiefer")); ++ aboutData.setOrganizationDomain(QByteArray("kde.org")); + aboutData.addAuthor(i18n("Matthias Kiefer"),QString(), "matthias.kiefer@gmx.de"); + aboutData.addAuthor(i18n("Benjamin Meyer"),i18n("Various improvements"), "ben+kjumpingcube@meyerhome.net"); + aboutData.addCredit(i18n("Ian Wadham"), +@@ -72,8 +74,9 @@ int main(int argc, char *argv[]) + RESTORE(KJumpingCube) + } + else { +- KJumpingCube *kjumpingcube = new KJumpingCube; +- kjumpingcube->show(); +- } +- return app.exec(); ++ KJumpingCube *kjumpingcube = new KJumpingCube; ++ kjumpingcube->show(); ++ } ++ const KDBusService dbusService(KDBusService::Multiple); ++ return app.exec(); + } diff --git a/kde-apps/kjumpingcube/files/kjumpingcube-15.12.3-deps.patch b/kde-apps/kjumpingcube/files/kjumpingcube-15.12.3-deps.patch new file mode 100644 index 000000000000..a19144164a61 --- /dev/null +++ b/kde-apps/kjumpingcube/files/kjumpingcube-15.12.3-deps.patch @@ -0,0 +1,54 @@ +commit d3a2c46bf255c428220342c05a46f9191d94077c +Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Wed Mar 16 21:03:12 2016 +0100 + + Remove unused deps + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 3c341ef..08ed990 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,26 +6,20 @@ set (QT_MIN_VERSION "5.3.0") + find_package(ECM 1.7.0 REQUIRED CONFIG) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) + +-find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg Test) ++find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick Svg) + find_package(KF5 REQUIRED COMPONENTS + CoreAddons + Config +- ItemModels + WidgetsAddons +- WindowSystem + Config + DBusAddons + I18n + ConfigWidgets +- TextWidgets + XmlGui +- KIO +- NotifyConfig +- NewStuff +- KDELibs4Support) ++ KDELibs4Support ++) + + find_package(KF5KDEGames 4.9.0 REQUIRED) +-find_package(Phonon4Qt5 CONFIG REQUIRED) + + include(FeatureSummary) + include(ECMAddAppIcon) +@@ -60,7 +54,12 @@ file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*-apps-kjumpingcube.png") + ecm_add_app_icon(kjumpingcube_SRCS ICONS ${ICONS_SRCS}) + add_executable(kjumpingcube ${kjumpingcube_SRCS}) + +-target_link_libraries(kjumpingcube KF5::KIOCore KF5KDEGames KF5::XmlGui KF5::KDELibs4Support Qt5::Svg) ++target_link_libraries(kjumpingcube ++ KF5KDEGames ++ KF5::XmlGui ++ KF5::KDELibs4Support ++ Qt5::Svg ++) + + install(TARGETS kjumpingcube ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ) + diff --git a/kde-apps/kjumpingcube/kjumpingcube-15.12.3-r1.ebuild b/kde-apps/kjumpingcube/kjumpingcube-15.12.3-r1.ebuild new file mode 100644 index 000000000000..6aaa1c08819c --- /dev/null +++ b/kde-apps/kjumpingcube/kjumpingcube-15.12.3-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="true" +KDE_SELINUX_MODULE="games" +inherit kde5 + +DESCRIPTION="Tactical one or two player game" +HOMEPAGE=" + https://www.kde.org/applications/games/kjumpingcube/ + https://games.kde.org/game.php?game=kjumpingcube +" +KEYWORDS=" ~amd64 ~x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_kdeapps_dep libkdegames) + $(add_qt_dep qtgui) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-deps.patch" + "${FILESDIR}/${P}-dbus.patch" +) |