summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-12-15 10:44:25 +0000
committerPeter Volkov <pva@gentoo.org>2009-12-15 10:44:25 +0000
commitdaf93a78693ba61fdb56d446d7b2bac5cd7bac06 (patch)
tree1fa8f8946e48025e8cf9df7c2a2c78480c34d7b3 /app-text/kchmviewer
parentrevbump to ruby-ng, fixing bug 261141 (diff)
downloadhistorical-daf93a78693ba61fdb56d446d7b2bac5cd7bac06.tar.gz
historical-daf93a78693ba61fdb56d446d7b2bac5cd7bac06.tar.bz2
historical-daf93a78693ba61fdb56d446d7b2bac5cd7bac06.zip
Version bump, bug #297000, thank Samuli Suominen for report.
Package-Manager: portage-2.2_rc59/cvs/Linux i686
Diffstat (limited to 'app-text/kchmviewer')
-rw-r--r--app-text/kchmviewer/ChangeLog7
-rw-r--r--app-text/kchmviewer/Manifest14
-rw-r--r--app-text/kchmviewer/kchmviewer-5.0.ebuild85
3 files changed, 94 insertions, 12 deletions
diff --git a/app-text/kchmviewer/ChangeLog b/app-text/kchmviewer/ChangeLog
index 05feeff7167a..788eec59e68e 100644
--- a/app-text/kchmviewer/ChangeLog
+++ b/app-text/kchmviewer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/kchmviewer
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/ChangeLog,v 1.23 2009/11/16 22:03:16 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/ChangeLog,v 1.24 2009/12/15 10:44:25 pva Exp $
+
+*kchmviewer-5.0 (15 Dec 2009)
+
+ 15 Dec 2009; Peter Volkov <pva@gentoo.org> +kchmviewer-5.0.ebuild:
+ Version bump, bug #297000, thank Samuli Suominen for report.
16 Nov 2009; Markus Meier <maekke@gentoo.org> kchmviewer-4.1.ebuild:
amd64/x86 stable, bug #292192
diff --git a/app-text/kchmviewer/Manifest b/app-text/kchmviewer/Manifest
index fd51619242fc..57ce18656b87 100644
--- a/app-text/kchmviewer/Manifest
+++ b/app-text/kchmviewer/Manifest
@@ -1,19 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX kchmviewer-3.1_p2-gcc43.patch 496 RMD160 597af1509a949d6710ac63878a46851d774c4424 SHA1 d1aae7dbc5ac1d87d364ef58de857a9a1f90e0d2 SHA256 6157ab84b0cd46814eb2b667c546d2a15a22cc7df760c7000e6f52c3f4cf86dd
DIST kchmviewer-3.1-2.tar.gz 945640 RMD160 21a38d0cfcf0d7e32b3de6cf34ad0a9ac8019451 SHA1 b89c0f1e56b820de2419e4890efc5537fefc4b1e SHA256 e73b4ec4b1b6decbd2ab82f670b843a12813d74653ebc6859deffb3b48abf6db
DIST kchmviewer-4.1.tar.gz 257818 RMD160 d07546fda972082d51fccb4c3f98f61dabd30036 SHA1 ffb057fb3d614c8cbaf4a7d178aeb1a33d9b0397 SHA256 98977b167466003af1d2b4bf87aa4b8cfcdad6458712f2c06ecd58d4cf191fd3
DIST kchmviewer-4.2.tar.gz 260935 RMD160 30a35419a9886acf64e9bea3dfbf786e54301068 SHA1 1f9e58311c96ce13d936a490a200a59bd2257874 SHA256 d24507ec25c3d5ab865150b194aa29921b370b54820768014747b8b3701715a3
+DIST kchmviewer-5.0.tar.gz 263607 RMD160 ff8536bea2070b1f75f28423e8cc9d6c1a9ab1ee SHA1 460e19903a6a640c1450a168f654a00e1e966dd7 SHA256 3f9849d3421eade49defb1f8767f68e5c8b6efec293e0409be579ad1a0887f9f
EBUILD kchmviewer-3.1_p2-r1.ebuild 1459 RMD160 86c6470c5e8f1a3dc52359ad131369f7d17809dc SHA1 734eaa8cd570b7cae5cb8a5b983d999ae5433a5a SHA256 18e24715f6b7b21a501f12c464880fceea2e2e2e9cb4bfcc0993389ac5aa9876
EBUILD kchmviewer-4.1.ebuild 2187 RMD160 a5f40bdebfaefa622cb888e233b971b57a8a4bed SHA1 ac30de37696a6eabc2d1af620bc571b0efc85f58 SHA256 f394011c3087c1f2788cbafe2416220620abef3ee78758dc9646900e5ee47c87
EBUILD kchmviewer-4.2.ebuild 2188 RMD160 21c32ac8c8d73d8cbc58b4491dc30b1b882b6758 SHA1 f829c2795b020be3300af994910eff22ad1b12a6 SHA256 9f98e52e901ad563a954a194247848871c01aa0baf2707a5bb58e3226dc714ed
-MISC ChangeLog 9512 RMD160 4b5f966ebb907b5d8ebbe3a00a4d89f3ab20d6ec SHA1 07a2d1a4d709c45556745e7684333e3629e528c8 SHA256 09f96efaeac88943e09a3f337555104ca954320891ae8c2d8c058a8b98d0211f
+EBUILD kchmviewer-5.0.ebuild 1905 RMD160 a913c489e84e7ab5aeafdd18de5847ebd7b7be5f SHA1 d0bd3998dd825b162533bdf57498121828788437 SHA256 d8e0fa4fe70548a517fc3f5fb42e79aa35300e2fef5d91cf30d117d641aadd6e
+MISC ChangeLog 9673 RMD160 9580be8164925a2ea26b0971d8b8e457273d3d1c SHA1 5bff7506382311e4ebfeccc53f5d74a7fa0803aa SHA256 9e770c56fa6357c596d13b0eed35f2e2409da0c931f82d3eacb3e1c57b814ab6
MISC metadata.xml 897 RMD160 7d20769aac85be3dbcdeb662a0e71a67c90413a1 SHA1 f023e57c6fc9e15a961f7e73b251ae4882f32b6f SHA256 8bf8c96465c90869082f2ecf1836c160549e26814d5ec38b7a9d7fe5947d9e1b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAksBzD4ACgkQkKaRLQcq0GKqiACfdVpx7BgStRdBnkE02pbPCDLQ
-17kAn1HIGodbkmSQ2DuTdiwSvtqtvg8h
-=/D6n
------END PGP SIGNATURE-----
diff --git a/app-text/kchmviewer/kchmviewer-5.0.ebuild b/app-text/kchmviewer/kchmviewer-5.0.ebuild
new file mode 100644
index 000000000000..aca181d124b5
--- /dev/null
+++ b/app-text/kchmviewer/kchmviewer-5.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/kchmviewer-5.0.ebuild,v 1.1 2009/12/15 10:44:25 pva Exp $
+
+EAPI="2"
+KDE_REQUIRED="never"
+inherit fdo-mime qt4 kde4-base
+
+DESCRIPTION="KchmViewer is 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="kde"
+
+RDEPEND="dev-libs/chmlib
+ >=x11-libs/qt-dbus-4.5:4
+ >=x11-libs/qt-webkit-4.5:4
+ !kde? ( >=x11-libs/qt-gui-4.5:4 )
+ kde? ( >=kde-base/kdelibs-4.1
+ !kde-base/okular[chm] )"
+DEPEND="${RDEPEND}
+ kde? ( dev-util/cmake )"
+
+S=${WORKDIR}/build-${PV}
+
+pkg_setup() {
+ use kde && kde4-base_pkg_setup
+}
+
+src_prepare() {
+ sed -e "s:KDE4_SERVICES_INSTALL_DIR:SERVICES_INSTALL_DIR:" \
+ -i lib/kio-msits/CMakeLists.txt
+ sed -e "s:KDE4_ICON_INSTALL_DIR:ICON_INSTALL_DIR:" \
+ -e "s:KDE4_XDG_APPS_INSTALL_DIR:XDG_APPS_INSTALL_DIR:" \
+ -i packages/CMakeLists.txt
+ sed -e "s:KDE4_BIN_INSTALL_DIR:BIN_INSTALL_DIR:" \
+ -i src/CMakeLists.txt
+ echo "CONFIG += ordered" >> kchmviewer.pro # parallel build fix #281954
+}
+
+src_configure() {
+ if use kde; then
+ kde4-base_src_configure
+ else
+ eqmake4
+ fi
+}
+
+src_compile() {
+ if use kde; then
+ kde4-base_src_compile
+ else
+ emake || die
+ fi
+}
+
+src_test() {
+ einfo "No tests exist."
+}
+
+src_install() {
+ if use kde; then
+ kde4-base_src_install
+ else
+ dobin bin/kchmviewer || die "dobin kchmviewer failed"
+ domenu packages/kchmviewer.desktop || die
+ dodoc ChangeLog README || die
+ fi
+ insinto /usr/share/pixmaps/
+ doins packages/kchmviewer.png || die
+ dodoc DBUS-bindings FAQ || die
+}
+
+pkg_postinst() {
+ use kde && kde4-base_pkg_postinst
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ use kde && kde4-base_pkg_postrm
+ fdo-mime_desktop_database_update
+}