diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-12-22 20:57:34 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-12-22 20:57:44 +1100 |
commit | be65736a23580e8f7a484decccab03b3590ec63d (patch) | |
tree | 6429d8c44e655cf85834aa77c9fa9879da61d70f /app-editors | |
parent | x11-wm/xpra: Version bump and invoce xdg_pkg_post* stuff in all relevant vers... (diff) | |
download | gentoo-be65736a23580e8f7a484decccab03b3590ec63d.tar.gz gentoo-be65736a23580e8f7a484decccab03b3590ec63d.tar.bz2 gentoo-be65736a23580e8f7a484decccab03b3590ec63d.zip |
app-editors/qxmledit: version bump 0.9.9
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/qxmledit/Manifest | 1 | ||||
-rw-r--r-- | app-editors/qxmledit/qxmledit-0.9.9.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest index 4b3884d016b9..170e58fe4418 100644 --- a/app-editors/qxmledit/Manifest +++ b/app-editors/qxmledit/Manifest @@ -1,2 +1,3 @@ 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.9.ebuild b/app-editors/qxmledit/qxmledit-0.9.9.ebuild new file mode 100644 index 000000000000..c6849889189d --- /dev/null +++ b/app-editors/qxmledit/qxmledit-0.9.9.ebuild @@ -0,0 +1,73 @@ +# 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 +} + +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 +} |