1 |
commit: 8f2ee05799a161b4d1ef933013ddbb792ece4e41 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 4 08:15:10 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 4 08:16:15 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f2ee057 |
7 |
|
8 |
app-editors/notepadqq: Initial commit. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
app-editors/notepadqq/Manifest | 2 + |
13 |
app-editors/notepadqq/metadata.xml | 11 ++++++ |
14 |
app-editors/notepadqq/notepadqq-1.0.1.ebuild | 55 ++++++++++++++++++++++++++++ |
15 |
3 files changed, 68 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/notepadqq/Manifest b/app-editors/notepadqq/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..fa596d1beab |
20 |
--- /dev/null |
21 |
+++ b/app-editors/notepadqq/Manifest |
22 |
@@ -0,0 +1,2 @@ |
23 |
+DIST CodeMirror-5.18.2.tar.gz 923001 SHA256 edfccf28e609a08476e9da4f592d7aa23b7e73af3954d90605e0c650abd20a1a SHA512 c979c1ef02bb222b08e64847e5caab9c8a525c96d0eef656a00730d6710b0144144ac656eddef05d50c30c7d33da7dffe1a7580b9d47a5d958af9d6484ea705f WHIRLPOOL 9baaada10513eaad75bb6e8f2d73fd076b85f8a85adec1dc235857ae1f9160d6f463859356d5fce69c882ca4b3a2efc802a62453eb2435f868d9691cb435d73f |
24 |
+DIST notepadqq-1.0.1.tar.gz 1056249 SHA256 552f274b9c9d3d48e2e55462f33aea8df8ebd0f421b0d7a23b78a46693fbed34 SHA512 781ddf9960227c4ad21fb7e763180cfed7f1c5c0237277335577932678a42a4c2f303f61922d93ec850dbc86df36c292ff10ae053a6e00d7127a48c7ac4e359c WHIRLPOOL 53f47ce9af83e57121e8ad261aece0eda53bbe42d02edebdfd8ffeb3874146c6ab7d63e2347755ac6a447413f46254c6db7ac7aed8809c4ad1baf5a7e0e586fb |
25 |
|
26 |
diff --git a/app-editors/notepadqq/metadata.xml b/app-editors/notepadqq/metadata.xml |
27 |
new file mode 100644 |
28 |
index 00000000000..778dcea02be |
29 |
--- /dev/null |
30 |
+++ b/app-editors/notepadqq/metadata.xml |
31 |
@@ -0,0 +1,11 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="person"> |
36 |
+ <email>polynomial-c@g.o</email> |
37 |
+ <name>Lars Wendler</name> |
38 |
+ </maintainer> |
39 |
+ <upstream> |
40 |
+ <remote-id type="github">notepadqq/notepadqq</remote-id> |
41 |
+ </upstream> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/app-editors/notepadqq/notepadqq-1.0.1.ebuild b/app-editors/notepadqq/notepadqq-1.0.1.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..9a6ce8d4b4e |
47 |
--- /dev/null |
48 |
+++ b/app-editors/notepadqq/notepadqq-1.0.1.ebuild |
49 |
@@ -0,0 +1,55 @@ |
50 |
+# Copyright 1999-2017 Gentoo Foundation |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=6 |
54 |
+ |
55 |
+inherit qmake-utils |
56 |
+ |
57 |
+CM_PV="5.18.2" |
58 |
+ |
59 |
+DESCRIPTION="Notepad++-like editor for Linux" |
60 |
+HOMEPAGE="http://notepadqq.altervista.org" |
61 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
62 |
+ https://github.com/${PN}/CodeMirror/archive/${CM_PV}.tar.gz -> CodeMirror-${CM_PV}.tar.gz" |
63 |
+ |
64 |
+LICENSE="GPL-3+" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~amd64 ~x86" |
67 |
+IUSE="" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ dev-qt/qtcore:5 |
71 |
+ dev-qt/qtgui:5 |
72 |
+ dev-qt/qtnetwork:5 |
73 |
+ dev-qt/qtprintsupport:5 |
74 |
+ dev-qt/qtwebkit:5 |
75 |
+ dev-qt/qtwidgets:5 |
76 |
+" |
77 |
+DEPEND="${RDEPEND}" |
78 |
+ |
79 |
+src_unpack() { |
80 |
+ unpack ${A} |
81 |
+ rmdir "${S}"/src/editor/libs/codemirror || die |
82 |
+ mv "${WORKDIR}"/CodeMirror-${CM_PV} "${S}"/src/editor/libs/codemirror \ |
83 |
+ || die |
84 |
+} |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ default |
88 |
+ |
89 |
+ # codemirror releases have no m4 directory |
90 |
+ sed '/mode\/m4/d' -i src/editor/libs/Makefile-codemirror || die |
91 |
+ |
92 |
+ # Silence a QA warning |
93 |
+ sed '/^OnlyShowIn/d' \ |
94 |
+ -i support_files/shortcuts/notepadqq.desktop \ |
95 |
+ || die |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ eqmake5 PREFIX="${EPREFIX}/usr" ${PN}.pro |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ emake -j1 INSTALL_ROOT="${D}" install |
104 |
+} |