diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2015-11-22 19:59:39 +0100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-12-06 20:45:41 +1100 |
commit | ffe20f2909f49bc02c315c276510199b6e705882 (patch) | |
tree | f75dcf99429d34f600bf0e9d76dfb7e905edb8ef /kde-apps/kshisen | |
parent | kde-apps: Move 15.08.3 kdeartwork and kdegraphics from overlay (diff) | |
download | gentoo-ffe20f2909f49bc02c315c276510199b6e705882.tar.gz gentoo-ffe20f2909f49bc02c315c276510199b6e705882.tar.bz2 gentoo-ffe20f2909f49bc02c315c276510199b6e705882.zip |
kde-apps: Move 15.08.3 kdeaccessibility and kdegames from overlay
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-apps/kshisen')
-rw-r--r-- | kde-apps/kshisen/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kshisen/files/kshisen-15.08.3-backport-fixes.patch | 47 | ||||
-rw-r--r-- | kde-apps/kshisen/kshisen-15.08.3.ebuild | 38 |
3 files changed, 86 insertions, 0 deletions
diff --git a/kde-apps/kshisen/Manifest b/kde-apps/kshisen/Manifest index 24adfd52af49..05d0da26e9b9 100644 --- a/kde-apps/kshisen/Manifest +++ b/kde-apps/kshisen/Manifest @@ -1 +1,2 @@ +DIST kshisen-15.08.3.tar.xz 136644 SHA256 7332a024dc2f4ca35f9f1bbae5b222c7ff0dc03b3bc486d5e7df7dc23ba7a877 SHA512 6ebb7527ed3f6c01c0a4642b9ab625871f62f7b77501409bd566b914f13358eb1a0da77054d3f4807e1e65ba7149e2ba7407df59149f18fe9fff2d8c281a47d8 WHIRLPOOL 9fc730a693faffcae499687a5e757a0aff3bb3e84794097ea2f5f9e505b6e9eced24a39c1261018a65a0b9492c434af4b6c77b1bb9dffa4212931bd85d4be088 DIST kshisen-4.14.3.tar.xz 136012 SHA256 08d22e819e961cc395ec7c6fdb5065b6dfa111f86bbf0610db5efc4f16ae3145 SHA512 fb6ef71d9a215496fc2d30fae133bf4aa1983f766e18d1e0e92cf3761219057331a8faf0fe3c0874627e846f72e766d348b933a1f7704ffd6298ad79b31c12db WHIRLPOOL 05b17c46fbf3e14440d75be920ed4cbb938f910b0ba8af74c98827168691faeb3418fc4c29722fbc95115f754012ec693361fae20f2572f0c2ef6a7561efdd5c diff --git a/kde-apps/kshisen/files/kshisen-15.08.3-backport-fixes.patch b/kde-apps/kshisen/files/kshisen-15.08.3-backport-fixes.patch new file mode 100644 index 000000000000..4ac1a0a316a3 --- /dev/null +++ b/kde-apps/kshisen/files/kshisen-15.08.3-backport-fixes.patch @@ -0,0 +1,47 @@ +diff -u b/CMakeLists.txt b/CMakeLists.txt +--- b/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -9,7 +9,7 @@ + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) + + find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Gui ) +-find_package(KF5 REQUIRED COMPONENTS CoreAddons DBusAddons XmlGui Config KIO DNSSD NewStuff Declarative DocTools ) ++find_package(KF5 REQUIRED COMPONENTS DBusAddons XmlGui Config DocTools ) + + include(FeatureSummary) + include(ECMAddAppIcon) +@@ -25,7 +25,6 @@ + + find_package(KF5KMahjongglib REQUIRED) + find_package(KF5KDEGames 4.9.0 REQUIRED) +-find_package(Phonon4Qt5 REQUIRED) + + add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS) + add_definitions(-DTRANSLATION_DOMAIN="kshisen") +diff -u b/src/CMakeLists.txt b/src/CMakeLists.txt +--- b/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -15,10 +15,8 @@ + + add_executable( kshisen ${kshisen_SRCS} ) + +-include_directories(${PHONON_INCLUDES}) +- +-target_link_libraries(kshisen Qt5::Gui KF5::CoreAddons KF5::KIOWidgets KF5::DNSSD Phonon::phonon4qt5 +- KF5::XmlGui KF5::I18n KF5KDEGames KF5KDEGamesPrivate KF5KMahjongglib KF5::DBusAddons) ++target_link_libraries(kshisen Qt5::Gui KF5::XmlGui KF5::I18n KF5KDEGames ++ KF5KDEGamesPrivate KF5KMahjongglib KF5::DBusAddons) + + install( TARGETS kshisen ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ) + +--- a/src/board.h ++++ b/src/board.h +@@ -39,8 +39,6 @@ + #include <QSize> + #include <QWidget> + +-#include <phonon/mediaobject.h> +- + // used in board.cpp and app.cpp, thus defined here + static int sizeX[6] = {14, 16, 18, 24, 26, 30}; + static int sizeY[6] = { 6, 9, 8, 12, 14, 16}; diff --git a/kde-apps/kshisen/kshisen-15.08.3.ebuild b/kde-apps/kshisen/kshisen-15.08.3.ebuild new file mode 100644 index 000000000000..a56ec9773cae --- /dev/null +++ b/kde-apps/kshisen/kshisen-15.08.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_HANDBOOK="forceoptional" +KDE_SELINUX_MODULE="games" +inherit kde5 + +DESCRIPTION="A KDE game similiar to Mahjongg" +HOMEPAGE=" + https://www.kde.org/applications/games/kshisen/ + https://games.kde.org/game.php?game=kshisen +" +KEYWORDS=" ~amd64 ~x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_kdeapps_dep libkdegames) + $(add_kdeapps_dep libkmahjongg) + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 +" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-backport-fixes.patch" + + kde5_src_prepare +} |