From 32669fce242fe37f6a97a6458cb32de65d711f2d Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Fri, 30 Mar 2012 08:39:22 +0000 Subject: Migrate to qt4-r2 eclass, thanks Michael Kensington in bug #410169 (Portage version: 2.2.0_alpha96/cvs/Linux x86_64) --- net-misc/qtnx/ChangeLog | 7 +++++-- net-misc/qtnx/qtnx-0.9.ebuild | 19 +++++++------------ 2 files changed, 12 insertions(+), 14 deletions(-) (limited to 'net-misc/qtnx') diff --git a/net-misc/qtnx/ChangeLog b/net-misc/qtnx/ChangeLog index 179b2fc3a2d8..8bf92cdb98f2 100644 --- a/net-misc/qtnx/ChangeLog +++ b/net-misc/qtnx/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/qtnx -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/qtnx/ChangeLog,v 1.6 2009/10/06 17:25:09 ayoy Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/qtnx/ChangeLog,v 1.7 2012/03/30 08:39:22 voyageur Exp $ + + 30 Mar 2012; Bernard Cafarelli qtnx-0.9.ebuild: + Migrate to qt4-r2 eclass, thanks Michael Kensington in bug #410169 06 Oct 2009; Dominik Kapusta qtnx-0.9.ebuild: Removed alternative dependency on Qt metapackage diff --git a/net-misc/qtnx/qtnx-0.9.ebuild b/net-misc/qtnx/qtnx-0.9.ebuild index 5f3fa067e757..3ad519fec699 100644 --- a/net-misc/qtnx/qtnx-0.9.ebuild +++ b/net-misc/qtnx/qtnx-0.9.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/qtnx/qtnx-0.9.ebuild,v 1.5 2009/10/06 17:25:09 ayoy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/qtnx/qtnx-0.9.ebuild,v 1.6 2012/03/30 08:39:22 voyageur Exp $ -EAPI="1" -inherit qt4 +EAPI="4" +inherit qt4-r2 MY_P="freenx-client-${PV}" + DESCRIPTION="A Qt-based NX client using nxcl" HOMEPAGE="http://developer.berlios.de/projects/freenx/" SRC_URI="mirror://berlios/freenx/${MY_P}.tar.bz2" @@ -19,19 +20,13 @@ DEPEND="net-misc/nxcl x11-libs/qt-core:4 x11-libs/qt-gui:4" RDEPEND="${DEPEND}" + S="${WORKDIR}/${MY_P}/${PN}" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i -e "s#id\.key#/usr/share/${PN}/id.key#" qtnxwindow.cpp || die "sed failed" } -src_compile() { - eqmake4 - emake || die "Make failed" -} - src_install() { dobin ${PN} dodoc README -- cgit v1.2.3-65-gdbad