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 DDADB1382C5 for ; Tue, 15 May 2018 12:30:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AAEEE0976; Tue, 15 May 2018 12:30: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 DEF00E0976 for ; Tue, 15 May 2018 12:30: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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 303F2335C43 for ; Tue, 15 May 2018 12:30:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCF1172 for ; Tue, 15 May 2018 12:30:18 +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: <1526387413.5fa8108e1d1cc35bef20679f3ef146e62f1084f1.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/notepadqq-9999.ebuild X-VCS-Directories: app-editors/notepadqq/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5fa8108e1d1cc35bef20679f3ef146e62f1084f1 X-VCS-Branch: master Date: Tue, 15 May 2018 12:30:18 +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: e08f3558-232f-4c93-ab7e-b761a2124125 X-Archives-Hash: 9dfac38b8851474110e5df7448ed75d7 commit: 5fa8108e1d1cc35bef20679f3ef146e62f1084f1 Author: Lars Wendler gentoo org> AuthorDate: Tue May 15 12:18:53 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue May 15 12:30:13 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa8108e app-editors/notepadqq: Added live ebuild. Package-Manager: Portage-2.3.36, Repoman-2.3.9 app-editors/notepadqq/notepadqq-9999.ebuild | 59 +++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/app-editors/notepadqq/notepadqq-9999.ebuild b/app-editors/notepadqq/notepadqq-9999.ebuild new file mode 100644 index 00000000000..9db258a3956 --- /dev/null +++ b/app-editors/notepadqq/notepadqq-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils xdg-utils + +DESCRIPTION="Notepad++-like editor for Linux" +HOMEPAGE="http://notepadqq.altervista.org" +if [[ "${PV}" == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/notepadqq/notepadqq.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwebchannel:5 + dev-qt/qtwebengine:5 + dev-qt/qtwidgets:5 +" +DEPEND=" + ${RDEPEND} + dev-qt/qtsvg:5 +" + +src_prepare() { + default + + # 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 INSTALL_ROOT="${D}" install +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}