summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-09-28 17:10:52 +0000
committerPeter Volkov <pva@gentoo.org>2007-09-28 17:10:52 +0000
commit8448b74e711a1c6c19a9a1956e03255260c1c461 (patch)
treea9d5b46fe6cdc21463db2a0a09d15c32d351596e /app-doc/kchmviewer/kchmviewer-4.0_beta1.ebuild
parentWeekly version bump <http://my.opera.com/desktopteam/blog/2007/09/28/snapshot... (diff)
downloadgentoo-2-8448b74e711a1c6c19a9a1956e03255260c1c461.tar.gz
gentoo-2-8448b74e711a1c6c19a9a1956e03255260c1c461.tar.bz2
gentoo-2-8448b74e711a1c6c19a9a1956e03255260c1c461.zip
Version bump. Seems that new version is qt-4 only release. Remove old ebuilds.
(Portage version: 2.1.3.10)
Diffstat (limited to 'app-doc/kchmviewer/kchmviewer-4.0_beta1.ebuild')
-rw-r--r--app-doc/kchmviewer/kchmviewer-4.0_beta1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-doc/kchmviewer/kchmviewer-4.0_beta1.ebuild b/app-doc/kchmviewer/kchmviewer-4.0_beta1.ebuild
new file mode 100644
index 000000000000..cef0bb2c0ab5
--- /dev/null
+++ b/app-doc/kchmviewer/kchmviewer-4.0_beta1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/kchmviewer/kchmviewer-4.0_beta1.ebuild,v 1.1 2007/09/28 17:10:51 pva Exp $
+
+inherit qt4 fdo-mime
+
+MY_P="${PN}-${PV/_beta/b}"
+
+DESCRIPTION="KchmViewer is a feature rich chm file viewer, based on Qt."
+HOMEPAGE="http://www.kchmviewer.net/"
+SRC_URI="mirror://sourceforge/kchmviewer/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="$(qt4_min_version 4.2)
+ app-doc/chmlib"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ eqmake4
+ emake || die "make failed"
+}
+
+src_install() {
+ dobin bin/kchmviewer || die "dobin kchmviewer failed"
+ insinto /usr/share/applications
+ doins lib/kio-msits/kchmviewer.desktop
+ dodoc ChangeLog README
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}