Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/qxmledit: qxmledit-0.8.3.1.ebuild ChangeLog
Date: Mon, 29 Oct 2012 10:36:56
Message-Id: 20121029103645.BD41821600@flycatcher.gentoo.org
1 yngwin 12/10/29 10:36:45
2
3 Modified: ChangeLog
4 Added: qxmledit-0.8.3.1.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.35 app-editors/qxmledit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/qxmledit/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/qxmledit/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/qxmledit/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-editors/qxmledit/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 27 Sep 2012 20:09:19 -0000 1.34
24 +++ ChangeLog 29 Oct 2012 10:36:45 -0000 1.35
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-editors/qxmledit
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/ChangeLog,v 1.34 2012/09/27 20:09:19 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/ChangeLog,v 1.35 2012/10/29 10:36:45 yngwin Exp $
30 +
31 +*qxmledit-0.8.3.1 (29 Oct 2012)
32 +
33 + 29 Oct 2012; Ben de Groot <yngwin@g.o> +qxmledit-0.8.3.1.ebuild:
34 + Version bump
35
36 *qxmledit-0.8.3 (27 Sep 2012)
37
38
39
40
41 1.1 app-editors/qxmledit/qxmledit-0.8.3.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/qxmledit/qxmledit-0.8.3.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/qxmledit/qxmledit-0.8.3.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qxmledit-0.8.3.1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.8.3.1.ebuild,v 1.1 2012/10/29 10:36:45 yngwin Exp $
51
52 EAPI=4
53
54 inherit multilib eutils qt4-r2
55
56 MY_P="qxmledit-${PV}-src"
57
58 DESCRIPTION="Qt4 XML Editor"
59 HOMEPAGE="http://code.google.com/p/qxmledit/"
60 SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
61
62 LICENSE="LGPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="debug"
66
67 DEPEND=">=x11-libs/qt-core-4.7:4
68 >=x11-libs/qt-gui-4.7:4
69 >=x11-libs/qt-sql-4.7:4
70 >=x11-libs/qt-svg-4.7:4
71 >=x11-libs/qt-xmlpatterns-4.7:4"
72 RDEPEND="${DEPEND}"
73
74 DOCS="AUTHORS NEWS README ROADMAP TODO"
75
76 src_prepare() {
77 # fix doc dir
78 sed -i "/INST_DOC_DIR = / s|/opt/${PN}|/usr/share/doc/${PF}|" \
79 src/QXmlEdit{,Widget}.pro src/sessions/QXmlEditSessions.pro || \
80 die "failed to fix doc installation path"
81 # fix binary installation path
82 sed -i "/INST_DIR = / s|/opt/${PN}|/usr/bin|" \
83 src/QXmlEdit{,Widget}.pro src/sessions/QXmlEditSessions.pro || \
84 die "failed to fix binary installation path"
85 # fix helper libraries installation path
86 sed -i "/INST_LIB_DIR = / s|/opt/${PN}|/usr/$(get_libdir)|" \
87 src/QXmlEdit{,Widget}.pro \
88 src/sessions/QXmlEditSessions.pro || \
89 die "failed to fix library installation path"
90 # fix translations
91 sed -i "/INST_DATA_DIR = / s|/opt|/usr/share|" src/QXmlEdit{,Widget}.pro \
92 src/sessions/QXmlEditSessions.pro || \
93 die "failed to fix translations"
94 # fix include
95 sed -i "/INST_INCLUDE_DIR = / s|/opt|/usr/share|" src/QXmlEditWidget.pro \
96 || die "failed to fix include directory"
97
98 qt4-r2_src_prepare
99 }
100
101 src_install() {
102 qt4-r2_src_install
103
104 newicon src/images/icon.png ${PN}.png
105 make_desktop_entry QXmlEdit QXmlEdit ${PN} "Qt;Utility;TextEditor"
106 }