summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-02-08 18:38:21 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-02-08 18:38:21 +0000
commit410bef334dd4f3dcd5acde6111d719e6fb1abe32 (patch)
treebf693f920da54cee299f21eec25e87a5816f5a1b /app-editors/qxmledit
parentChange USE=lzma to USE=xz now that upstream calls it that way (bug #400939). (diff)
downloadgentoo-2-410bef334dd4f3dcd5acde6111d719e6fb1abe32.tar.gz
gentoo-2-410bef334dd4f3dcd5acde6111d719e6fb1abe32.tar.bz2
gentoo-2-410bef334dd4f3dcd5acde6111d719e6fb1abe32.zip
Version bump. Thanks to Michael (kensington) <gentoo@scribeofthenile.com>. Bug #402615
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/qxmledit')
-rw-r--r--app-editors/qxmledit/ChangeLog8
-rw-r--r--app-editors/qxmledit/qxmledit-0.7.0.ebuild49
2 files changed, 56 insertions, 1 deletions
diff --git a/app-editors/qxmledit/ChangeLog b/app-editors/qxmledit/ChangeLog
index 17e7d91d70e0..9174d6670c67 100644
--- a/app-editors/qxmledit/ChangeLog
+++ b/app-editors/qxmledit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/qxmledit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/ChangeLog,v 1.16 2012/02/03 14:53:00 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/ChangeLog,v 1.17 2012/02/08 18:38:21 hwoarang Exp $
+
+*qxmledit-0.7.0 (08 Feb 2012)
+
+ 08 Feb 2012; Markos Chandras <hwoarang@gentoo.org> +qxmledit-0.7.0.ebuild:
+ Version bump. Thanks to Michael (kensington) <gentoo@scribeofthenile.com>. Bug
+ #402615
03 Feb 2012; Agostino Sarubbo <ago@gentoo.org> qxmledit-0.4.9.ebuild:
Stable for amd64, wrt bug #396793
diff --git a/app-editors/qxmledit/qxmledit-0.7.0.ebuild b/app-editors/qxmledit/qxmledit-0.7.0.ebuild
new file mode 100644
index 000000000000..9165152ae3bf
--- /dev/null
+++ b/app-editors/qxmledit/qxmledit-0.7.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.7.0.ebuild,v 1.1 2012/02/08 18:38:21 hwoarang Exp $
+
+EAPI=4
+
+inherit multilib qt4-r2
+
+MY_P="qxmledit-${PV}-src"
+
+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-core:4
+ x11-libs/qt-gui:4
+ x11-libs/qt-svg:4
+ x11-libs/qt-xmlpatterns:4"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS NEWS README TODO"
+DOCSDIR="${WORKDIR}/${P}/"
+
+src_prepare() {
+ # fix doc dir
+ sed -i "/^INST_DOC_DIR/ s|/opt/${PN}|/usr/share/doc/${PF}|" src/QXmlEdit.pro || \
+ die "failed to fix installation path"
+ # fix installation path
+ sed -i "/^INST_DIR/ s|/opt/${PN}|/usr/bin|" src/QXmlEdit.pro || \
+ die "failed to fix installation path"
+ # fix widget library
+ sed -i "/^INST_DIR/ s|/opt/${PN}|/usr/$(get_libdir)|" \
+ src/QXmlEditWidget.pro || die "failed to fix library installation path"
+ # fix translations
+ sed -i "/^INST_DATA_DIR/ s|/opt|/usr/share|" src/QXmlEdit{,Widget}.pro || \
+ die "failed to fix translations"
+ qt4-r2_src_prepare
+}
+
+src_install() {
+ qt4-r2_src_install
+ newicon src/images/icon.png ${PN}.png
+ make_desktop_entry QXmlEdit QXmlEdit ${PN} "Qt;Utility;TextEditor"
+}