From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4830759CAF for ; Sat, 2 Apr 2016 19:02:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE31921C012; Sat, 2 Apr 2016 19:02:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7006921C012 for ; Sat, 2 Apr 2016 19:02:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C46E9340E50 for ; Sat, 2 Apr 2016 19:02:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FCAD80 for ; Sat, 2 Apr 2016 19:02:16 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1459623730.7cd5792a7b529ad8ceec1acafaded22111573025.pesa@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/qxmledit/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/qxmledit/Manifest app-editors/qxmledit/qxmledit-0.9.3.ebuild X-VCS-Directories: app-editors/qxmledit/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 7cd5792a7b529ad8ceec1acafaded22111573025 X-VCS-Branch: master Date: Sat, 2 Apr 2016 19:02:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1aae874b-cd54-41e7-880e-627bc357a928 X-Archives-Hash: 519f27366978b2b8cbf4ddbe75fcc9d1 commit: 7cd5792a7b529ad8ceec1acafaded22111573025 Author: Davide Pesavento gentoo org> AuthorDate: Sat Apr 2 19:01:53 2016 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Sat Apr 2 19:02:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd5792a app-editors/qxmledit: version bump Package-Manager: portage-2.2.28 app-editors/qxmledit/Manifest | 1 + app-editors/qxmledit/qxmledit-0.9.3.ebuild | 70 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/app-editors/qxmledit/Manifest b/app-editors/qxmledit/Manifest index 42db2b8..d73492a 100644 --- a/app-editors/qxmledit/Manifest +++ b/app-editors/qxmledit/Manifest @@ -1,2 +1,3 @@ DIST qxmledit-0.8.8-1-src.tgz 8885329 SHA256 d43ccd0029b1094a970d58170a095cbe5fddfe3d93da7c52388783d321386e17 SHA512 5440d33c052507d3b5c840cdd2966c151a77e2027703f7c1d33f80ec786affab915053d2ae17ef72fd856223ca85dbb70d39d8800170449a26ea88632c0069b5 WHIRLPOOL 68f8d73c39ce490f13d88283053ad045125f007132a25d965ffb603ab1de1d42b62944659a76aa9bbb5adc884b37ad90f7eaf4487f314678d8a1923cd16f1078 DIST qxmledit-0.9.2-src.tgz 16697023 SHA256 14b8b47f00cf8ea031a0066c928cf8888a3b0d885627ed7f45c6d455be8bd531 SHA512 1cef025ded878e8ad4a33af7f22caf4b157a93e30a6fe863d80ef8c32ca6c9f080e3e4212d1db6a18e647ca111afba796b77f13c2dbc65b18d498fb977504c93 WHIRLPOOL 07fc283720a7427f352fac086770f07e921c20f66ead80fd1b0729be5afc6a01d0c437973dc6c85a61c22f3dabdc9eba2c9b9bf1721e859f0a23cc0cd60900a7 +DIST qxmledit-0.9.3-src.tgz 17564710 SHA256 f4f1e305712ca033d8fe9cef8ddce6a94fd4deffd9e723c1734786e18a49fc50 SHA512 b7377c73d2e2aff1670e94c8c86c146e85d70841c638878f6be17ff939167c7d17f28095d4929388212380957cd4e3537450549827d8a8b239f5510f27e01afa WHIRLPOOL 214662e68d42c86745524278ac5809e6beb3d7e36ecffa4e6041447c521b733a97673adb93f00ab8513be870bfdb12a3adb950f8238bab15591993f3677373c2 diff --git a/app-editors/qxmledit/qxmledit-0.9.3.ebuild b/app-editors/qxmledit/qxmledit-0.9.3.ebuild new file mode 100644 index 0000000..c417cbf --- /dev/null +++ b/app-editors/qxmledit/qxmledit-0.9.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils qmake-utils + +DESCRIPTION="Qt4 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/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork: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="/usr/bin" \ + QXMLEDIT_INST_LIB_DIR="/usr/$(get_libdir)" \ + QXMLEDIT_INST_INCLUDE_DIR="/usr/include/${PN}" \ + QXMLEDIT_INST_DATA_DIR="/usr/share/${PN}" \ + QXMLEDIT_INST_DOC_DIR="/usr/share/doc/${PF}" \ + QXMLEDIT_INST_TRANSLATIONS_DIR="/usr/share/${PN}/translations" + + 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 +}