From: Michael Palimaka Date: Sat, 4 Mar 2017 07:08:53 +0000 (+1100) Subject: app-editors/qxmledit: version bump 0.9.6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98c929cb8776bde5f4e027b430880c2b42706537;p=gentoo.git app-editors/qxmledit: version bump 0.9.6 Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest index c446bef87b50..58702fd30864 100644 --- a/app-editors/qxmledit/Manifest +++ b/app-editors/qxmledit/Manifest @@ -1 +1,2 @@ DIST qxmledit-0.9.5-src.tgz 19653021 SHA256 ac6341f1ceb004e64e070c6e99b5c3be3cfdf7d81a5556e79d99beb2f9eab43f SHA512 d54672af9154dcae4486b72a14024f23bcec834dae9c6ec082496b532d750d2411f64ae0dfbd66da7817027e2f4cd6ed1bc7e065ceb822ef2e4d60d14a308609 WHIRLPOOL 37e32dcca088693d5ffb591e812a93b3d8815eaab341a45d5c2a0278c0db18dc9788593ed7dd8ca8411d5d0ac1034c8a0dac8bd9c1b3a09fe22697dd97716d98 +DIST qxmledit-0.9.6-src.tgz 22661917 SHA256 46928b059d9c00c96d98a5ab0bb6249abdd9225b2bbf280bbb8e0f54a894e964 SHA512 d2cf6ae630a84305b10d4a362859500b52e4d6e03e4f1852b953178ac023a13eb9e90f8da8cf6633dcf5a3cfbf5a44affb69465eb91240ccc22b0256100a685f WHIRLPOOL 784362b4738bc5606f942a48a1dfade4a264227c4feb2597bdfa10759b1c96e68ec824ca56550a20c5322d790ce7b82728c1ca4d774370fcbbbbc5dfa3953846 diff --git a/app-editors/qxmledit/qxmledit-0.9.6.ebuild b/app-editors/qxmledit/qxmledit-0.9.6.ebuild new file mode 100644 index 000000000000..c273c304e80d --- /dev/null +++ b/app-editors/qxmledit/qxmledit-0.9.6.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/qtscxml: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 +}