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 037A51382C5 for ; Mon, 21 Jun 2021 05:12:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC9D2E0822; Mon, 21 Jun 2021 05:12:21 +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 92F87E0822 for ; Mon, 21 Jun 2021 05:12: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 30FDA3408B8 for ; Mon, 21 Jun 2021 05:12:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7887E235 for ; Mon, 21 Jun 2021 05:12:18 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1624252306.c087ae48c1f88ef306f03a60c710a10e4f3fab88.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/ghostwriter/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/ghostwriter/Manifest app-editors/ghostwriter/ghostwriter-2.0.1.ebuild X-VCS-Directories: app-editors/ghostwriter/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c087ae48c1f88ef306f03a60c710a10e4f3fab88 X-VCS-Branch: master Date: Mon, 21 Jun 2021 05:12: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8f6fddb7-594e-4f1b-95e3-4cb66c2a2816 X-Archives-Hash: f46fceea2a4fe215dabc4f8061e806ea commit: c087ae48c1f88ef306f03a60c710a10e4f3fab88 Author: David Roman gmail com> AuthorDate: Sun May 30 17:40:06 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 21 05:11:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c087ae48 app-editors/ghostwriter: verbump to 2.0.1 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Roman gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21055 Signed-off-by: Joonas Niilola gentoo.org> app-editors/ghostwriter/Manifest | 1 + app-editors/ghostwriter/ghostwriter-2.0.1.ebuild | 58 ++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-editors/ghostwriter/Manifest b/app-editors/ghostwriter/Manifest index db7161177b3..cd141eddf2b 100644 --- a/app-editors/ghostwriter/Manifest +++ b/app-editors/ghostwriter/Manifest @@ -1 +1,2 @@ DIST ghostwriter-1.8.1.tar.gz 1220000 BLAKE2B 3fa3d95ed819bc8f7b76b396e6634658a8bda23e9100cbb298d301fc382db451430a4a31fbd092326af198825c83d2c998172c90a7e318aeb57ef7799751995a SHA512 9f60f81a594cf161edfeac8c75830e186ab4ec2c22859b2bad40768e1ecf64e6842b52a69024a1f014d24a2f1cbb38e15a7799101d7fd54ef7709e245f6ac521 +DIST ghostwriter-2.0.1.tar.gz 7802864 BLAKE2B 387ce3b0fe58171d6c195b51bd5dfbdcd6f7cbe023aaba4962d311e4dd6c08066b4292467f4cf2941b9a28540b639d498057a66a4ca194e35ca32e17399d7d75 SHA512 e91631d51110a884ab68621ee2fe0f1c013d0c2413f0ee58135821f2539285e88dcdfca0f9d80e0313bdab4c02700faa87eae32d525e51eea82163bb1a6d5b1b diff --git a/app-editors/ghostwriter/ghostwriter-2.0.1.ebuild b/app-editors/ghostwriter/ghostwriter-2.0.1.ebuild new file mode 100644 index 00000000000..9f9908a37a0 --- /dev/null +++ b/app-editors/ghostwriter/ghostwriter-2.0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils xdg-utils + +DESCRIPTION="Cross-platform, aesthetic, distraction-free markdown editor" +HOMEPAGE="https://wereturtle.github.io/ghostwriter/" +SRC_URI="https://github.com/wereturtle/ghostwriter/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +BDEPEND="dev-qt/linguist-tools:5" + +RDEPEND=" + app-text/hunspell:= + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwebchannel:5 + dev-qt/qtwebengine:5[widgets] + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND}" + +DOCS=( CREDITS.md README.md ) + +src_prepare() { + default + + sed -i -e "/^VERSION =/s/\$.*/${PV}/" ghostwriter.pro || die "failed to override version" +} + +src_configure() { + eqmake5 \ + CONFIG+=$(usex debug debug release) \ + PREFIX="${EPREFIX}"/usr +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}