blob: fa4cccca036e02a5d07d852be48c0eb40b38b861 [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 Geissler595f6302022-01-24 19:11:47 +000036"
37SRC_URI[sha256sum] = "1c578a7ebb390aa8882f195acd3d8da3ceb73925d291b28dec90cd3e5fd20586"
38
39do_configure:prepend() {
40 rm -f ${S}/build/cache/glib-gettext.m4
41}
42
43FILES:${PN} += "${datadir}/icons"
44FILES:${PN}-dev += "${libdir}/geany/*.la ${libdir}/${BPN}/*/*.la"
45
46PLUGINS += "${PN}-addons"
47LIC_FILES_CHKSUM += "file://addons/COPYING;md5=4325afd396febcb659c36b49533135d4"
48FILES:${PN}-addons = "${libdir}/geany/addons.so"
49
50PLUGINS += "${PN}-autoclose"
51LIC_FILES_CHKSUM += "file://autoclose/COPYING;md5=751419260aa954499f7abaabaa882bbe"
52FILES:${PN}-autoclose = "${libdir}/geany/autoclose.so"
53
54PLUGINS += "${PN}-automark"
55LIC_FILES_CHKSUM += "file://automark/COPYING;md5=751419260aa954499f7abaabaa882bbe"
56FILES:${PN}-automark = "${libdir}/geany/automark.so"
57
58PLUGINS += "${PN}-codenav"
59LIC_FILES_CHKSUM += "file://codenav/COPYING;md5=751419260aa954499f7abaabaa882bbe"
60FILES:${PN}-codenav = "${libdir}/geany/codenav.so"
61
62PLUGINS += "${PN}-commander"
63LIC_FILES_CHKSUM += "file://commander/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Andrew Geissler9aee5002022-03-30 16:27:02 +000064LICENSE:${PN}-commander = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +000065FILES:${PN}-commander = "${libdir}/geany/commander.so"
66
67# | checking whether the GTK version in use is compatible with plugin Debugger... no
68EXTRA_OECONF += "--disable-debugger"
69#PLUGINS += "${PN}-debugger"
70#LIC_FILES_CHKSUM += "file://debugger/COPYING;md5=4325afd396febcb659c36b49533135d4"
71#FILES:${PN}-debugger = "${libdir}/geany/debugger.so ${datadir}/${PN}/debugger"
72
73PLUGINS += "${PN}-defineformat"
74LIC_FILES_CHKSUM += "file://defineformat/COPYING;md5=751419260aa954499f7abaabaa882bbe"
75FILES:${PN}-defineformat = "${libdir}/geany/defineformat.so"
76
77# no gnome devhelp in some common layer
78EXTRA_OECONF += "--disable-devhelp"
79#PLUGINS += "${PN}-devhelp"
80#LIC_FILES_CHKSUM += "file://devhelp/COPYING;md5=d32239bcb673463ab874e80d47fae504"
81#LICENSE:${PN}-devhelp = "GPLv3"
82#FILES:${PN}-devhelp = "${libdir}/geany/devhelp.so"
83
84PLUGINS += "${PN}-geanyctags"
85LIC_FILES_CHKSUM += "file://geanyctags/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
86FILES:${PN}-geanyctags = "${libdir}/geany/geanyctags.so"
87
88PLUGINS += "${PN}-geanydoc"
89LIC_FILES_CHKSUM += "file://geanydoc/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Andrew Geissler9aee5002022-03-30 16:27:02 +000090LICENSE:${PN}-geanydoc = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +000091FILES:${PN}-geanydoc = "${libdir}/geany/geanydoc.so"
92
93PLUGINS += "${PN}-geanyextrasel"
94LIC_FILES_CHKSUM += "file://geanyextrasel/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
95FILES:${PN}-geanyextrasel = "${libdir}/geany/geanyextrasel.so"
96
97PLUGINS += "${PN}-geanyinsertnum"
98LIC_FILES_CHKSUM += "file://geanyinsertnum/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
99FILES:${PN}-geanyinsertnum = "${libdir}/geany/geanyinsertnum.so"
100
101# no lua: max supported version is 5.2
102EXTRA_OECONF += "--disable-geanylua"
103#PLUGINS += "${PN}-geanylua"
104#LIC_FILES_CHKSUM += "file://geanylua/COPYING;md5=4325afd396febcb659c36b49533135d4"
105#FILES:${PN}-geanylua = "${libdir}/geany/geanylua.so ${libdir}/${PN}/geanylua/*.so"
106
107PLUGINS += "${PN}-geanymacro"
108LIC_FILES_CHKSUM += "file://geanymacro/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
109FILES:${PN}-geanymacro = "${libdir}/geany/geanymacro.so"
110
111PLUGINS += "${PN}-geanyminiscript"
112LIC_FILES_CHKSUM += "file://geanyminiscript/COPYING;md5=4325afd396febcb659c36b49533135d4"
113FILES:${PN}-geanyminiscript = "${libdir}/geany/geanyminiscript.so"
114
115PLUGINS += "${PN}-geanynumberedbookmarks"
116LIC_FILES_CHKSUM += "file://geanynumberedbookmarks/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
117FILES:${PN}-geanynumberedbookmarks = "${libdir}/geany/geanynumberedbookmarks.so"
118
119PLUGINS += "${PN}-geanypg"
120LIC_FILES_CHKSUM += "file://geanypg/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
121FILES:${PN}-geanypg = "${libdir}/geany/geanypg.so"
122
123PLUGINS += "${PN}-geanyprj"
124LIC_FILES_CHKSUM += "file://geanyprj/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Andrew Geissler9aee5002022-03-30 16:27:02 +0000125LICENSE:${PN}-geanyprj = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +0000126FILES:${PN}-geanyprj = "${libdir}/geany/geanyprj.so"
127
128#PLUGINS += "${PN}-geanypy"
129#LIC_FILES_CHKSUM += "file://geanypy/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
130#FILES:${PN}-geanypy = "${libdir}/geany/geanypy.so"
131
132PLUGINS += "${PN}-geanyvc"
133LIC_FILES_CHKSUM += "file://geanyvc/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
134FILES:${PN}-geanyvc = "${libdir}/geany/geanyvc.so"
135
136PLUGINS += "${PN}-geniuspaste"
137LIC_FILES_CHKSUM += "file://geniuspaste/COPYING;md5=bfc203269f8862ebfc1198cdc809a95a"
138FILES:${PN}-geniuspaste = "${libdir}/geany/geniuspaste.so ${datadir}/${PN}/geniuspaste"
139
140PLUGINS += "${PN}-git-changebar"
141LIC_FILES_CHKSUM += "file://git-changebar/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Andrew Geissler9aee5002022-03-30 16:27:02 +0000142LICENSE:${PN}-git-changebar = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +0000143FILES:${PN}-git-changebar = "${datadir}/${BPN}/git-changebar ${libdir}/geany/git-changebar.so"
144
145PLUGINS += "${PN}-keyrecord"
146LIC_FILES_CHKSUM += "file://keyrecord/COPYING;md5=751419260aa954499f7abaabaa882bbe"
147FILES:${PN}-keyrecord = "${libdir}/geany/keyrecord.so"
148
149PLUGINS += "${PN}-latex"
150LIC_FILES_CHKSUM += "file://latex/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
151FILES:${PN}-latex = "${libdir}/geany/latex.so"
152
153PLUGINS += "${PN}-lineoperations"
154LIC_FILES_CHKSUM += "file://lineoperations/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
155FILES:${PN}-lineoperations = "${libdir}/geany/lineoperations.so"
156
157PLUGINS += "${PN}-lipsum"
158LIC_FILES_CHKSUM += "file://lipsum/COPYING;md5=4325afd396febcb659c36b49533135d4"
159FILES:${PN}-lipsum = "${libdir}/geany/lipsum.so"
160
161# no markdown - avoid floating dependencies
162EXTRA_OECONF += "--disable-peg-markdown"
163#PLUGINS += "${PN}-markdown"
164#LIC_FILES_CHKSUM += "file://markdown/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
165#FILES:${PN}-markdown = "${libdir}/geany/markdown.so"
166
167# | checking whether the GTK version in use is compatible with plugin multiterm... no
168EXTRA_OECONF += "--disable-multiterm"
169#PLUGINS += "${PN}-multiterm"
170#LIC_FILES_CHKSUM += "file://multiterm/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
171#FILES:${PN}-multiterm = "${libdir}/geany/multiterm.so"
172
173PLUGINS += "${PN}-overview"
174LIC_FILES_CHKSUM += "file://overview/overview/overviewplugin.c;beginline=4;endline=20;md5=1aa33522916cdeb46cccac0c629da0d0"
175FILES:${PN}-overview = "${libdir}/geany/overview.so ${datadir}/${PN}/overview"
176
177PLUGINS += "${PN}-pairtaghighlighter"
178LICENSE:${PN}-pairtaghighlighter = "BSD-2-Clause"
179LIC_FILES_CHKSUM += "file://pairtaghighlighter/COPYING;md5=d6d927525a612b3a8dbebc4b2e9b47c1"
180FILES:${PN}-pairtaghighlighter = "${libdir}/geany/pairtaghighlighter.so"
181
182PLUGINS += "${PN}-pohelper"
Andrew Geissler9aee5002022-03-30 16:27:02 +0000183LICENSE:${PN}-pohelper = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +0000184LIC_FILES_CHKSUM += "file://pohelper/COPYING;md5=d32239bcb673463ab874e80d47fae504"
185FILES:${PN}-pohelper = "${datadir}/${BPN}/pohelper ${libdir}/geany/pohelper.so"
186
187PLUGINS += "${PN}-pretty-printer"
188LIC_FILES_CHKSUM += "file://pretty-printer/src/PrettyPrinter.c;beginline=1;endline=17;md5=1665115c2fadb17c1b53cdb4e43b2440"
189FILES:${PN}-pretty-printer = "${libdir}/geany/pretty-printer.so"
190
191PLUGINS += "${PN}-projectorganizer"
192LIC_FILES_CHKSUM += "file://projectorganizer/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
193FILES:${PN}-projectorganizer = "${libdir}/geany/projectorganizer.so"
194
195PLUGINS += "${PN}-scope"
196LIC_FILES_CHKSUM += "file://scope/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
197FILES:${PN}-scope = "${datadir}/${BPN}/scope ${libdir}/geany/scope.so"
198
199PLUGINS += "${PN}-sendmail"
200LIC_FILES_CHKSUM += "file://sendmail/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
201FILES:${PN}-sendmail = "${libdir}/geany/sendmail.so"
202
203PLUGINS += "${PN}-shiftcolumn"
204LIC_FILES_CHKSUM += "file://shiftcolumn/COPYING;md5=751419260aa954499f7abaabaa882bbe"
205FILES:${PN}-shiftcolumn = "${libdir}/geany/shiftcolumn.so"
206
207PLUGINS += "${PN}-spellcheck"
208LIC_FILES_CHKSUM += "file://spellcheck/COPYING;md5=4325afd396febcb659c36b49533135d4"
209FILES:${PN}-spellcheck = "${libdir}/geany/spellcheck.so"
210
211PLUGINS += "${PN}-tableconvert"
212LIC_FILES_CHKSUM += "file://tableconvert/COPYING;md5=6753686878d090a1f3f9445661d3dfbc"
213FILES:${PN}-tableconvert = "${libdir}/geany/tableconvert.so"
214
215PLUGINS += "${PN}-treebrowser"
216LIC_FILES_CHKSUM += "file://treebrowser/README;beginline=67;endline=67;md5=1f17f0f2abb88e0fa0f1b342112d871c"
217FILES:${PN}-treebrowser = "${libdir}/geany/treebrowser.so"
218
219PLUGINS += "${PN}-updatechecker"
220LIC_FILES_CHKSUM += "file://updatechecker/COPYING;md5=4325afd396febcb659c36b49533135d4"
221FILES:${PN}-updatechecker = "${libdir}/geany/updatechecker.so"
222
223PLUGINS += "${PN}-vimode"
224LIC_FILES_CHKSUM += "file://vimode/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
225FILES:${PN}-vimode = "${libdir}/geany/vimode.so"
226
227# no webkit - lasts ages and is not properly detected
228EXTRA_OECONF += " --disable-webhelper"
229#PLUGINS += "${PN}-webhelper"
230#LIC_FILES_CHKSUM += "file://webhelper/COPYING;md5=d32239bcb673463ab874e80d47fae504"
231#LICENSE:${PN}-webhelper = "GPLv3"
232#FILES:${PN}-webhelper = "${libdir}/geany/webhelper.so"
233
234PLUGINS += "${PN}-workbench"
235LIC_FILES_CHKSUM += "file://workbench/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
236FILES:${PN}-workbench = "${libdir}/geany/workbench.so"
237
238PLUGINS += "${PN}-xmlsnippets"
239LIC_FILES_CHKSUM += "file://xmlsnippets/COPYING;md5=4325afd396febcb659c36b49533135d4"
240FILES:${PN}-xmlsnippets = "${libdir}/geany/xmlsnippets.so"
241
242PACKAGES =+ "${PN}-common ${PLUGINS}"
243FILES:${PN}-common = "${libdir}/libgeanypluginutils${SOLIBS}"
244
245# geany-plugins is meta package for all plugins
246RDEPENDS:${PN} = "${PLUGINS}"
247ALLOW_EMPTY:${PN} = "1"