From bd8bc4990616ece2ba2f37eb481479d274b91fab Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 21 Dec 2009 15:36:04 +0000 Subject: Migrate to qt4-r2 eclass. Remove old ebuild Package-Manager: portage-2.2_rc60/cvs/Linux x86_64 --- app-editors/qxmledit/ChangeLog | 8 ++++- app-editors/qxmledit/Manifest | 4 +-- app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild | 37 ++++++++++++++++++++++ app-editors/qxmledit/qxmledit-0.3.0.ebuild | 44 --------------------------- 4 files changed, 46 insertions(+), 47 deletions(-) create mode 100644 app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild delete mode 100644 app-editors/qxmledit/qxmledit-0.3.0.ebuild (limited to 'app-editors/qxmledit') diff --git a/app-editors/qxmledit/ChangeLog b/app-editors/qxmledit/ChangeLog index d0b60473f7cf..e6f1a00fdc4e 100644 --- a/app-editors/qxmledit/ChangeLog +++ b/app-editors/qxmledit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/qxmledit # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/ChangeLog,v 1.1 2009/06/09 23:29:28 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/ChangeLog,v 1.2 2009/12/21 15:36:04 hwoarang Exp $ + +*qxmledit-0.3.0-r1 (21 Dec 2009) + + 21 Dec 2009; -qxmledit-0.3.0.ebuild, + +qxmledit-0.3.0-r1.ebuild: + Migrate to qt4-r2 eclass. Remove old ebuild to 'force' testing *qxmledit-0.3.0 (09 Jun 2009) diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest index 1b7d831b09e5..4408f63eefdf 100644 --- a/app-editors/qxmledit/Manifest +++ b/app-editors/qxmledit/Manifest @@ -1,4 +1,4 @@ DIST qxmledit-src-0.3.0.tgz 51763 RMD160 4147ab797a749940d40d08390adf5306f643aa93 SHA1 746a7efde407935da7a0dce26f9dde17c4a9b31d SHA256 1fb0933e4bc92edbd92ac9710b5cbe575edf46d79eb188bb6e17e43e6006d756 -EBUILD qxmledit-0.3.0.ebuild 1041 RMD160 3119ef57a18a517957b41d64edba28bc267d7764 SHA1 b21c41ce9c0b5c4e10f9b942c57933087d136678 SHA256 c47345685cb76d243398617c9c4d8a92ac7d2d00d70d8fae997c271e1528b0e2 -MISC ChangeLog 382 RMD160 3cacdcf647f65ccfe4e029a72682edd1a5991464 SHA1 a917b0d76ae65b39277ed0fc2ac2579486a97473 SHA256 a9a03114a9b880fc8e01021ead5a025a7bd288cab1a385e8ddfb6fe4a1a5e3cc +EBUILD qxmledit-0.3.0-r1.ebuild 923 RMD160 7a201e7dc446dc4949e08a9f331cf1199a3220ee SHA1 568635dd2f4ccba4b2da3ec66e8cc03834e5a169 SHA256 d35eaf0d805494e6f7ad49cbd36b3e8de357abaa500b56ed331d59240e6019f6 +MISC ChangeLog 572 RMD160 9c7d9ae52014ece851fbd27d45113df055f788ea SHA1 5f9eac8d09f2936dc14082b029fdb84b54440c7b SHA256 dbffec07cf8c13224d781f1935eb2d271da15dd9529cb4ac4de4058301c55d2f MISC metadata.xml 294 RMD160 ac4e1baa0a1839ae0a807a9d4b915134788d6aa1 SHA1 82865de14486cb30dc9ebfe6f1aecc9c86c0075b SHA256 209af586ae032f00659b69da17d4186854660be14b244d31aa0bea2005c2c5ba diff --git a/app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild b/app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild new file mode 100644 index 000000000000..2404165316d4 --- /dev/null +++ b/app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.3.0-r1.ebuild,v 1.1 2009/12/21 15:36:04 hwoarang Exp $ + +EAPI="2" + +inherit qt4-r2 + +MY_PN="${PN}-src" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Qt4 XML Editor" +HOMEPAGE="http://code.google.com/p/qxmledit/" +SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND="x11-libs/qt-gui:4" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}/src/" + +DOCS="AUTHORS NEWS README TODO" +DOCSDIR="${WORKDIR}/${P}/" + +src_prepare(){ + # fix installation path + sed -i "/^target.path/ s/\/opt\/${PN}/\/usr\/bin/" QXmlEdit.pro || \ + die "failed to fix installation path" + # fix translations + sed -i "/^translations.path/ s/\/opt/\/usr\/share/" QXmlEdit.pro || \ + die "failed to fix translations" + qt4-r2_src_prepare +} diff --git a/app-editors/qxmledit/qxmledit-0.3.0.ebuild b/app-editors/qxmledit/qxmledit-0.3.0.ebuild deleted file mode 100644 index ac941409831c..000000000000 --- a/app-editors/qxmledit/qxmledit-0.3.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.3.0.ebuild,v 1.1 2009/06/09 23:29:28 hwoarang Exp $ - -EAPI="2" - -inherit qt4 - -MY_PN="${PN}-src" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Qt4 XML Editor" -HOMEPAGE="http://code.google.com/p/qxmledit/" -SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -DEPEND="x11-libs/qt-gui:4" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${P}/src/" - -src_prepare(){ - # fix installation path - sed -i "/^target.path/ s/\/opt\/${PN}/\/usr\/bin/" QXmlEdit.pro || \ - die "failed to fix installation path" - # fix translations - sed -i "/^translations.path/ s/\/opt/\/usr\/share/" QXmlEdit.pro || \ - die "failed to fix translations" - qt4_src_prepare -} - -src_configure(){ - eqmake4 QXmlEdit.pro -} - -src_install(){ - emake INSTALL_ROOT="${D}" install || die "emake install failed" - cd ../ - dodoc AUTHORS NEWS README TODO || die "dodoc failed" -} -- cgit v1.2.3-65-gdbad