diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2012-03-30 08:39:22 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2012-03-30 08:39:22 +0000 |
commit | 32669fce242fe37f6a97a6458cb32de65d711f2d (patch) | |
tree | 6d6115b6c7e4d6dbf95b13f74e944b20f16bae4f /net-misc/qtnx | |
parent | punt this already (diff) | |
download | gentoo-2-32669fce242fe37f6a97a6458cb32de65d711f2d.tar.gz gentoo-2-32669fce242fe37f6a97a6458cb32de65d711f2d.tar.bz2 gentoo-2-32669fce242fe37f6a97a6458cb32de65d711f2d.zip |
Migrate to qt4-r2 eclass, thanks Michael Kensington in bug #410169
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/qtnx')
-rw-r--r-- | net-misc/qtnx/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/qtnx/qtnx-0.9.ebuild | 19 |
2 files changed, 12 insertions, 14 deletions
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 <voyageur@gentoo.org> qtnx-0.9.ebuild: + Migrate to qt4-r2 eclass, thanks Michael Kensington in bug #410169 06 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> 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 |