Gentoo Archives: gentoo-commits

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