public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/qxmledit/
Date: Sat, 27 Feb 2016 03:10:51 +0000 (UTC)	[thread overview]
Message-ID: <1456542549.4fc96fc0a4017b0c5efa3b791ccb62388dcc6a59.pesa@gentoo> (raw)

commit:     4fc96fc0a4017b0c5efa3b791ccb62388dcc6a59
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 03:07:11 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 03:09:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc96fc0

app-editors/qxmledit: version bump, rewritten ebuild, qt5 support

Also fix bug 568746, migrate to EAPI 6, and update metadata.xml

Package-Manager: portage-2.2.27

 app-editors/qxmledit/Manifest              |  1 +
 app-editors/qxmledit/metadata.xml          | 12 ++---
 app-editors/qxmledit/qxmledit-0.9.2.ebuild | 70 ++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+), 6 deletions(-)

diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest
index 6ea697a..42db2b8 100644
--- a/app-editors/qxmledit/Manifest
+++ b/app-editors/qxmledit/Manifest
@@ -1 +1,2 @@
 DIST qxmledit-0.8.8-1-src.tgz 8885329 SHA256 d43ccd0029b1094a970d58170a095cbe5fddfe3d93da7c52388783d321386e17 SHA512 5440d33c052507d3b5c840cdd2966c151a77e2027703f7c1d33f80ec786affab915053d2ae17ef72fd856223ca85dbb70d39d8800170449a26ea88632c0069b5 WHIRLPOOL 68f8d73c39ce490f13d88283053ad045125f007132a25d965ffb603ab1de1d42b62944659a76aa9bbb5adc884b37ad90f7eaf4487f314678d8a1923cd16f1078
+DIST qxmledit-0.9.2-src.tgz 16697023 SHA256 14b8b47f00cf8ea031a0066c928cf8888a3b0d885627ed7f45c6d455be8bd531 SHA512 1cef025ded878e8ad4a33af7f22caf4b157a93e30a6fe863d80ef8c32ca6c9f080e3e4212d1db6a18e647ca111afba796b77f13c2dbc65b18d498fb977504c93 WHIRLPOOL 07fc283720a7427f352fac086770f07e921c20f66ead80fd1b0729be5afc6a01d0c437973dc6c85a61c22f3dabdc9eba2c9b9bf1721e859f0a23cc0cd60900a7

diff --git a/app-editors/qxmledit/metadata.xml b/app-editors/qxmledit/metadata.xml
index 98810ff..cfde07d 100644
--- a/app-editors/qxmledit/metadata.xml
+++ b/app-editors/qxmledit/metadata.xml
@@ -10,13 +10,13 @@
 		<name>Gentoo Qt Project</name>
 	</maintainer>
 	<longdescription lang="en">
-		QXmlEdit is a simple XML editor written in Qt4. Its main
-		features are unusual data visualization modes, it has some
-		nice XML manipulation and presentation features and it is
-		multi-platform. This is one of the few graphical Open Source
-		XSD viewer.
+		QXmlEdit is a simple XML editor based on Qt libraries. Its main features are
+		unusual data visualization modes, nice XML manipulation and presentation
+		features, and it is multi-platform. It can split very big XML files into
+		fragments, and compare XML files. It is one of the few graphical Open Source
+		XSD viewers.
 	</longdescription>
 	<upstream>
