diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-05-17 14:58:05 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-05-17 14:58:05 +0000 |
commit | ca945058fe48473c0e5b794a025f12da63dd230d (patch) | |
tree | 10cf7d66caeb0a664c3ec4cb7313c68ffffe25ea /dev-util/xxdiff | |
parent | Add missing lm_sensors conditional for mibs, bug 92513. (diff) | |
download | gentoo-2-ca945058fe48473c0e5b794a025f12da63dd230d.tar.gz gentoo-2-ca945058fe48473c0e5b794a025f12da63dd230d.tar.bz2 gentoo-2-ca945058fe48473c0e5b794a025f12da63dd230d.zip |
Proper usage of kde eclasses (#92710). Add metadata.xml. Cleanup.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-util/xxdiff')
-rw-r--r-- | dev-util/xxdiff/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/xxdiff/files/digest-xxdiff-3.0.2-r1 | 1 | ||||
-rw-r--r-- | dev-util/xxdiff/metadata.xml | 5 | ||||
-rw-r--r-- | dev-util/xxdiff/xxdiff-3.0.2-r1.ebuild | 64 |
4 files changed, 77 insertions, 1 deletions
diff --git a/dev-util/xxdiff/ChangeLog b/dev-util/xxdiff/ChangeLog index 523a7d06f8cd..9b80002838a0 100644 --- a/dev-util/xxdiff/ChangeLog +++ b/dev-util/xxdiff/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/xxdiff # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/ChangeLog,v 1.25 2005/05/08 22:31:42 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/ChangeLog,v 1.26 2005/05/17 14:58:05 greg_g Exp $ + +*xxdiff-3.0.2-r1 (17 May 2005) + + 17 May 2005; Gregorio Guidi <greg_g@gentoo.org> +metadata.xml, + +xxdiff-3.0.2-r1.ebuild: + Proper usage of kde eclasses (#92710). Add metadata.xml. Cleanup. 08 May 2005; Aron Griffis <agriffis@gentoo.org> xxdiff-3.0.2.ebuild: stable on ia64 diff --git a/dev-util/xxdiff/files/digest-xxdiff-3.0.2-r1 b/dev-util/xxdiff/files/digest-xxdiff-3.0.2-r1 new file mode 100644 index 000000000000..ce2a73819e9c --- /dev/null +++ b/dev-util/xxdiff/files/digest-xxdiff-3.0.2-r1 @@ -0,0 +1 @@ +MD5 3c3eeedc2c710a43794894d29c1d5db7 xxdiff-3.0.2.tar.gz 1064508 diff --git a/dev-util/xxdiff/metadata.xml b/dev-util/xxdiff/metadata.xml new file mode 100644 index 000000000000..dc439f7e84f5 --- /dev/null +++ b/dev-util/xxdiff/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>qt</herd> +</pkgmetadata> diff --git a/dev-util/xxdiff/xxdiff-3.0.2-r1.ebuild b/dev-util/xxdiff/xxdiff-3.0.2-r1.ebuild new file mode 100644 index 000000000000..95256f10baef --- /dev/null +++ b/dev-util/xxdiff/xxdiff-3.0.2-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/xxdiff-3.0.2-r1.ebuild,v 1.1 2005/05/17 14:58:05 greg_g Exp $ + +inherit eutils kde-functions + +DESCRIPTION="A graphical file and directories comparator and merge tool." +HOMEPAGE="http://xxdiff.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="kde" + +DEPEND=">=x11-libs/qt-3 + kde? ( >=kde-base/kdelibs-3.1 )" + +RDEPEND="${DEPEND} + sys-apps/diffutils" + +DEPEND="${DEPEND} + =dev-util/tmake-1.8*" + +set-qtdir 3 +set-kdedir 3 + +src_unpack() +{ + unpack ${A} + + if use kde; then + cd ${S}/src + cp ${FILESDIR}/kdesupport.patch ${T}/ + sed -i -e "s:/usr/kde/3.1:${KDEDIR}:g" ${T}/kdesupport.patch + epatch ${T}/kdesupport.patch + fi +} + +src_compile() { + cd src + tmake -o Makefile xxdiff.pro + + ### borrowed from kde.eclass # + # + # fix the sandbox errors "can't writ to .kde or .qt" problems. + # this is a fake homedir that is writeable under the sandbox, so that the build + # process can do anything it wants with it. + REALHOME="${HOME}" + mkdir -p ${T}/fakehome/.kde + mkdir -p ${T}/fakehome/.qt + export HOME="${T}/fakehome" + + # things that should access the real homedir + [ -d "${REALHOME}/.ccache" ] && ln -sf "${REALHOME}/.ccache" "${HOME}/" + + emake || die +} + +src_install () { + dobin bin/xxdiff bin/xxdiff-cvs-diff bin/xxdiff-encrypted bin/xxdiff-find-grep-sed bin/xxdiff-match + doman src/xxdiff.1 + dodoc README CHANGES TODO +} |