Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/geany-plugins/
Date: Wed, 28 Oct 2020 07:51:26
Message-Id: 1603871468.0f1ad151249a7f8f098a3c021c3b666ee70cf547.juippis@gentoo
1 commit: 0f1ad151249a7f8f098a3c021c3b666ee70cf547
2 Author: Chris Mayo <aklhfex <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 26 19:20:35 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 28 07:51:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f1ad151
7
8 dev-util/geany-plugins: version bump to 1.37
9
10 gtk3 USE flag replaced with gtk2 to align with dev-util/geany-1.37.
11
12 Package-Manager: Portage-3.0.8, Repoman-3.0.2
13 Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
14 Closes: https://github.com/gentoo/gentoo/pull/18043
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 dev-util/geany-plugins/Manifest | 1 +
18 dev-util/geany-plugins/geany-plugins-1.37.ebuild | 124 +++++++++++++++++++++++
19 dev-util/geany-plugins/metadata.xml | 1 +
20 3 files changed, 126 insertions(+)
21
22 diff --git a/dev-util/geany-plugins/Manifest b/dev-util/geany-plugins/Manifest
23 index 5343c304284..1b5562574dc 100644
24 --- a/dev-util/geany-plugins/Manifest
25 +++ b/dev-util/geany-plugins/Manifest
26 @@ -1 +1,2 @@
27 DIST geany-plugins-1.36.tar.gz 4693634 BLAKE2B a7c319a77cb92a55a0a53063ab75d9375f7d2a0e419eb3e0acd063b8fda4b4d9798c103ce53b80090c73bd86804c58f815aaf8d0eecc0d7fbf7ad1c8470cb9b5 SHA512 b3e58b42432d17c27289fa20d10b833a2d7f5d8c72b51abe5b1ebdabcb952b18e0984b15ef6ac9753102d839f3174f28798269e1e94bf032bdaa189e98d72b2d
28 +DIST geany-plugins-1.37.tar.gz 4711239 BLAKE2B 7f4fd121f6f0784aecf2dcc04d208c89e502b23debcbc40889f93c1421e414c33c8634376cfe01e91c370f70818d33b373b88698f5cb0ee23dff5edee9d781cf SHA512 47f8d7170593114c773067a8132c724471cbf881582a0a739da578ca42533783d8ecbccb04e039f2990ceed440bbd2d94e4be4a28e336c7f74b8e11a15ba4ce9
29
30 diff --git a/dev-util/geany-plugins/geany-plugins-1.37.ebuild b/dev-util/geany-plugins/geany-plugins-1.37.ebuild
31 new file mode 100644
32 index 00000000000..a1018068f12
33 --- /dev/null
34 +++ b/dev-util/geany-plugins/geany-plugins-1.37.ebuild
35 @@ -0,0 +1,124 @@
36 +# Copyright 1999-2020 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +DESCRIPTION="A collection of different plugins for Geany"
42 +HOMEPAGE="https://plugins.geany.org"
43 +SRC_URI="https://plugins.geany.org/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
48 +
49 +IUSE="gtk2 ctags debugger enchant git gpg gtkspell lua markdown nls pretty-printer scope soup workbench"
50 +REQUIRED_USE="gtk2? ( !markdown )"
51 +
52 +DEPEND="
53 + dev-libs/glib:2
54 + >=dev-util/geany-1.37[gtk2=]
55 + !gtk2? ( x11-libs/gtk+:3 )
56 + gtk2? ( x11-libs/gtk+:2 )
57 + ctags? ( dev-util/ctags )
58 + debugger? (
59 + !gtk2? ( x11-libs/vte:2.91 )
60 + gtk2? ( x11-libs/vte:0 )
61 + )
62 + enchant? ( app-text/enchant:= )
63 + git? ( dev-libs/libgit2:= )
64 + gpg? ( app-crypt/gpgme:1= )
65 + gtkspell? (
66 + !gtk2? ( app-text/gtkspell:3= )
67 + gtk2? ( app-text/gtkspell:2 )
68 + )
69 + lua? ( dev-lang/lua:0= )
70 + markdown? (
71 + app-text/discount
72 + net-libs/webkit-gtk:4
73 + )
74 + pretty-printer? ( dev-libs/libxml2:2 )
75 + scope? (
76 + !gtk2? ( x11-libs/vte:2.91 )
77 + gtk2? ( x11-libs/vte:0 )
78 + )
79 + soup? ( net-libs/libsoup:2.4 )
80 + workbench? ( dev-libs/libgit2:= )
81 +"
82 +RDEPEND="${DEPEND}
83 + scope? ( sys-devel/gdb )
84 +"
85 +BDEPEND="virtual/pkgconfig
86 + nls? ( sys-devel/gettext )
87 +"
88 +
89 +src_configure() {
90 + local myeconfargs=(
91 + --disable-cppcheck
92 + --disable-extra-c-warnings
93 + $(use_enable nls)
94 + --enable-utilslib
95 + # Plugins
96 + --enable-addons
97 + --enable-autoclose
98 + --enable-automark
99 + --enable-codenav
100 + --enable-commander
101 + --enable-defineformat
102 + --enable-geanyextrasel
103 + --enable-geanyinsertnum
104 + --enable-geanymacro
105 + --enable-geanyminiscript
106 + --enable-geanynumberedbookmarks
107 + --enable-geanyprj
108 + --enable-geanyvc $(use_enable gtkspell)
109 + --enable-keyrecord
110 + --enable-latex
111 + --enable-lineoperations
112 + --enable-lipsum
113 + --enable-overview
114 + --enable-pairtaghighlighter
115 + --enable-pohelper
116 + --enable-projectorganizer
117 + --enable-sendmail
118 + --enable-shiftcolumn
119 + --enable-tableconvert
120 + --enable-treebrowser
121 + --enable-vimode
122 + --enable-xmlsnippets
123 + $(use_enable debugger)
124 + $(use_enable ctags geanyctags)
125 + $(use_enable gtk2 geanydoc)
126 + $(use_enable lua geanylua)
127 + $(use_enable gpg geanypg)
128 + $(use_enable soup geniuspaste)
129 + $(use_enable git gitchangebar)
130 + $(use_enable markdown) --disable-peg-markdown # using app-text/discount instead
131 + $(use_enable pretty-printer)
132 + $(use_enable scope)
133 + $(use_enable enchant spellcheck)
134 + # Having updatechecker… when you’re using a package manager?
135 + $(use_enable soup updatechecker)
136 + $(use_enable workbench)
137 + # GeanyGenDoc requires ctpl which isn’t yet in portage
138 + --disable-geanygendoc
139 + # Require obsolete and vulnerable webkit-gtk versions
140 + --disable-devhelp
141 + --disable-webhelper
142 + # GTK 2 only
143 + --disable-geanypy
144 + --disable-multiterm
145 + )
146 +
147 + econf "${myeconfargs[@]}"
148 +}
149 +
150 +src_install() {
151 + default
152 +
153 + find "${D}" -name '*.la' -delete || die
154 +
155 + # make installs all translations if LINGUAS is empty
156 + if [[ -z "${LINGUAS-x}" ]]; then
157 + rm -r "${ED}/usr/share/locale/" || die
158 + fi
159 +}
160
161 diff --git a/dev-util/geany-plugins/metadata.xml b/dev-util/geany-plugins/metadata.xml
162 index 6a11d0ae324..db5b9d2b0d4 100644
163 --- a/dev-util/geany-plugins/metadata.xml
164 +++ b/dev-util/geany-plugins/metadata.xml
165 @@ -10,6 +10,7 @@
166 <name>Gentoo Proxy Maintainers Project</name>
167 </maintainer>
168 <use>
169 + <flag name="gtk2">Use GTK+2 instead of GTK+3</flag>
170 <flag name="gtk3">Use GTK+3 instead of GTK+2</flag>
171 <flag name="ctags">Enable ctags plugin</flag>
172 <flag name="debugger">Enable the debugger plugin which interfaces with <pkg>sys-devel/gdb</pkg></flag>