diff options
author | Michael Palimaka <kensington@gentoo.org> | 2018-06-30 11:51:56 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-06-30 11:52:07 +1000 |
commit | 6bd4735dd11b07ce338bbbdb677f251b23c3199e (patch) | |
tree | d909c3817c89aa44e2fdb7f101f42901f1c3776d /app-editors/qxmledit | |
parent | x11-misc/screengrab: version bump 1.98 (diff) | |
download | gentoo-6bd4735dd11b07ce338bbbdb677f251b23c3199e.tar.gz gentoo-6bd4735dd11b07ce338bbbdb677f251b23c3199e.tar.bz2 gentoo-6bd4735dd11b07ce338bbbdb677f251b23c3199e.zip |
app-editors/qxmledit: version bump 0.9.10
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-editors/qxmledit')
-rw-r--r-- | app-editors/qxmledit/Manifest | 1 | ||||
-rw-r--r-- | app-editors/qxmledit/qxmledit-0.9.10.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest index f8a2a964f38d..182ccd901bca 100644 --- a/app-editors/qxmledit/Manifest +++ b/app-editors/qxmledit/Manifest @@ -1,3 +1,4 @@ +DIST qxmledit-0.9.10-src.tgz 21105988 BLAKE2B 6d1f4dcc8b3c2fdd5ef12b5e426dc32ada24c104387f6a8aab12aa778e3a5cb58c1f1f97fea746dcaa60ca2de72a98dad38902b939025ee2f7d4f8ed4c701856 SHA512 ac96b086e9bcb6140c66521c71a303a12ab806b133fc769472e23e6b473cb5f6d6dc85cac990b6c0182a1f98201a84835042f7fdfc1843c00bd98b445e47ff35 DIST qxmledit-0.9.7-1-src.tgz 20151952 BLAKE2B ea3af07aa9cae37456a55d3dbc5e3330f1dec85702b1b0bbaa033316e7fb4deb1030af70196440e9b39e58a131a51906071843569a543546cbe27cd6461b7f25 SHA512 c2304c0d46925f36ae2e411bae805406df60339bbce1f030ebbbe42b203133770ff011cb9751e79ac6807f21425e73f3f66f7081a5b14d6701522c2aa1e9a9df DIST qxmledit-0.9.8-src.tgz 22814833 BLAKE2B 13b2888b1feb95222f9912e1ff6367c86f29b939987293ad325fcd89784357daa9fe67add24e9ca7879181f0a3344a127f3e99486054ed0d7bfdef6cddc2f546 SHA512 41caf161de1efd3c210104f362b1ef50ecfbec0c50d4efc98aae03f40ee0c8f51f0b8c322b3017b797f19c7ed668b456a850dea0b4adf7106557eeb9ea58a78e DIST qxmledit-0.9.9-src.tgz 23502055 BLAKE2B 63ee7615b7633d1385aa84a37138180963a124d2cf1d678e1f75e6629d402b5a40a5f18565aa671a005e760d1bb955666f1c8c37589689a052bb098e708f59ac SHA512 1c7c4f14471103ae1a05c28da9a84de626ca367af232eaa6998fbb14c8aff18108e486f47592f869e91af2722c7b197073877fa3a4e8bff8d8aca6b3d8b400db diff --git a/app-editors/qxmledit/qxmledit-0.9.10.ebuild b/app-editors/qxmledit/qxmledit-0.9.10.ebuild new file mode 100644 index 000000000000..adeb17ec6d81 --- /dev/null +++ b/app-editors/qxmledit/qxmledit-0.9.10.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 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 +} + +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 +} |