summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-17 01:02:23 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-19 01:40:03 +1100
commit0faa533194f922db80dcf86edcf71679200ae1bf (patch)
tree9e845b2bae6c5b79b2baf00aea17c64a1dc0f361 /kde-apps/kpat
parentkde-apps: Drop 15.12.1 (diff)
downloadgentoo-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/kpat')
-rw-r--r--kde-apps/kpat/Manifest1
-rw-r--r--kde-apps/kpat/files/kpat-15.12.3-deps.patch70
-rw-r--r--kde-apps/kpat/kpat-15.12.3-r1.ebuild37
3 files changed, 108 insertions, 0 deletions
diff --git a/kde-apps/kpat/Manifest b/kde-apps/kpat/Manifest
index 5722aa7f3d4c..c52088269c63 100644
--- a/kde-apps/kpat/Manifest
+++ b/kde-apps/kpat/Manifest
@@ -1,2 +1,3 @@
DIST kpat-15.08.3.tar.xz 3079496 SHA256 50d92dfe5c7ed1c23bc62a408e25c974d67eee629b0e4edd5f710eda3bcd959a SHA512 b38b16e0607b39de39de3b9be7a69d2d73d4e5352461c884a9b3b5c7a187ad78a257e54ece49f77533ba82ca1c6395e16cbcd6784e61feebf5509be1cd5d0153 WHIRLPOOL 4808c7b2ea391b1765198fcbed30008960fe51b3d63d65292496a982ca3b23cae3c0451c1ed4b46d792c98d6a791ce13a876aefc97fd0792ed072397890e42b0
+DIST kpat-15.12.3.tar.xz 3079664 SHA256 049f0d8eb60a79710950cd48aa52f768a27c59ac79cedac8b4f84f074ae91b09 SHA512 ace422f0379de188b1889d04e7d8ad9cb2409f14b65ad8d321c67062bd70e3d6a5dc8d5c559426946839a26ba02685153e4c46c8401fec9a1693ec800f1f6314 WHIRLPOOL 1a5146f7e00eff3016b0016f3166ecac84394399618974729c82a5e135706fcdca0218a9313068eb4c6ee165589aa95986ee8b8760c8717ea190610e2b52ea66
DIST kpat-4.14.3.tar.xz 3077376 SHA256 b42688d906ebeea56ecf4d67e0fb8e550246fbb8867ad4eaa3d4e5aaf884db4d SHA512 0197a770c508748c958d56b4863a67f31506891038b0ec6f14033e7051a36cdd9f27398abdd92e2f295f641e2b6e8751862b4df1e51a25fb0fb67b7272c90150 WHIRLPOOL 53978488cc6c095032154dab7cfef7da6bc868ce999e97c25219b9b5edeae7d211921b2ecc47fbdb73ca70e9f32ec62bc9d2d68c2057642208583974b7102195
diff --git a/kde-apps/kpat/files/kpat-15.12.3-deps.patch b/kde-apps/kpat/files/kpat-15.12.3-deps.patch
new file mode 100644
index 000000000000..6f007f48d9e0
--- /dev/null
+++ b/kde-apps/kpat/files/kpat-15.12.3-deps.patch
@@ -0,0 +1,70 @@
+commit c6198b4b57b36caec9f2267e8a70243cc77681b1
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Thu Mar 17 00:03:38 2016 +0100
+
+ Remove unused deps
+
+ REVIEW: 127404
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 620c789..239aa07 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -6,24 +6,18 @@ set (QT_MIN_VERSION "5.2.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
+ WidgetsAddons
+ Config
+ DBusAddons
+- Declarative
+ I18n
+ GuiAddons
+- ConfigWidgets
+- ItemViews
+- IconThemes
+- Completion
+- TextWidgets
++ ConfigWidgets
++ Completion
+ XmlGui
+- KIO
+- NotifyConfig
+ NewStuff
+ DocTools
+ KDELibs4Support
+@@ -31,8 +25,6 @@ find_package(KF5 REQUIRED COMPONENTS
+
+ find_package(KF5KDEGames 4.9.0 REQUIRED)
+
+-find_package(Phonon4Qt5)
+-
+ include(FeatureSummary)
+ include(ECMAddAppIcon)
+ include(ECMInstallIcons)
+@@ -100,9 +92,17 @@ kconfig_add_kcfg_files( kpat_SRCS settings.kcfgc )
+
+ file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kpat.png")
+ ecm_add_app_icon(kpat_SRCS ICONS ${ICONS_SRCS})
+-add_executable( kpat ${kpat_SRCS} )
+-target_link_libraries( kpat kcardgame KF5KDEGames KF5::KIOCore Phonon::phonon4qt5 KF5::I18n KF5::DBusAddons KF5::KDELibs4Support)
+-install( TARGETS kpat ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
++add_executable(kpat ${kpat_SRCS})
++target_link_libraries(kpat
++ KF5::Crash
++ KF5::DBusAddons
++ KF5::I18n
++ KF5::KDELibs4Support
++ KF5KDEGames
++ kcardgame
++)
++
++install(TARGETS kpat ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+
+
+ ########### install files ###############
diff --git a/kde-apps/kpat/kpat-15.12.3-r1.ebuild b/kde-apps/kpat/kpat-15.12.3-r1.ebuild
new file mode 100644
index 000000000000..a111a53328da
--- /dev/null
+++ b/kde-apps/kpat/kpat-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="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="KDE patience game"
+HOMEPAGE="https://games.kde.org/game.php?game=kpat"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep kguiaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_kdeapps_dep libkdegames)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ x11-misc/shared-mime-info
+"
+
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-deps.patch" )