summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2006-08-15 17:48:53 +0000
committerCarsten Lohrke <carlo@gentoo.org>2006-08-15 17:48:53 +0000
commitc0c4bcebe28201d8d6b121c3fad96e73a62795d0 (patch)
tree47c7324031a97ad60c4ca31562b5f5240c7a88d0 /app-doc
parentMarked stable on hppa. (diff)
downloadgentoo-2-c0c4bcebe28201d8d6b121c3fad96e73a62795d0.tar.gz
gentoo-2-c0c4bcebe28201d8d6b121c3fad96e73a62795d0.tar.bz2
gentoo-2-c0c4bcebe28201d8d6b121c3fad96e73a62795d0.zip
Version bump.
(Portage version: 2.1.1_pre5-r1)
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/kchmviewer/ChangeLog7
-rw-r--r--app-doc/kchmviewer/files/digest-kchmviewer-2.63
-rw-r--r--app-doc/kchmviewer/kchmviewer-2.6.ebuild46
3 files changed, 55 insertions, 1 deletions
diff --git a/app-doc/kchmviewer/ChangeLog b/app-doc/kchmviewer/ChangeLog
index 1c349cbae0b4..3af01d561a08 100644
--- a/app-doc/kchmviewer/ChangeLog
+++ b/app-doc/kchmviewer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-doc/kchmviewer
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/kchmviewer/ChangeLog,v 1.15 2006/08/15 17:46:38 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/kchmviewer/ChangeLog,v 1.16 2006/08/15 17:48:53 carlo Exp $
+
+*kchmviewer-2.6 (15 Aug 2006)
+
+ 15 Aug 2006; Carsten Lohrke <carlo@gentoo.org> +kchmviewer-2.6.ebuild:
+ Version bump.
15 Aug 2006; Carsten Lohrke <carlo@gentoo.org> kchmviewer-2.0-r1.ebuild,
kchmviewer-2.5.ebuild:
diff --git a/app-doc/kchmviewer/files/digest-kchmviewer-2.6 b/app-doc/kchmviewer/files/digest-kchmviewer-2.6
new file mode 100644
index 000000000000..044754572b8a
--- /dev/null
+++ b/app-doc/kchmviewer/files/digest-kchmviewer-2.6
@@ -0,0 +1,3 @@
+MD5 7898095c413b4262c5aff6bf5fcaf25b kchmviewer-2.6.tar.gz 671666
+RMD160 8a774e37e1e5824a4ff46123d54f246a1389974a kchmviewer-2.6.tar.gz 671666
+SHA256 25201d7ddb685f9c4ee55d134f61b239e786193cabaa263b4951aeba45045266 kchmviewer-2.6.tar.gz 671666
diff --git a/app-doc/kchmviewer/kchmviewer-2.6.ebuild b/app-doc/kchmviewer/kchmviewer-2.6.ebuild
new file mode 100644
index 000000000000..1dc9091bc75f
--- /dev/null
+++ b/app-doc/kchmviewer/kchmviewer-2.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/kchmviewer/kchmviewer-2.6.ebuild,v 1.1 2006/08/15 17:48:53 carlo Exp $
+
+inherit kde-functions eutils
+
+DESCRIPTION="KchmViewer is a feature rich chm file viewer, based on Qt."
+HOMEPAGE="http://kchmviewer.sourceforge.net/"
+SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="arts kde"
+
+DEPEND="=x11-libs/qt-3*
+ app-doc/chmlib
+ kde? ( kde-base/kdelibs )"
+
+pkg_setup() {
+ if use kde && use arts && ! built_with_use kde-base/kdelibs arts ; then
+ eerror "You are trying to compile ${CATEGORY}/${PF} with the \"arts\" USE flag enabled."
+ eerror "However, $(best_version kde-base/kdelibs) was compiled with this flag disabled."
+ eerror
+ eerror "You must either disable this use flag, or recompile"
+ eerror "$(best_version kde-base/kdelibs) with this use flag enabled."
+ die
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ # broken configure script, assure it doesn't fall back to internal libs
+ echo "# We use the external chmlib!" > chmlib/chm_lib.h
+}
+src_compile() {
+ set-kdedir 3
+
+ econf $(use_with kde) $(use_with arts) || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc ChangeLog
+}