blob: 1ed2993bf077d5452a6d0a72493b7f4f62fd992c [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001DESCRIPTION = "A fast and lightweight IDE"
2HOMEPAGE = "http://plugins.geany.org/"
3
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE_DEFAULT = "GPL-2.0-only"
5LICENSE = "${LICENSE_DEFAULT} & BSD-2-Clause & GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00006
7python () {
8 for plugin in d.getVar('PLUGINS').split():
9 if 'LICENSE:%s' % plugin not in d:
10 d.setVar('LICENSE:' + plugin, '${LICENSE_DEFAULT}')
11}
12
13DEPENDS = " \
14 vala-native \
15 fribidi \
16 geany \
17 libxml2 \
18 libsoup-2.4 \
19 enchant2 \
20 intltool-native \
21 libassuan \
22 gpgme \
23 vte \
24 libgit2 \
25"
26
27inherit features_check autotools pkgconfig gtk-icon-cache
28
29REQUIRED_DISTRO_FEATURES = "x11"
30
31SRC_URI = " \
32 https://plugins.geany.org/${BPN}/${BP}.tar.bz2 \
33 file://0001-Use-pkg-config-to-find-gpgme.patch \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000034 file://0001-git-changebar-Adjust-structs-for-libgit2-1.4.x.patch \
Andrew Geissler9aee5002022-03-30 16:27:02 +000035 file://0001-geany.m4-Do-not-tinker-with-pkg-config-paths.patch \
Andrew Geissler87f5cff2022-09-30 13:13:31 -050036 file://0001-scope-Use-0-instead-of-NULL-for-gboolean.patch \
Andrew Geissler595f6302022-01-24 19:11:47 +000037"
38SRC_URI[sha256sum] = "1c578a7ebb390aa8882f195acd3d8da3ceb73925d291b28dec90cd3e5fd20586"
39
40do_configure:prepend() {
41 rm -f ${S}/build/cache/glib-gettext.m4
42}
43
44FILES:${PN} += "${datadir}/icons"
45FILES:${PN}-dev += "${libdir}/geany/*.la ${libdir}/${BPN}/*/*.la"
46
47PLUGINS += "${PN}-addons"
48LIC_FILES_CHKSUM += "file://addons/COPYING;md5=4325afd396febcb659c36b49533135d4"
49FILES:${PN}-addons = "${libdir}/geany/addons.so"
50
51PLUGINS += "${PN}-autoclose"
52LIC_FILES_CHKSUM += "file://autoclose/COPYING;md5=751419260aa954499f7abaabaa882bbe"
53FILES:${PN}-autoclose = "${libdir}/geany/autoclose.so"
54
55PLUGINS += "${PN}-automark"
56LIC_FILES_CHKSUM += "file://automark/COPYING;md5=751419260aa954499f7abaabaa882bbe"
57FILES:${PN}-automark = "${libdir}/geany/automark.so"
58
59PLUGINS += "${PN}-codenav"
60LIC_FILES_CHKSUM += "file://codenav/COPYING;md5=751419260aa954499f7abaabaa882bbe"
61FILES:${PN}-codenav = "${libdir}/geany/codenav.so"
62
63PLUGINS += "${PN}-commander"
64LIC_FILES_CHKSUM += "file://commander/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Andrew Geissler9aee5002022-03-30 16:27:02 +000065LICENSE:${PN}-commander = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +000066FILES:${PN}-commander = "${libdir}/geany/commander.so"
67
68# | checking whether the GTK version in use is compatible with plugin Debugger... no
69EXTRA_OECONF += "--disable-debugger"
70#PLUGINS += "${PN}-debugger"
71#LIC_FILES_CHKSUM += "file://debugger/COPYING;md5=4325afd396febcb659c36b49533135d4"
72#FILES:${PN}-debugger = "${libdir}/geany/debugger.so ${datadir}/${PN}/debugger"
73
74PLUGINS += "${PN}-defineformat"
75LIC_FILES_CHKSUM += "file://defineformat/COPYING;md5=751419260aa954499f7abaabaa882bbe"
76FILES:${PN}-defineformat = "${libdir}/geany/defineformat.so"
77
78# no gnome devhelp in some common layer
79EXTRA_OECONF += "--disable-devhelp"
80#PLUGINS += "${PN}-devhelp"
81#LIC_FILES_CHKSUM += "file://devhelp/COPYING;md5=d32239bcb673463ab874e80d47fae504"
82#LICENSE:${PN}-devhelp = "GPLv3"
83#FILES:${PN}-devhelp = "${libdir}/geany/devhelp.so"
84
85PLUGINS += "${PN}-geanyctags"
86LIC_FILES_CHKSUM += "file://geanyctags/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
87FILES:${PN}-geanyctags = "${libdir}/geany/geanyctags.so"
88
89PLUGINS += "${PN}-geanydoc"
90LIC_FILES_CHKSUM += "file://geanydoc/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Andrew Geissler9aee5002022-03-30 16:27:02 +000091LICENSE:${PN}-geanydoc = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +000092FILES:${PN}-geanydoc = "${libdir}/geany/geanydoc.so"
93
94PLUGINS += "${PN}-geanyextrasel"
95LIC_FILES_CHKSUM += "file://geanyextrasel/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
96FILES:${PN}-geanyextrasel = "${libdir}/geany/geanyextrasel.so"
97
98PLUGINS += "${PN}-geanyinsertnum"
99LIC_FILES_CHKSUM += "file://geanyinsertnum/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
100FILES:${PN}-geanyinsertnum = "${libdir}/geany/geanyinsertnum.so"
101
102# no lua: max supported version is 5.2
103EXTRA_OECONF += "--disable-geanylua"
104#PLUGINS += "${PN}-geanylua"
105#LIC_FILES_CHKSUM += "file://geanylua/COPYING;md5=4325afd396febcb659c36b49533135d4"
106#FILES:${PN}-geanylua = "${libdir}/geany/geanylua.so ${libdir}/${PN}/geanylua/*.so"
107
108PLUGINS += "${PN}-geanymacro"
109LIC_FILES_CHKSUM += "file://geanymacro/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
110FILES:${PN}-geanymacro = "${libdir}/geany/geanymacro.so"
111
112PLUGINS += "${PN}-geanyminiscript"
113LIC_FILES_CHKSUM += "file://geanyminiscript/COPYING;md5=4325afd396febcb659c36b49533135d4"
114FILES:${PN}-geanyminiscript = "${libdir}/geany/geanyminiscript.so"
115
116PLUGINS += "${PN}-geanynumberedbookmarks"
117LIC_FILES_CHKSUM += "file://geanynumberedbookmarks/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
118FILES:${PN}-geanynumberedbookmarks = "${libdir}/geany/geanynumberedbookmarks.so"
119
120PLUGINS += "${PN}-geanypg"
121LIC_FILES_CHKSUM += "file://geanypg/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
122FILES:${PN}-geanypg = "${libdir}/geany/geanypg.so"
123
124PLUGINS += "${PN}-geanyprj"
125LIC_FILES_CHKSUM += "file://geanyprj/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Andrew Geissler9aee5002022-03-30 16:27:02 +0000126LICENSE:${PN}-geanyprj = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +0000127FILES:${PN}-geanyprj = "${libdir}/geany/geanyprj.so"
128
129#PLUGINS += "${PN}-geanypy"
130#LIC_FILES_CHKSUM += "file://geanypy/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
131#FILES:${PN}-geanypy = "${libdir}/geany/geanypy.so"
132
133PLUGINS += "${PN}-geanyvc"
134LIC_FILES_CHKSUM += "file://geanyvc/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
135FILES:${PN}-geanyvc = "${libdir}/geany/geanyvc.so"
136
137PLUGINS += "${PN}-geniuspaste"
138LIC_FILES_CHKSUM += "file://geniuspaste/COPYING;md5=bfc203269f8862ebfc1198cdc809a95a"
139FILES:${PN}-geniuspaste = "${libdir}/geany/geniuspaste.so ${datadir}/${PN}/geniuspaste"
140
141PLUGINS += "${PN}-git-changebar"
142LIC_FILES_CHKSUM += "file://git-changebar/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Andrew Geissler9aee5002022-03-30 16:27:02 +0000143LICENSE:${PN}-git-changebar = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +0000144FILES:${PN}-git-changebar = "${datadir}/${BPN}/git-changebar ${libdir}/geany/git-changebar.so"
145
146PLUGINS += "${PN}-keyrecord"
147LIC_FILES_CHKSUM += "file://keyrecord/COPYING;md5=751419260aa954499f7abaabaa882bbe"
148FILES:${PN}-keyrecord = "${libdir}/geany/keyrecord.so"
149
150PLUGINS += "${PN}-latex"
151LIC_FILES_CHKSUM += "file://latex/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
152FILES:${PN}-latex = "${libdir}/geany/latex.so"
153
154PLUGINS += "${PN}-lineoperations"
155LIC_FILES_CHKSUM += "file://lineoperations/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
156FILES:${PN}-lineoperations = "${libdir}/geany/lineoperations.so"
157
158PLUGINS += "${PN}-lipsum"
159LIC_FILES_CHKSUM += "file://lipsum/COPYING;md5=4325afd396febcb659c36b49533135d4"
160FILES:${PN}-lipsum = "${libdir}/geany/lipsum.so"
161
162# no markdown - avoid floating dependencies
163EXTRA_OECONF += "--disable-peg-markdown"
164#PLUGINS += "${PN}-markdown"
165#LIC_FILES_CHKSUM += "file://markdown/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
166#FILES:${PN}-markdown = "${libdir}/geany/markdown.so"
167
168# | checking whether the GTK version in use is compatible with plugin multiterm... no
169EXTRA_OECONF += "--disable-multiterm"
170#PLUGINS += "${PN}-multiterm"
171#LIC_FILES_CHKSUM += "file://multiterm/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
172#FILES:${PN}-multiterm = "${libdir}/geany/multiterm.so"
173
174PLUGINS += "${PN}-overview"
175LIC_FILES_CHKSUM += "file://overview/overview/overviewplugin.c;beginline=4;endline=20;md5=1aa33522916cdeb46cccac0c629da0d0"
176FILES:${PN}-overview = "${libdir}/geany/overview.so ${datadir}/${PN}/overview"
177
178PLUGINS += "${PN}-pairtaghighlighter"
179LICENSE:${PN}-pairtaghighlighter = "BSD-2-Clause"
180LIC_FILES_CHKSUM += "file://pairtaghighlighter/COPYING;md5=d6d927525a612b3a8dbebc4b2e9b47c1"
181FILES:${PN}-pairtaghighlighter = "${libdir}/geany/pairtaghighlighter.so"
182
183PLUGINS += "${PN}-pohelper"
Andrew Geissler9aee5002022-03-30 16:27:02 +0000184LICENSE:${PN}-pohelper = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +0000185LIC_FILES_CHKSUM += "file://pohelper/COPYING;md5=d32239bcb673463ab874e80d47fae504"
186FILES:${PN}-pohelper = "${datadir}/${BPN}/pohelper ${libdir}/geany/pohelper.so"
187
188PLUGINS += "${PN}-pretty-printer"
189LIC_FILES_CHKSUM += "file://pretty-printer/src/PrettyPrinter.c;beginline=1;endline=17;md5=1665115c2fadb17c1b53cdb4e43b2440"
190FILES:${PN}-pretty-printer = "${libdir}/geany/pretty-printer.so"
191
192PLUGINS += "${PN}-projectorganizer"
193LIC_FILES_CHKSUM += "file://projectorganizer/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
194FILES:${PN}-projectorganizer = "${libdir}/geany/projectorganizer.so"
195
196PLUGINS += "${PN}-scope"
197LIC_FILES_CHKSUM += "file://scope/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
198FILES:${PN}-scope = "${datadir}/${BPN}/scope ${libdir}/geany/scope.so"
199
200PLUGINS += "${PN}-sendmail"
201LIC_FILES_CHKSUM += "file://sendmail/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
202FILES:${PN}-sendmail = "${libdir}/geany/sendmail.so"
203
204PLUGINS += "${PN}-shiftcolumn"
205LIC_FILES_CHKSUM += "file://shiftcolumn/COPYING;md5=751419260aa954499f7abaabaa882bbe"
206FILES:${PN}-shiftcolumn = "${libdir}/geany/shiftcolumn.so"
207
208PLUGINS += "${PN}-spellcheck"
209LIC_FILES_CHKSUM += "file://spellcheck/COPYING;md5=4325afd396febcb659c36b49533135d4"
210FILES:${PN}-spellcheck = "${libdir}/geany/spellcheck.so"
211
212PLUGINS += "${PN}-tableconvert"
213LIC_FILES_CHKSUM += "file://tableconvert/COPYING;md5=6753686878d090a1f3f9445661d3dfbc"
214FILES:${PN}-tableconvert = "${libdir}/geany/tableconvert.so"
215
216PLUGINS += "${PN}-treebrowser"
217LIC_FILES_CHKSUM += "file://treebrowser/README;beginline=67;endline=67;md5=1f17f0f2abb88e0fa0f1b342112d871c"
218FILES:${PN}-treebrowser = "${libdir}/geany/treebrowser.so"
219
220PLUGINS += "${PN}-updatechecker"
221LIC_FILES_CHKSUM += "file://updatechecker/COPYING;md5=4325afd396febcb659c36b49533135d4"
222FILES:${PN}-updatechecker = "${libdir}/geany/updatechecker.so"
223
224PLUGINS += "${PN}-vimode"
225LIC_FILES_CHKSUM += "file://vimode/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
226FILES:${PN}-vimode = "${libdir}/geany/vimode.so"
227
228# no webkit - lasts ages and is not properly detected
229EXTRA_OECONF += " --disable-webhelper"
230#PLUGINS += "${PN}-webhelper"
231#LIC_FILES_CHKSUM += "file://webhelper/COPYING;md5=d32239bcb673463ab874e80d47fae504"
232#LICENSE:${PN}-webhelper = "GPLv3"
233#FILES:${PN}-webhelper = "${libdir}/geany/webhelper.so"
234
235PLUGINS += "${PN}-workbench"
236LIC_FILES_CHKSUM += "file://workbench/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
237FILES:${PN}-workbench = "${libdir}/geany/workbench.so"
238
239PLUGINS += "${PN}-xmlsnippets"
240LIC_FILES_CHKSUM += "file://xmlsnippets/COPYING;md5=4325afd396febcb659c36b49533135d4"
241FILES:${PN}-xmlsnippets = "${libdir}/geany/xmlsnippets.so"
242
243PACKAGES =+ "${PN}-common ${PLUGINS}"
244FILES:${PN}-common = "${libdir}/libgeanypluginutils${SOLIBS}"
245
246# geany-plugins is meta package for all plugins
247RDEPENDS:${PN} = "${PLUGINS}"
248ALLOW_EMPTY:${PN} = "1"