1 |
commit: da276774f15c5fb7052b241536bbf822bed9cc0e |
2 |
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jan 2 21:03:59 2019 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 15 23:12:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da276774 |
7 |
|
8 |
dev-util/geany-plugins: version bump to 1.34. |
9 |
|
10 |
markdown and scope plugins now available for GTK+ 3. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/674290 |
13 |
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> |
14 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
15 |
Closes: https://github.com/gentoo/gentoo/pull/10654 |
16 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
17 |
|
18 |
dev-util/geany-plugins/Manifest | 1 + |
19 |
dev-util/geany-plugins/geany-plugins-1.34.ebuild | 146 +++++++++++++++++++++++ |
20 |
dev-util/geany-plugins/metadata.xml | 1 + |
21 |
3 files changed, 148 insertions(+) |
22 |
|
23 |
diff --git a/dev-util/geany-plugins/Manifest b/dev-util/geany-plugins/Manifest |
24 |
index c5532b4ac46..0f68038906b 100644 |
25 |
--- a/dev-util/geany-plugins/Manifest |
26 |
+++ b/dev-util/geany-plugins/Manifest |
27 |
@@ -1,2 +1,3 @@ |
28 |
DIST geany-plugins-1.30.tar.gz 4469990 BLAKE2B 3cb8434765667814dc95227a82bdf204b2f918c951de8d5d9b56549c3fc343e1fe1c3e225d9f907da6b3227440dbdad09d0318d2738c213640a4629e9f7b42fe SHA512 11dc44215aaa369831c249ef84b5dd0ee7eecdfbbf4707fc6165d78201e9e755447463c171ac6c8b2bc70df28a97b23762073ab9b31f7c33285d4728089da807 |
29 |
DIST geany-plugins-1.33.tar.gz 4671123 BLAKE2B 33471215480597b34e2733b7dc292e94ff12985b645fda76b2e25492573bb866766a3ea5a4598c4f643e9528f8062ffb9bf6ccabbb9be04aecbf23650d9c776d SHA512 d046eb0b7bd3c704b62c84b05564b973203ddabf6c09b94bf3008955735d672077bff1a7cda27d4eba97824231483f3e64b3b0f0234a97a1a2727d535fb28718 |
30 |
+DIST geany-plugins-1.34.tar.gz 4640059 BLAKE2B f6a2e001db42e348c129b503fd969f142fecbaa06a10bd220d348f70e6af087a0a856a403bdf866f65fdff02889fa03a2f3a662be3efad0a17401266ab883bcf SHA512 31d25e9b0946b7feeae40b81c4e0c177568cc161c24bfa1c8271dda1c15a44e86f5de9b5992a4acde6cfafe2924a1cc22e95c7b6fb253e8a358931fa5f8ecca3 |
31 |
|
32 |
diff --git a/dev-util/geany-plugins/geany-plugins-1.34.ebuild b/dev-util/geany-plugins/geany-plugins-1.34.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..da4dedf3d9f |
35 |
--- /dev/null |
36 |
+++ b/dev-util/geany-plugins/geany-plugins-1.34.ebuild |
37 |
@@ -0,0 +1,146 @@ |
38 |
+# Copyright 1999-2019 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+PYTHON_COMPAT=( python2_7 ) |
44 |
+ |
45 |
+inherit python-single-r1 vala |
46 |
+ |
47 |
+DESCRIPTION="A collection of different plugins for Geany" |
48 |
+HOMEPAGE="https://plugins.geany.org" |
49 |
+SRC_URI="https://plugins.geany.org/${PN}/${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="GPL-2" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
54 |
+ |
55 |
+IUSE="+gtk3 ctags debugger enchant git gpg gtkspell lua markdown multiterm nls pretty-printer python scope soup" |
56 |
+REQUIRED_USE=" |
57 |
+ gtk3? ( !debugger !multiterm !python ) |
58 |
+ !gtk3? ( !markdown ) |
59 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
60 |
+" |
61 |
+ |
62 |
+COMMON_DEPEND=" |
63 |
+ dev-libs/glib:2 |
64 |
+ >=dev-util/geany-1.34[gtk3=] |
65 |
+ gtk3? ( x11-libs/gtk+:3 ) |
66 |
+ !gtk3? ( x11-libs/gtk+:2 ) |
67 |
+ ctags? ( dev-util/ctags ) |
68 |
+ debugger? ( x11-libs/vte:0 ) |
69 |
+ enchant? ( app-text/enchant ) |
70 |
+ git? ( dev-libs/libgit2:= ) |
71 |
+ gpg? ( app-crypt/gpgme:1= ) |
72 |
+ gtkspell? ( |
73 |
+ gtk3? ( app-text/gtkspell:3= ) |
74 |
+ !gtk3? ( app-text/gtkspell:2 ) |
75 |
+ ) |
76 |
+ lua? ( dev-lang/lua:0= ) |
77 |
+ markdown? ( |
78 |
+ app-text/discount |
79 |
+ net-libs/webkit-gtk |
80 |
+ ) |
81 |
+ multiterm? ( |
82 |
+ $(vala_depend) |
83 |
+ >=x11-libs/vte-0.28:0 |
84 |
+ ) |
85 |
+ pretty-printer? ( dev-libs/libxml2:2 ) |
86 |
+ python? ( |
87 |
+ dev-python/pygtk[${PYTHON_USEDEP}] |
88 |
+ ${PYTHON_DEPS} |
89 |
+ ) |
90 |
+ scope? ( |
91 |
+ gtk3? ( x11-libs/vte:2.91 ) |
92 |
+ !gtk3? ( x11-libs/vte:0 ) |
93 |
+ ) |
94 |
+ soup? ( net-libs/libsoup:2.4 ) |
95 |
+" |
96 |
+RDEPEND="${COMMON_DEPEND} |
97 |
+ scope? ( sys-devel/gdb ) |
98 |
+" |
99 |
+DEPEND="${COMMON_DEPEND}" |
100 |
+BDEPEND="virtual/pkgconfig |
101 |
+ nls? ( sys-devel/gettext ) |
102 |
+" |
103 |
+ |
104 |
+pkg_setup() { |
105 |
+ use python && python-single-r1_pkg_setup |
106 |
+} |
107 |
+ |
108 |
+src_prepare() { |
109 |
+ default |
110 |
+ |
111 |
+ use multiterm && vala_src_prepare |
112 |
+} |
113 |
+ |
114 |
+src_configure() { |
115 |
+ local myeconfargs=( |
116 |
+ --disable-cppcheck |
117 |
+ --disable-extra-c-warnings |
118 |
+ $(use_enable nls) |
119 |
+ --enable-utilslib |
120 |
+ # Plugins |
121 |
+ --enable-addons |
122 |
+ --enable-autoclose |
123 |
+ --enable-automark |
124 |
+ --enable-codenav |
125 |
+ --enable-commander |
126 |
+ --enable-defineformat |
127 |
+ --enable-geanyextrasel |
128 |
+ --enable-geanyinsertnum |
129 |
+ --enable-geanymacro |
130 |
+ --enable-geanyminiscript |
131 |
+ --enable-geanynumberedbookmarks |
132 |
+ --enable-geanyprj |
133 |
+ --enable-geanyvc $(use_enable gtkspell) |
134 |
+ --enable-keyrecord |
135 |
+ --enable-latex |
136 |
+ --enable-lineoperations |
137 |
+ --enable-lipsum |
138 |
+ --enable-overview |
139 |
+ --enable-pairtaghighlighter |
140 |
+ --enable-pohelper |
141 |
+ --enable-projectorganizer |
142 |
+ --enable-sendmail |
143 |
+ --enable-shiftcolumn |
144 |
+ --enable-tableconvert |
145 |
+ --enable-treebrowser |
146 |
+ --enable-vimode |
147 |
+ --enable-workbench |
148 |
+ --enable-xmlsnippets |
149 |
+ $(use_enable debugger) |
150 |
+ $(use_enable ctags geanyctags) |
151 |
+ $(use_enable !gtk3 geanydoc) |
152 |
+ $(use_enable lua geanylua) |
153 |
+ $(use_enable gpg geanypg) |
154 |
+ $(use_enable python geanypy) |
155 |
+ $(use_enable soup geniuspaste) |
156 |
+ $(use_enable git gitchangebar) |
157 |
+ $(use_enable markdown) --disable-peg-markdown # using app-text/discount instead |
158 |
+ $(use_enable multiterm) |
159 |
+ $(use_enable pretty-printer) |
160 |
+ $(use_enable scope) |
161 |
+ $(use_enable enchant spellcheck) |
162 |
+ # Having updatechecker… when you’re using a package manager? |
163 |
+ $(use_enable soup updatechecker) |
164 |
+ # GeanyGenDoc requires ctpl which isn’t yet in portage |
165 |
+ --disable-geanygendoc |
166 |
+ # Require obsolete and vulnerable webkit-gtk versions |
167 |
+ --disable-devhelp |
168 |
+ --disable-webhelper |
169 |
+ ) |
170 |
+ |
171 |
+ econf "${myeconfargs[@]}" |
172 |
+} |
173 |
+ |
174 |
+src_install() { |
175 |
+ default |
176 |
+ |
177 |
+ find "${D}" -name '*.la' -delete || die |
178 |
+ |
179 |
+ # make installs all translations if LINGUAS is empty |
180 |
+ if [[ -z "${LINGUAS-x}" ]]; then |
181 |
+ rm -r "${ED%/}/usr/share/locale/" || die |
182 |
+ fi |
183 |
+} |
184 |
|
185 |
diff --git a/dev-util/geany-plugins/metadata.xml b/dev-util/geany-plugins/metadata.xml |
186 |
index ba173350ceb..aeeda37fe23 100644 |
187 |
--- a/dev-util/geany-plugins/metadata.xml |
188 |
+++ b/dev-util/geany-plugins/metadata.xml |
189 |
@@ -20,6 +20,7 @@ |
190 |
<flag name="enchant">Enable spell checking using enchant</flag> |
191 |
<flag name="gpg">Enable geanypg plugin which integrates GPG using <pkg>app-crypt/gpgme</pkg></flag> |
192 |
<flag name="gtkspell">Use gtkspell for dictionary support in GeanyVC</flag> |
193 |
+ <flag name="markdown">Enable the markdown plugin</flag> |
194 |
<flag name="multiterm">Enable the multiterm plugin</flag> |
195 |
<flag name="overview">Enable overview plugin</flag> |
196 |
<flag name="pretty-printer">Enable pretty-printer plugin</flag> |