1 |
commit: 258f9166305b318f1688b15ca3eabc0ba9cdcdcc |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 4 13:40:21 2012 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 4 13:40:21 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=258f9166 |
7 |
|
8 |
[app-editors/qxmledit] EAPI 4 |
9 |
|
10 |
(Portage version: 2.2.0_alpha84/git/Linux i686, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
app-editors/qxmledit/qxmledit-9999.ebuild | 15 +++++---------- |
14 |
1 files changed, 5 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/qxmledit/qxmledit-9999.ebuild b/app-editors/qxmledit/qxmledit-9999.ebuild |
17 |
index eaf5bee..e3e0128 100644 |
18 |
--- a/app-editors/qxmledit/qxmledit-9999.ebuild |
19 |
+++ b/app-editors/qxmledit/qxmledit-9999.ebuild |
20 |
@@ -1,17 +1,14 @@ |
21 |
-# Copyright 1999-2010 Gentoo Foundation |
22 |
+# Copyright 1999-2012 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
# $Header: $ |
25 |
|
26 |
-EAPI="2" |
27 |
+EAPI=4 |
28 |
|
29 |
inherit qt4-edge subversion |
30 |
|
31 |
-MY_PN="${PN}-src" |
32 |
-MY_P="${MY_PN}-${PV}" |
33 |
- |
34 |
DESCRIPTION="Qt4 XML Editor" |
35 |
HOMEPAGE="http://code.google.com/p/qxmledit/" |
36 |
-ESVN_REPO_URI="http://qxmledit.googlecode.com/svn/trunk/" |
37 |
+ESVN_REPO_URI="http://${PN}.googlecode.com/svn/trunk/" |
38 |
|
39 |
LICENSE="GPL-2" |
40 |
SLOT="0" |
41 |
@@ -21,13 +18,11 @@ IUSE="debug" |
42 |
DEPEND="x11-libs/qt-gui:4" |
43 |
RDEPEND="${DEPEND}" |
44 |
|
45 |
+DOCS=( AUTHORS NEWS README TODO ) |
46 |
DOCSDIR="${WORKDIR}/${P}" |
47 |
-DOCS="AUTHORS NEWS README TODO" |
48 |
|
49 |
src_prepare(){ |
50 |
subversion_src_prepare |
51 |
- # workaround for b0rked subversion eclass |
52 |
- S="${WORKDIR}/${P}/src" |
53 |
# fix installation path |
54 |
sed -i "/^target.path/ s/\/opt\/${PN}/\/usr\/bin/" src/QXmlEdit.pro || \ |
55 |
die "failed to fix installation path" |
56 |
@@ -39,6 +34,6 @@ src_prepare(){ |
57 |
|
58 |
src_install(){ |
59 |
qt4-edge_src_install |
60 |
- newicon "${S}"/images/icon.png ${PN}.png |
61 |
+ newicon "${S}"/src/images/icon.png ${PN}.png |
62 |
make_desktop_entry QXmlEdit QXmlEdit ${PN} "Qt;Utility;TextEditor;" |
63 |
} |