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