summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-06-09 21:49:46 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-06-09 21:50:24 +1000
commit56de8d7cd41ab7b0f984c440b896dd96b097e140 (patch)
treefad2ab3b0d4bfb0ecc372e3f68d6c883ab157b4a /app-editors
parentnet-fs/samba: Bump to version 4.4.4 (diff)
downloadgentoo-56de8d7cd41ab7b0f984c440b896dd96b097e140.tar.gz
gentoo-56de8d7cd41ab7b0f984c440b896dd96b097e140.tar.bz2
gentoo-56de8d7cd41ab7b0f984c440b896dd96b097e140.zip
app-editors/qxmledit: version bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/qxmledit/Manifest1
-rw-r--r--app-editors/qxmledit/qxmledit-0.9.4.ebuild81
2 files changed, 82 insertions, 0 deletions
diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest
index 7eba97d2cfc3..4ae0919de379 100644
--- a/app-editors/qxmledit/Manifest
+++ b/app-editors/qxmledit/Manifest
@@ -1 +1,2 @@
DIST qxmledit-0.9.3-src.tgz 17564710 SHA256 f4f1e305712ca033d8fe9cef8ddce6a94fd4deffd9e723c1734786e18a49fc50 SHA512 b7377c73d2e2aff1670e94c8c86c146e85d70841c638878f6be17ff939167c7d17f28095d4929388212380957cd4e3537450549827d8a8b239f5510f27e01afa WHIRLPOOL 214662e68d42c86745524278ac5809e6beb3d7e36ecffa4e6041447c521b733a97673adb93f00ab8513be870bfdb12a3adb950f8238bab15591993f3677373c2
+DIST qxmledit-0.9.4-src.tgz 18834064 SHA256 ef78d66c6214a1af2d95ea98c441cad5be91e3064faca4bf9edef952ed6d0133 SHA512 ff479ca8930bd2cbeaa26d09eeafcdff4520f0e62c79c8f8c854ed119967a3c11555a5aa8f92edda2be53adb6d6511c6ebb8e2aeb274a922964eed4fd9e0b056 WHIRLPOOL 9917e8b205dad00d2150afa4c3b660454fa529cf347b937a55b905295c37977221854b8b4ea76701f57d4ceb9289be245bcdde4c294168062eee2a0fafa62164
diff --git a/app-editors/qxmledit/qxmledit-0.9.4.ebuild b/app-editors/qxmledit/qxmledit-0.9.4.ebuild
new file mode 100644
index 000000000000..ea977c5bc3a1
--- /dev/null
+++ b/app-editors/qxmledit/qxmledit-0.9.4.ebuild
@@ -0,0 +1,81 @@
+# 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="qt5"
+
+DEPEND="
+ qt5? (
+ 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
+ )
+ !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="${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}"
+
+ 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
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}