summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-05-15 14:00:05 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-05-15 14:00:18 +0200
commit4d53d725c023dc177bec6a2686beb439d8a0ec98 (patch)
tree468fbab4847e603312312194fc4ce033f1029a66 /app-editors
parentprofiles/: multiple p.use.mask cleanup (zeingeinst/zemberk) (diff)
downloadgentoo-4d53d725c023dc177bec6a2686beb439d8a0ec98.tar.gz
gentoo-4d53d725c023dc177bec6a2686beb439d8a0ec98.tar.bz2
gentoo-4d53d725c023dc177bec6a2686beb439d8a0ec98.zip
app-editors/notepadqq: Bump to version 1.4.0
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/notepadqq/Manifest1
-rw-r--r--app-editors/notepadqq/notepadqq-1.4.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/app-editors/notepadqq/Manifest b/app-editors/notepadqq/Manifest
index 863cc2307ad5..e8160eb541fd 100644
--- a/app-editors/notepadqq/Manifest
+++ b/app-editors/notepadqq/Manifest
@@ -1 +1,2 @@
DIST notepadqq-1.2.0.tar.gz 2082931 BLAKE2B 41f81be45b5e36d58c2632fc9d03c6802b1a99f5ff9603682f3e1c6907143767f57034f053677d8edffae68a098ddf56d2b90e57fd9884442d80749a670f9d4a SHA512 4b6b3e646add4dc21b4d4ddecacefa59785e6525d52ecc17ca418ba14f38ef9024f48af6db3538d195327942971eb9ccf0b5567da58ba15facad332b47742717
+DIST notepadqq-1.4.0.tar.gz 4381343 BLAKE2B b8cac80893db1db4d169a0cf416dd92fb71684754f35af403e689c30602cd467764eb46321240050bfe86829ee2d24566299d1a471f779c093a4bdbdfdf3d437 SHA512 6f6327b7e9431dfa38a033a32a7a92214fe66e8a486df6352b829316775d7247414525f063467af5dc23c79d1c5cb279382c6dd070b5bbe189b3deb804ca98f5
diff --git a/app-editors/notepadqq/notepadqq-1.4.0.ebuild b/app-editors/notepadqq/notepadqq-1.4.0.ebuild
new file mode 100644
index 000000000000..cbebd28ae63f
--- /dev/null
+++ b/app-editors/notepadqq/notepadqq-1.4.0.ebuild
@@ -0,0 +1,53 @@
+# 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"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebkit: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
+}