Gentoo Archives: gentoo-commits

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