summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-08-15 18:33:38 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-08-15 18:33:38 +0000
commitd00756fa0ebefe4482ccf19d7207347a419bcfe3 (patch)
treed5138d9b9b32ada0cf06e9d905d5d5ffef2404cf /app-text/kchmviewer
parentVersion bump. (diff)
downloadgentoo-2-d00756fa0ebefe4482ccf19d7207347a419bcfe3.tar.gz
gentoo-2-d00756fa0ebefe4482ccf19d7207347a419bcfe3.tar.bz2
gentoo-2-d00756fa0ebefe4482ccf19d7207347a419bcfe3.zip
Remove old ebuild using built_with_use.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'app-text/kchmviewer')
-rw-r--r--app-text/kchmviewer/ChangeLog6
-rw-r--r--app-text/kchmviewer/kchmviewer-3.1_p2.ebuild76
2 files changed, 5 insertions, 77 deletions
diff --git a/app-text/kchmviewer/ChangeLog b/app-text/kchmviewer/ChangeLog
index 91b2418d2d68..c597df09b4fa 100644
--- a/app-text/kchmviewer/ChangeLog
+++ b/app-text/kchmviewer/ChangeLog
@@ -1,6 +1,10 @@
# 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.16 2009/07/01 20:51:11 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/ChangeLog,v 1.17 2009/08/15 18:33:38 betelgeuse Exp $
+
+ 15 Aug 2009; Petteri Räty <betelgeuse@gentoo.org>
+ -kchmviewer-3.1_p2.ebuild:
+ Remove old ebuild using built_with_use.
01 Jul 2009; Markus Meier <maekke@gentoo.org> kchmviewer-3.1_p2-r1.ebuild:
amd64 stable, bug #271241
diff --git a/app-text/kchmviewer/kchmviewer-3.1_p2.ebuild b/app-text/kchmviewer/kchmviewer-3.1_p2.ebuild
deleted file mode 100644
index 978e4083e78e..000000000000
--- a/app-text/kchmviewer/kchmviewer-3.1_p2.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# 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-3.1_p2.ebuild,v 1.4 2009/03/16 13:54:33 pva Exp $
-
-inherit autotools kde-functions eutils versionator
-
-MY_P=${PN}-$(replace_version_separator 2 '-')
-MY_P=${MY_P/p}
-
-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 ~ppc x86"
-IUSE="arts kde"
-
-DEPEND="=x11-libs/qt-3*
- dev-libs/chmlib
- kde? ( =kde-base/kdelibs-3.5* )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
-
-pkg_setup() {
- if use kde; then
- if use arts && ! built_with_use =kde-base/kdelibs-3.5* arts ; then
- eerror "You are trying to compile ${CATEGORY}/${PF} with the \"arts\" USE flag enabled."
- eerror "However, $(best_version =kde-base/kdelibs-3.5*) 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 "Impossible to build kde package with different from kdelibs arts setting"
- elif ! use arts && built_with_use =kde-base/kdelibs-3.5* arts ; then
- eerror "You are trying to compile ${CATEGORY}/${PF} with the \"arts\" USE flag disabled."
- eerror "However, $(best_version =kde-base/kdelibs-3.5*) was compiled with this flag enabled."
- eerror
- eerror "You must either enable this use flag, or recompile"
- eerror "$(best_version =kde-base/kdelibs-3.5*) with this use flag disabled."
- die "Impossible to build kde package with different from kdelibs arts setting"
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-gcc43.patch" #218812
-
- # broken configure script, assure it doesn't fall back to internal libs
- echo "# We use the external chmlib!" > lib/chmlib/chm_lib.h
-}
-
-src_compile() {
- set-kdedir 3
-
- econf \
- --includedir=${KDEDIR}/include \
- $(use_with kde) \
- $(use_with arts)
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "installation failed"
- dodoc ChangeLog FAQ DCOP-bingings README || die "installing docs failed"
-}
-
-pkg_postinst() {
- if [[ -f ${ROOT}/usr/share/services/chm.protocol ]]; then
- ewarn "kchmviewer and kdevelop's kio_chm don't work together, bug #260134."
- ewarn "Until we find better solution, if you want to read chm files with ${PN}"
- ewarn "you need to remove ${ROOT}usr/share/services/chm.protocol file manually."
- fi
-}