diff options
author | David Roman <davidroman96@gmail.com> | 2018-12-17 23:27:04 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-23 02:25:26 +0100 |
commit | 724a180d2a1fed1f5baa57f5ae968e1c8d355761 (patch) | |
tree | 809331f0b3061ad474bddb00fa8b3fb650d56f06 /app-editors/ghostwriter/ghostwriter-1.7.4-r1.ebuild | |
parent | kde-apps/konsole: Drop 18.12.0 (r0) (diff) | |
download | gentoo-724a180d2a1fed1f5baa57f5ae968e1c8d355761.tar.gz gentoo-724a180d2a1fed1f5baa57f5ae968e1c8d355761.tar.bz2 gentoo-724a180d2a1fed1f5baa57f5ae968e1c8d355761.zip |
app-editors/ghostwriter: add missing dependency
Closes: https://bugs.gentoo.org/673318
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: David Roman <davidroman96@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10656
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-editors/ghostwriter/ghostwriter-1.7.4-r1.ebuild')
-rw-r--r-- | app-editors/ghostwriter/ghostwriter-1.7.4-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-editors/ghostwriter/ghostwriter-1.7.4-r1.ebuild b/app-editors/ghostwriter/ghostwriter-1.7.4-r1.ebuild new file mode 100644 index 000000000000..fd47f3279447 --- /dev/null +++ b/app-editors/ghostwriter/ghostwriter-1.7.4-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 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/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + app-text/hunspell + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwebkit:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + dev-qt/qtconcurrent:5 +" + +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 +} + +pkg_postrm() { + xdg_desktop_database_update +} |