summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-03-12 10:55:40 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-03-12 10:57:54 +0100
commit70faecd004e2b25fde61f1e8c790ab943d4f7ec1 (patch)
treefc302837b5c2b1d9f6dfb44180dd171ea4c3d3f6 /app-editors/notepadqq
parentgnome-extra/pch-session: Drop old (diff)
downloadgentoo-70faecd004e2b25fde61f1e8c790ab943d4f7ec1.tar.gz
gentoo-70faecd004e2b25fde61f1e8c790ab943d4f7ec1.tar.bz2
gentoo-70faecd004e2b25fde61f1e8c790ab943d4f7ec1.zip
app-editors/notepadqq: Bump to version 2.0.0_beta
Closes: https://bugs.gentoo.org/712194 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-editors/notepadqq')
-rw-r--r--app-editors/notepadqq/Manifest1
-rw-r--r--app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/app-editors/notepadqq/Manifest b/app-editors/notepadqq/Manifest
index f5ffa352c902..ff3f5a9577c2 100644
--- a/app-editors/notepadqq/Manifest
+++ b/app-editors/notepadqq/Manifest
@@ -1,2 +1,3 @@
DIST notepadqq-1.2.0.tar.gz 2082931 BLAKE2B 41f81be45b5e36d58c2632fc9d03c6802b1a99f5ff9603682f3e1c6907143767f57034f053677d8edffae68a098ddf56d2b90e57fd9884442d80749a670f9d4a SHA512 4b6b3e646add4dc21b4d4ddecacefa59785e6525d52ecc17ca418ba14f38ef9024f48af6db3538d195327942971eb9ccf0b5567da58ba15facad332b47742717
DIST notepadqq-1.4.8.tar.gz 4418925 BLAKE2B 91d993fd952609a7255c6541e97580b5dd01e6902cb6a84b77da7fbf8bc52a9a07ba85845d33e5801d539d8c560804b69947df965550dfb981e228330ea46ffd SHA512 fa1937b75a378fb81486a871a5b736f6ba216cd4b71f99e342e457de65ea034c2ee4d2c9f42754c4737671ccb1083fb1e6c946240ab2094042125430578141fa
+DIST notepadqq-2.0.0_beta.tar.gz 4516680 BLAKE2B 9a16ab64134ab0d33a68cc528db6a50b8860c391130667a9213e3aa941e115b1e3acae5833ce4b8b52fc81aa8997c5389f5920cde86171cf5d960a7f58dbea99 SHA512 b2ae3493da1512f5f2e42ffc90529f3acfe81d75b7dd6e476f41b94e9b39e02c6fe355ea5ad40460d644ed76bca695d451721e19738c251c8ecb8acc0c0fb061
diff --git a/app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild b/app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild
new file mode 100644
index 000000000000..efd11e81bf52
--- /dev/null
+++ b/app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils xdg
+
+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"
+ S="${WORKDIR}/${P/_/-}"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ app-i18n/uchardet
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwebchannel:5
+ dev-qt/qtwebengine:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="
+ ${RDEPEND}
+ dev-qt/linguist-tools:5
+ dev-qt/qttest: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
+}