1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit qmake-utils xdg
8 DESCRIPTION="Notepad++-like editor for Linux"
9 HOMEPAGE="http://notepadqq.altervista.org"
10 if [[ "${PV}" == 9999 ]] ; then
12 EGIT_REPO_URI="https://github.com/notepadqq/notepadqq.git"
14 SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
16 S="${WORKDIR}/${P/_/-}"
28 dev-qt/qtprintsupport:5
36 dev-qt/linguist-tools:5
44 # Silence a QA warning
45 sed '/^OnlyShowIn/d' \
46 -i support_files/shortcuts/notepadqq.desktop \
51 eqmake5 PREFIX="${EPREFIX}/usr" ${PN}.pro
55 emake INSTALL_ROOT="${D}" install