summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-11-24 22:29:34 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-11-24 22:32:43 +1100
commit3b3ff4014e0a767a106a8d4076e5625142e387de (patch)
tree04868e12f19d7cb8b6ab413db62420ccaca200cb /app-dicts/dikt
parentapp-emulation/free42: Bumps version to 1.5.12 (diff)
downloadgentoo-3b3ff4014e0a767a106a8d4076e5625142e387de.tar.gz
gentoo-3b3ff4014e0a767a106a8d4076e5625142e387de.tar.bz2
gentoo-3b3ff4014e0a767a106a8d4076e5625142e387de.zip
app-dicts/dikt: version bump to 2s
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-dicts/dikt')
-rw-r--r--app-dicts/dikt/Manifest1
-rw-r--r--app-dicts/dikt/dikt-2s.ebuild39
-rw-r--r--app-dicts/dikt/files/dikt-2s-deps.patch15
3 files changed, 55 insertions, 0 deletions
diff --git a/app-dicts/dikt/Manifest b/app-dicts/dikt/Manifest
index db112f2777cc..d9ef0a758f9c 100644
--- a/app-dicts/dikt/Manifest
+++ b/app-dicts/dikt/Manifest
@@ -1 +1,2 @@
DIST dikt-2l.tar.xz 51948 SHA256 172dfa23400c57d715eb8f99e855f2370b86f8f61fd648e2d507ba238b9e71c1 SHA512 d75e13eca4bd9db20a5b25c56022d2a3c1df5a3e6d940af13fd768d9b77a24af23c0d04ee215f26b6c6beddd1a91f4e6a922884ad3cda551ca30ba37a50184c8 WHIRLPOOL e6ea03658771879e243dd9829cc61daaa9fc705197039f20f1c7ff990b201aebce7b5e702cec52a77df306582ccad227347096f38d1537437d7d3e4b7f3ed913
+DIST dikt-2s.tar.xz 52604 SHA256 92eaf11cd7dbc998933cfff61ac9564919b3a8bab1a89a453f82d9b9f471dd47 SHA512 2f3a21f5daed636123c3902959c5bbb292c566cb878dde94ea111f62c16a16aacb5ad99a8845f20e47081b26b7174c5f478269c30fa3369ccfaec2ede4676d72 WHIRLPOOL 9f913fd22f235dbbbea5b1a3d643c9c968a504c8bd1063fb074cde1d19764f610f2e0bb84609bd5008849846161fd6dc0003377404b34467d0a6b07d52e731c4
diff --git a/app-dicts/dikt/dikt-2s.ebuild b/app-dicts/dikt/dikt-2s.ebuild
new file mode 100644
index 000000000000..f21efc9a4903
--- /dev/null
+++ b/app-dicts/dikt/dikt-2s.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="A dictionary for KDE"
+HOMEPAGE="https://www.dikt.tv/"
+SRC_URI="https://bitbucket.org/dikt/code/downloads/${P}.txz -> ${P}.tar.xz"
+
+LICENSE="BSD-2"
+SLOT="5"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ $(add_frameworks_dep kcodecs)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kguiaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}
+ !app-dicts/dikt:4
+"
+
+PATCHES=( "${FILESDIR}/${P}-deps.patch" )
diff --git a/app-dicts/dikt/files/dikt-2s-deps.patch b/app-dicts/dikt/files/dikt-2s-deps.patch
new file mode 100644
index 000000000000..f8d4725a9a20
--- /dev/null
+++ b/app-dicts/dikt/files/dikt-2s-deps.patch
@@ -0,0 +1,15 @@
+Do not try to search for unused dependencies.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -12,8 +12,8 @@
+ include(KDECMakeSettings)
+ include(KDECompilerSettings)
+
+-find_package(Qt5 CONFIG REQUIRED Core DBus Network Widgets PrintSupport)
+-find_package(KF5 REQUIRED COMPONENTS Config I18n KIO WindowSystem XmlGui GuiAddons IconThemes DBusAddons)
++find_package(Qt5 CONFIG REQUIRED Core Network Widgets PrintSupport)
++find_package(KF5 REQUIRED COMPONENTS Config I18n KIO XmlGui GuiAddons IconThemes DBusAddons)
+
+ add_definitions(
+ -DQT_USE_QSTRINGBUILDER