summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-11-13 00:38:07 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-11-13 00:38:19 +1100
commit10c24effe21ced678db6dbf65560ab5308d06a39 (patch)
tree91c9b23d2bcbafb20aee6a9bee2d564fd074650c /app-editors
parentdev-python/qtconsole: Fix test dependencies. (diff)
downloadgentoo-10c24effe21ced678db6dbf65560ab5308d06a39.tar.gz
gentoo-10c24effe21ced678db6dbf65560ab5308d06a39.tar.bz2
gentoo-10c24effe21ced678db6dbf65560ab5308d06a39.zip
app-editors/qxmledit: version bump
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/qxmledit/Manifest1
-rw-r--r--app-editors/qxmledit/qxmledit-0.9.5.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest
index f3f095eedfe9..82dfa3b2c26e 100644
--- a/app-editors/qxmledit/Manifest
+++ b/app-editors/qxmledit/Manifest
@@ -1 +1,2 @@
DIST qxmledit-0.9.4-src.tgz 18834064 SHA256 ef78d66c6214a1af2d95ea98c441cad5be91e3064faca4bf9edef952ed6d0133 SHA512 ff479ca8930bd2cbeaa26d09eeafcdff4520f0e62c79c8f8c854ed119967a3c11555a5aa8f92edda2be53adb6d6511c6ebb8e2aeb274a922964eed4fd9e0b056 WHIRLPOOL 9917e8b205dad00d2150afa4c3b660454fa529cf347b937a55b905295c37977221854b8b4ea76701f57d4ceb9289be245bcdde4c294168062eee2a0fafa62164
+DIST qxmledit-0.9.5-src.tgz 19653021 SHA256 ac6341f1ceb004e64e070c6e99b5c3be3cfdf7d81a5556e79d99beb2f9eab43f SHA512 d54672af9154dcae4486b72a14024f23bcec834dae9c6ec082496b532d750d2411f64ae0dfbd66da7817027e2f4cd6ed1bc7e065ceb822ef2e4d60d14a308609 WHIRLPOOL 37e32dcca088693d5ffb591e812a93b3d8815eaab341a45d5c2a0278c0db18dc9788593ed7dd8ca8411d5d0ac1034c8a0dac8bd9c1b3a09fe22697dd97716d98
diff --git a/app-editors/qxmledit/qxmledit-0.9.5.ebuild b/app-editors/qxmledit/qxmledit-0.9.5.ebuild
new file mode 100644
index 000000000000..e3214086c1f0
--- /dev/null
+++ b/app-editors/qxmledit/qxmledit-0.9.5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils fdo-mime qmake-utils
+
+DESCRIPTION="Simple Qt-based XML editor"
+HOMEPAGE="http://qxmledit.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl: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
+"
+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="${EPREFIX}/usr/bin" \
+ QXMLEDIT_INST_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
+ QXMLEDIT_INST_INCLUDE_DIR="${EPREFIX}/usr/include/${PN}" \
+ QXMLEDIT_INST_DATA_DIR="${EPREFIX}/usr/share/${PN}" \
+ QXMLEDIT_INST_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
+
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ doicon install_scripts/environment/icon/qxmledit.png
+ domenu install_scripts/environment/desktop/QXmlEdit.desktop
+ einstalldocs
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}