summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/kchmviewer/Manifest1
-rw-r--r--app-text/kchmviewer/kchmviewer-7.5.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/app-text/kchmviewer/Manifest b/app-text/kchmviewer/Manifest
index c52da3e7fb3c..5e6764052b18 100644
--- a/app-text/kchmviewer/Manifest
+++ b/app-text/kchmviewer/Manifest
@@ -1,3 +1,4 @@
DIST kchmviewer-6.0.tar.gz 310642 SHA256 81c856434a86977039c36cb10f2427cc8cb1ea29a778f24fff2285d49c717979 SHA512 029335e4acea711f31c7d17751292c6b755504b97b73864b5d25a7a8a2853c0499658056bad9f9c0b6324f61c024feb5a943dc670fdccb37fcdee1346d7334d9 WHIRLPOOL 2b368654d50d0e553d116ca52f3b1ebe3d709a6b52933d54a54d2360c51356628d58c3cc789e32da54a5897b1cbee185380dbcbe0b6824146ec1ad39dc5c9280
DIST kchmviewer-7.3.tar.gz 344483 SHA256 7cb805c9a836b7622bbea1d5df8873fb711979285abb21bccf095f25cf3f6007 SHA512 b4861e157f850413051df70dbdf90c7bcc9eebd58a0e6a4990a0eab232ec02ace44c4fe4367f74d23bbc0fab32e61e149b474db43efb45ef08f42af97e6af093 WHIRLPOOL 3705f565f1b5333471b75b5e48e9b10cb795b195b4d2cc44b7bd9905743082264993ed25c7fc4618dc8e5bc13f41abf1b3a8a4783f54adf98b6512f411735ef9
DIST kchmviewer-7.4.tar.gz 341566 SHA256 5f34c7915523e03651186007d41d2b71cff8d6f8061fc35aadfb751cd20dfae3 SHA512 13d28d4e0352f21ceb39198c04ade023669eb84b6ad0cff99217cbb8972ba990dc67f8b4dab118a2ea8032d83ba2751bf778de2cb8196f66859ae94df3763564 WHIRLPOOL 5be4eb895a881a752602db4f19748f0db2a2cf99e0c8e07e46b534f05feb5158d423e7207a2a5b3b268322ea0d0b6c6a31681ce8081db911134b0f71193b79a2
+DIST kchmviewer-7.5.tar.gz 342487 SHA256 c81f8fb7ac1fe8a5284e03b0d91def61cbd5638f2276c5de8046251755352e53 SHA512 4e867766d60788f11cddc7373b82f7930fb9e5efbef4231fbb386ed2651297d9ab2f893770142c6445c18bf0df3ad2b47b8a0428bb3baa37465d9091e2e15f9a WHIRLPOOL a12e2c63b0cb3aa03d60f463da7d98500fa7021335d721fc26aeec53bee0d2d4af2ce5e6495e2d4b6a0bb5b25734b9a46f255482f0e065d3e26afbeb09bf3c67
diff --git a/app-text/kchmviewer/kchmviewer-7.5.ebuild b/app-text/kchmviewer/kchmviewer-7.5.ebuild
new file mode 100644
index 000000000000..d3a3ee17c32d
--- /dev/null
+++ b/app-text/kchmviewer/kchmviewer-7.5.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fdo-mime qmake-utils
+
+DESCRIPTION="A feature rich chm file viewer, based on Qt"
+HOMEPAGE="http://www.kchmviewer.net/"
+SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug qt5"
+
+RDEPEND="
+ dev-libs/chmlib
+ dev-libs/libzip
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ )
+ !qt5? (
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ dev-qt/qtwebkit:4
+ )
+
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # fix parallel build wrt bug #527192
+ echo "src.depends = lib" >> ${PN}.pro || die
+}
+
+src_configure() {
+ if use qt5; then
+ eqmake5
+ else
+ eqmake4
+ fi
+}
+
+src_install() {
+ dodoc ChangeLog DBUS-bindings FAQ README
+ doicon packages/kchmviewer.png
+
+ dobin bin/kchmviewer
+ domenu packages/kchmviewer.desktop
+
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}