1 |
commit: 16a56a2a32b0b78b64a5a6da0455020ba2c83376 |
2 |
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 15 13:11:14 2018 +0000 |
4 |
Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 15 13:11:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a56a2a |
7 |
|
8 |
app-text/cutemarked: modernize |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
...rked-0.11.3.ebuild => cutemarked-0.11.3-r1.ebuild} | 19 ++++++++++--------- |
13 |
.../cutemarked/files/cutemarked-0.11.3-bgcolor.patch | 12 ++++++++++++ |
14 |
2 files changed, 22 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/app-text/cutemarked/cutemarked-0.11.3.ebuild b/app-text/cutemarked/cutemarked-0.11.3-r1.ebuild |
17 |
similarity index 80% |
18 |
rename from app-text/cutemarked/cutemarked-0.11.3.ebuild |
19 |
rename to app-text/cutemarked/cutemarked-0.11.3-r1.ebuild |
20 |
index a04e77142d0..d4f1373747d 100644 |
21 |
--- a/app-text/cutemarked/cutemarked-0.11.3.ebuild |
22 |
+++ b/app-text/cutemarked/cutemarked-0.11.3-r1.ebuild |
23 |
@@ -1,7 +1,7 @@ |
24 |
# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=5 |
28 |
+EAPI=7 |
29 |
|
30 |
inherit qmake-utils |
31 |
|
32 |
@@ -15,24 +15,25 @@ KEYWORDS="~amd64 ~x86" |
33 |
IUSE="" |
34 |
|
35 |
DEPEND=" |
36 |
+ app-text/discount |
37 |
+ app-text/hunspell |
38 |
+ dev-qt/linguist-tools:5 |
39 |
dev-qt/qtcore:5 |
40 |
dev-qt/qtgui:5 |
41 |
- dev-qt/qtwebkit:5 |
42 |
- dev-qt/linguist-tools:5 |
43 |
dev-qt/qtnetwork:5 |
44 |
dev-qt/qtprintsupport:5 |
45 |
dev-qt/qttest:5 |
46 |
- app-text/discount |
47 |
- app-text/hunspell |
48 |
+ dev-qt/qtwebkit:5 |
49 |
" |
50 |
RDEPEND="${DEPEND}" |
51 |
|
52 |
S="${WORKDIR}/CuteMarkEd-${PV}" |
53 |
|
54 |
-src_prepare() { |
55 |
- epatch "${FILESDIR}/${PN}"-0.11.1-respect-destdir.patch |
56 |
- epatch "${FILESDIR}/${PN}"-0.11.3-qaction-include.patch |
57 |
-} |
58 |
+PATCHES=( |
59 |
+ "${FILESDIR}/${PN}"-0.11.1-respect-destdir.patch |
60 |
+ "${FILESDIR}/${PN}"-0.11.3-qaction-include.patch |
61 |
+ "${FILESDIR}/${PN}"-0.11.3-bgcolor.patch |
62 |
+) |
63 |
|
64 |
src_configure() { |
65 |
eqmake5 ROOT="${D}" CuteMarkEd.pro |
66 |
|
67 |
diff --git a/app-text/cutemarked/files/cutemarked-0.11.3-bgcolor.patch b/app-text/cutemarked/files/cutemarked-0.11.3-bgcolor.patch |
68 |
new file mode 100644 |
69 |
index 00000000000..8cf1fe5f1c3 |
70 |
--- /dev/null |
71 |
+++ b/app-text/cutemarked/files/cutemarked-0.11.3-bgcolor.patch |
72 |
@@ -0,0 +1,12 @@ |
73 |
+diff --git a/app/styles/markdown.css b/app/styles/markdown.css |
74 |
+index 7c87385..607f025 100644 |
75 |
+--- a/app/styles/markdown.css |
76 |
++++ b/app/styles/markdown.css |
77 |
+@@ -25,6 +25,7 @@ body{ |
78 |
+ line-height: 1; |
79 |
+ max-width: 960px; |
80 |
+ padding: 30px; |
81 |
++ background-color: #ffffff; |
82 |
+ } |
83 |
+ h1, h2, h3, h4 { |
84 |
+ color: #111111; |