-		<remote-id type="google-code">qxmledit</remote-id>
+		<remote-id type="sourceforge">qxmledit</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/app-editors/qxmledit/qxmledit-0.9.2.ebuild b/app-editors/qxmledit/qxmledit-0.9.2.ebuild
new file mode 100644
index 0000000..c417cbf
--- /dev/null
+++ b/app-editors/qxmledit/qxmledit-0.9.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils qmake-utils
+
+DESCRIPTION="Qt4 XML Editor"
+HOMEPAGE="http://qxmledit.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt5"
+
+DEPEND="
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtnetwork:5
+		dev-qt/qtprintsupport:5
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qtwidgets:5
+		dev-qt/qtxml:5
+		dev-qt/qtxmlpatterns:5
+	)
+	!qt5? (
+		dev-qt/qtcore:4
+		dev-qt/qtgui:4
+		dev-qt/qtsql:4
+		dev-qt/qtsvg:4
+		dev-qt/qtxmlpatterns:4
+	)"
+RDEPEND="${DEPEND}"
+
+DOCS=(AUTHORS NEWS README)
+
+src_prepare() {
+	default
+
+	# bug 568746
+	sed -i -e '/QMAKE_CXXFLAGS/s:-Werror::' \
+		src/{QXmlEdit,QXmlEditWidget,sessions/QXmlEditSessions}.pro || die
+}
+
+src_configure() {
+	export \
+		QXMLEDIT_INST_DIR="/usr/bin" \
+		QXMLEDIT_INST_LIB_DIR="/usr/$(get_libdir)" \
+		QXMLEDIT_INST_INCLUDE_DIR="/usr/include/${PN}" \
+		QXMLEDIT_INST_DATA_DIR="/usr/share/${PN}" \
+		QXMLEDIT_INST_DOC_DIR="/usr/share/doc/${PF}" \
+		QXMLEDIT_INST_TRANSLATIONS_DIR="/usr/share/${PN}/translations"
+
+	if use qt5; then
+		eqmake5
+	else
+		eqmake4
+	fi
+}
+
+src_install() {
+	emake INSTALL_ROOT="${D}" install
+	doicon install_scripts/environment/icon/qxmledit.png
+	domenu install_scripts/environment/desktop/QXmlEdit.desktop
+	einstalldocs
+}


             reply	other threads:[~2016-02-27  3:11 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27  3:10 Davide Pesavento [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-05 19:54 [gentoo-commits] repo/gentoo:master commit in: app-editors/qxmledit/ Petr Vaněk
2024-06-06 17:28 Arthur Zamarin
2024-06-06 16:58 Arthur Zamarin
2024-02-23 11:49 Arthur Zamarin
2024-02-23 11:20 Arthur Zamarin
2024-02-22 20:16 Arthur Zamarin
2019-08-12  6:16 Andreas Sturmlechner
2019-08-11 21:30 Thomas Deutschmann
2019-08-08  7:43 Agostino Sarubbo
2019-03-07 13:13 Michael Palimaka
2019-03-07 13:13 Michael Palimaka
2019-03-07 13:13 Michael Palimaka
2018-06-30  1:52 Michael Palimaka
2018-01-25 14:06 Michael Palimaka
2017-12-22  9:57 Michael Palimaka
2017-09-30  7:22 Michael Palimaka
2017-09-11 12:17 Michael Palimaka
2017-09-11 12:17 Michael Palimaka
2017-09-11 12:17 Michael Palimaka
2017-09-11 12:17 Michael Palimaka
2017-09-11 12:17 Michael Palimaka
2017-09-11 12:17 Michael Palimaka
2017-06-18 11:04 Michael Palimaka
2017-03-04  7:09 Michael Palimaka
2017-01-26 14:55 Michael Palimaka
2017-01-26 14:53 Agostino Sarubbo
2017-01-26 14:45 Agostino Sarubbo
2016-11-12 13:38 Michael Palimaka
2016-08-11 14:38 Michael Palimaka
2016-08-11 14:38 Michael Palimaka
2016-06-09 11:50 Michael Palimaka
2016-06-08 15:54 Michael Palimaka
2016-06-08 15:54 Michael Palimaka
2016-06-07 23:45 Davide Pesavento
2016-06-06 16:15 Agostino Sarubbo
2016-05-30 16:04 Davide Pesavento
2016-05-30 16:04 Davide Pesavento
2016-04-02 19:02 Davide Pesavento
2015-12-15 17:55 Michael Palimaka
2015-09-01 18:38 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456542549.4fc96fc0a4017b0c5efa3b791ccb62388dcc6a59.pesa@gentoo \
    --to=pesa@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox