From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4887A139694 for ; Fri, 4 Aug 2017 08:16:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81FF01FC006; Fri, 4 Aug 2017 08:16:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 545E21FC006 for ; Fri, 4 Aug 2017 08:16:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E27434193E for ; Fri, 4 Aug 2017 08:16:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A201E74C9 for ; Fri, 4 Aug 2017 08:16:19 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1501834575.8f2ee05799a161b4d1ef933013ddbb792ece4e41.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/notepadqq/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/notepadqq/Manifest app-editors/notepadqq/metadata.xml app-editors/notepadqq/notepadqq-1.0.1.ebuild X-VCS-Directories: app-editors/notepadqq/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 8f2ee05799a161b4d1ef933013ddbb792ece4e41 X-VCS-Branch: master Date: Fri, 4 Aug 2017 08:16:19 +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: 5c8f7d4d-ce08-48fd-9e2d-8005069290c1 X-Archives-Hash: 9ba2ec9658d54701c634ac361fb7ef04 commit: 8f2ee05799a161b4d1ef933013ddbb792ece4e41 Author: Lars Wendler gentoo org> AuthorDate: Fri Aug 4 08:15:10 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Fri Aug 4 08:16:15 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f2ee057 app-editors/notepadqq: Initial commit. Package-Manager: Portage-2.3.6, Repoman-2.3.3 app-editors/notepadqq/Manifest | 2 + app-editors/notepadqq/metadata.xml | 11 ++++++ app-editors/notepadqq/notepadqq-1.0.1.ebuild | 55 ++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) diff --git a/app-editors/notepadqq/Manifest b/app-editors/notepadqq/Manifest new file mode 100644 index 00000000000..fa596d1beab --- /dev/null +++ b/app-editors/notepadqq/Manifest @@ -0,0 +1,2 @@ +DIST CodeMirror-5.18.2.tar.gz 923001 SHA256 edfccf28e609a08476e9da4f592d7aa23b7e73af3954d90605e0c650abd20a1a SHA512 c979c1ef02bb222b08e64847e5caab9c8a525c96d0eef656a00730d6710b0144144ac656eddef05d50c30c7d33da7dffe1a7580b9d47a5d958af9d6484ea705f WHIRLPOOL 9baaada10513eaad75bb6e8f2d73fd076b85f8a85adec1dc235857ae1f9160d6f463859356d5fce69c882ca4b3a2efc802a62453eb2435f868d9691cb435d73f +DIST notepadqq-1.0.1.tar.gz 1056249 SHA256 552f274b9c9d3d48e2e55462f33aea8df8ebd0f421b0d7a23b78a46693fbed34 SHA512 781ddf9960227c4ad21fb7e763180cfed7f1c5c0237277335577932678a42a4c2f303f61922d93ec850dbc86df36c292ff10ae053a6e00d7127a48c7ac4e359c WHIRLPOOL 53f47ce9af83e57121e8ad261aece0eda53bbe42d02edebdfd8ffeb3874146c6ab7d63e2347755ac6a447413f46254c6db7ac7aed8809c4ad1baf5a7e0e586fb diff --git a/app-editors/notepadqq/metadata.xml b/app-editors/notepadqq/metadata.xml new file mode 100644 index 00000000000..778dcea02be --- /dev/null +++ b/app-editors/notepadqq/metadata.xml @@ -0,0 +1,11 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + notepadqq/notepadqq + + diff --git a/app-editors/notepadqq/notepadqq-1.0.1.ebuild b/app-editors/notepadqq/notepadqq-1.0.1.ebuild new file mode 100644 index 00000000000..9a6ce8d4b4e --- /dev/null +++ b/app-editors/notepadqq/notepadqq-1.0.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +CM_PV="5.18.2" + +DESCRIPTION="Notepad++-like editor for Linux" +HOMEPAGE="http://notepadqq.altervista.org" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/${PN}/CodeMirror/archive/${CM_PV}.tar.gz -> CodeMirror-${CM_PV}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwebkit:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + rmdir "${S}"/src/editor/libs/codemirror || die + mv "${WORKDIR}"/CodeMirror-${CM_PV} "${S}"/src/editor/libs/codemirror \ + || die +} + +src_prepare() { + default + + # codemirror releases have no m4 directory + sed '/mode\/m4/d' -i src/editor/libs/Makefile-codemirror || die + + # Silence a QA warning + sed '/^OnlyShowIn/d' \ + -i support_files/shortcuts/notepadqq.desktop \ + || die +} + +src_configure() { + eqmake5 PREFIX="${EPREFIX}/usr" ${PN}.pro +} + +src_install() { + emake -j1 INSTALL_ROOT="${D}" install +}