summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-09-30 16:55:35 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-09-30 17:22:15 +1000
commit34a9848799c81dbd4f923f6286180a3b88804ba1 (patch)
tree4257299771bcd394ff4062608522ac10dac6e424 /app-editors
parentprofiles: mask net-misc/dnetstats for removal (diff)
downloadgentoo-34a9848799c81dbd4f923f6286180a3b88804ba1.tar.gz
gentoo-34a9848799c81dbd4f923f6286180a3b88804ba1.tar.bz2
gentoo-34a9848799c81dbd4f923f6286180a3b88804ba1.zip
app-editors/qxmledit: version bump 0.9.8
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/qxmledit/Manifest1
-rw-r--r--app-editors/qxmledit/qxmledit-0.9.8.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest
index 1af7f3a5e5a2..79d27fa1c929 100644
--- a/app-editors/qxmledit/Manifest
+++ b/app-editors/qxmledit/Manifest
@@ -1 +1,2 @@
DIST qxmledit-0.9.7-1-src.tgz 20151952 SHA256 bcb694f01db5e4f4bedec81f823d498c6270f78da6a0c5963c52956f6c81c443 SHA512 c2304c0d46925f36ae2e411bae805406df60339bbce1f030ebbbe42b203133770ff011cb9751e79ac6807f21425e73f3f66f7081a5b14d6701522c2aa1e9a9df WHIRLPOOL 6f037cc63ec40446bee41e9eab8646f2c349bc3525d01c5e5cce417932b3020e1b79da71f356f64bac963bfb063a34ea0a3b44b8f17d051b8b4509a09172be3f
+DIST qxmledit-0.9.8-src.tgz 22814833 SHA256 a24cf4439ab4676cd375669b3b2c9e47ac7e859835a803013ea35b15942ef210 SHA512 41caf161de1efd3c210104f362b1ef50ecfbec0c50d4efc98aae03f40ee0c8f51f0b8c322b3017b797f19c7ed668b456a850dea0b4adf7106557eeb9ea58a78e WHIRLPOOL 12e8a30e4072c530c52a316ed834d9f32389b38a561f8c60aa2ec5e5b79fbef29cbadae21a850fc801e35ccb0e45514d5e4c3ef5bcb77321d23b564061f27b1c
diff --git a/app-editors/qxmledit/qxmledit-0.9.8.ebuild b/app-editors/qxmledit/qxmledit-0.9.8.ebuild
new file mode 100644
index 000000000000..75018c0bb845
--- /dev/null
+++ b/app-editors/qxmledit/qxmledit-0.9.8.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils xdg-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/qtscxml:5
+ dev-qt/qtsql:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dev-qt/qtxmlpatterns:5
+ media-libs/glu
+ virtual/opengl
+"
+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
+
+ # bug 629624
+ sed -i -e 's/LIBS += -lGL -lGLU -lglut/LIBS += -lGL -lGLU/' \
+ src/QXmlEdit.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}"
+
+ # avoid internal compiler errors
+ use x86 && export QXMLEDIT_INST_AVOID_PRECOMP_HEADERS=Y
+
+ 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() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}