blob: a6a0b17dd499a8472aeb2f0a56869ab38b3dd20e [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DESCRIPTION = "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 \
Brad Bishope42b3e32020-01-15 22:08:42 -050019 enchant2 \
Brad Bishop19323692019-04-05 15:28:33 -040020 intltool-native \
21 libassuan \
22 gpgme \
23 vte \
24 libgit2 \
25"
26
Brad Bishop8410d612019-11-25 09:40:59 -050027inherit features_check autotools pkgconfig gtk-icon-cache
Brad Bishop19323692019-04-05 15:28:33 -040028
29REQUIRED_DISTRO_FEATURES = "x11"
30
31SRC_URI = " \
Brad Bishop2d39a062019-10-28 08:33:36 -040032 https://plugins.geany.org/${BPN}/${BP}.tar.bz2 \
Brad Bishop19323692019-04-05 15:28:33 -040033 file://0001-Use-pkg-config-to-find-gpgme.patch \
34"
Brad Bishop2d39a062019-10-28 08:33:36 -040035SRC_URI[md5sum] = "91fb4634953702f914d9105da7048a33"
36SRC_URI[sha256sum] = "ebe18dd699292174622e8cb8745b020ada8a5be3b604ab980af36e8518df7ce6"
Brad Bishop19323692019-04-05 15:28:33 -040037
38do_configure_prepend() {
39 rm -f ${S}/build/cache/glib-gettext.m4
40}
41
42FILES_${PN} += "${datadir}/icons"
Brad Bishop26bdd442019-08-16 17:08:17 -040043FILES_${PN}-dev += "${libdir}/geany/*.la ${libdir}/${BPN}/*/*.la"
Brad Bishop19323692019-04-05 15:28:33 -040044
45PLUGINS += "${PN}-addons"
46LIC_FILES_CHKSUM += "file://addons/COPYING;md5=4325afd396febcb659c36b49533135d4"
47FILES_${PN}-addons = "${libdir}/geany/addons.so"
48
49PLUGINS += "${PN}-autoclose"
50LIC_FILES_CHKSUM += "file://autoclose/COPYING;md5=751419260aa954499f7abaabaa882bbe"
51FILES_${PN}-autoclose = "${libdir}/geany/autoclose.so"
52
53PLUGINS += "${PN}-automark"
54LIC_FILES_CHKSUM += "file://automark/COPYING;md5=751419260aa954499f7abaabaa882bbe"
55FILES_${PN}-automark = "${libdir}/geany/automark.so"
56
57PLUGINS += "${PN}-codenav"
58LIC_FILES_CHKSUM += "file://codenav/COPYING;md5=751419260aa954499f7abaabaa882bbe"
59FILES_${PN}-codenav = "${libdir}/geany/codenav.so"
60
61PLUGINS += "${PN}-commander"
62LIC_FILES_CHKSUM += "file://commander/COPYING;md5=d32239bcb673463ab874e80d47fae504"
63LICENSE_${PN}-commander = "GPLv3"
64FILES_${PN}-commander = "${libdir}/geany/commander.so"
65
66# | checking whether the GTK version in use is compatible with plugin Debugger... no
67EXTRA_OECONF += "--disable-debugger"
68#PLUGINS += "${PN}-debugger"
69#LIC_FILES_CHKSUM += "file://debugger/COPYING;md5=4325afd396febcb659c36b49533135d4"
70#FILES_${PN}-debugger = "${libdir}/geany/debugger.so ${datadir}/${PN}/debugger"
71
72PLUGINS += "${PN}-defineformat"
73LIC_FILES_CHKSUM += "file://defineformat/COPYING;md5=751419260aa954499f7abaabaa882bbe"
74FILES_${PN}-defineformat = "${libdir}/geany/defineformat.so"
75
76# no gnome devhelp in some common layer
77EXTRA_OECONF += "--disable-devhelp"
78#PLUGINS += "${PN}-devhelp"
79#LIC_FILES_CHKSUM += "file://devhelp/COPYING;md5=d32239bcb673463ab874e80d47fae504"
80#LICENSE_${PN}-devhelp = "GPLv3"
81#FILES_${PN}-devhelp = "${libdir}/geany/devhelp.so"
82
83PLUGINS += "${PN}-geanyctags"
84LIC_FILES_CHKSUM += "file://geanyctags/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
85FILES_${PN}-geanyctags = "${libdir}/geany/geanyctags.so"
86
87PLUGINS += "${PN}-geanydoc"
88LIC_FILES_CHKSUM += "file://geanydoc/COPYING;md5=d32239bcb673463ab874e80d47fae504"
89LICENSE_${PN}-geanydoc = "GPLv3"
90FILES_${PN}-geanydoc = "${libdir}/geany/geanydoc.so"
91
92PLUGINS += "${PN}-geanyextrasel"
93LIC_FILES_CHKSUM += "file://geanyextrasel/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
94FILES_${PN}-geanyextrasel = "${libdir}/geany/geanyextrasel.so"
95
96PLUGINS += "${PN}-geanyinsertnum"
97LIC_FILES_CHKSUM += "file://geanyinsertnum/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
98FILES_${PN}-geanyinsertnum = "${libdir}/geany/geanyinsertnum.so"
99
100# no lua: max supported version is 5.2
101EXTRA_OECONF += "--disable-geanylua"
102#PLUGINS += "${PN}-geanylua"
103#LIC_FILES_CHKSUM += "file://geanylua/COPYING;md5=4325afd396febcb659c36b49533135d4"
104#FILES_${PN}-geanylua = "${libdir}/geany/geanylua.so ${libdir}/${PN}/geanylua/*.so"
105
106PLUGINS += "${PN}-geanymacro"
107LIC_FILES_CHKSUM += "file://geanymacro/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
108FILES_${PN}-geanymacro = "${libdir}/geany/geanymacro.so"
109
110PLUGINS += "${PN}-geanyminiscript"
111LIC_FILES_CHKSUM += "file://geanyminiscript/COPYING;md5=4325afd396febcb659c36b49533135d4"
112FILES_${PN}-geanyminiscript = "${libdir}/geany/geanyminiscript.so"
113
114PLUGINS += "${PN}-geanynumberedbookmarks"
115LIC_FILES_CHKSUM += "file://geanynumberedbookmarks/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
116FILES_${PN}-geanynumberedbookmarks = "${libdir}/geany/geanynumberedbookmarks.so"
117
118PLUGINS += "${PN}-geanypg"
119LIC_FILES_CHKSUM += "file://geanypg/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
120FILES_${PN}-geanypg = "${libdir}/geany/geanypg.so"
121
122PLUGINS += "${PN}-geanyprj"
123LIC_FILES_CHKSUM += "file://geanyprj/COPYING;md5=d32239bcb673463ab874e80d47fae504"
124LICENSE_${PN}-geanyprj = "GPLv3"
125FILES_${PN}-geanyprj = "${libdir}/geany/geanyprj.so"
126
127#PLUGINS += "${PN}-geanypy"
128#LIC_FILES_CHKSUM += "file://geanypy/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
129#FILES_${PN}-geanypy = "${libdir}/geany/geanypy.so"
130
131PLUGINS += "${PN}-geanyvc"
132LIC_FILES_CHKSUM += "file://geanyvc/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
133FILES_${PN}-geanyvc = "${libdir}/geany/geanyvc.so"
134
135PLUGINS += "${PN}-geniuspaste"
136LIC_FILES_CHKSUM += "file://geniuspaste/COPYING;md5=bfc203269f8862ebfc1198cdc809a95a"
137FILES_${PN}-geniuspaste = "${libdir}/geany/geniuspaste.so ${datadir}/${PN}/geniuspaste"
138
139PLUGINS += "${PN}-git-changebar"
140LIC_FILES_CHKSUM += "file://git-changebar/COPYING;md5=d32239bcb673463ab874e80d47fae504"
141LICENSE_${PN}-git-changebar = "GPLv3"
142FILES_${PN}-git-changebar = "${datadir}/${BPN}/git-changebar ${libdir}/geany/git-changebar.so"
143
144PLUGINS += "${PN}-keyrecord"
145LIC_FILES_CHKSUM += "file://keyrecord/COPYING;md5=751419260aa954499f7abaabaa882bbe"
146FILES_${PN}-keyrecord = "${libdir}/geany/keyrecord.so"
147
148PLUGINS += "${PN}-latex"
149LIC_FILES_CHKSUM += "file://latex/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
150FILES_${PN}-latex = "${libdir}/geany/latex.so"
151
152PLUGINS += "${PN}-lineoperations"
153LIC_FILES_CHKSUM += "file://lineoperations/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
154FILES_${PN}-lineoperations = "${libdir}/geany/lineoperations.so"
155
156PLUGINS += "${PN}-lipsum"
157LIC_FILES_CHKSUM += "file://lipsum/COPYING;md5=4325afd396febcb659c36b49533135d4"
158FILES_${PN}-lipsum = "${libdir}/geany/lipsum.so"
159
160# no markdown - avoid floating dependencies
161EXTRA_OECONF += "--disable-peg-markdown"
162#PLUGINS += "${PN}-markdown"
163#LIC_FILES_CHKSUM += "file://markdown/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
164#FILES_${PN}-markdown = "${libdir}/geany/markdown.so"
165
166# | checking whether the GTK version in use is compatible with plugin multiterm... no
167EXTRA_OECONF += "--disable-multiterm"
168#PLUGINS += "${PN}-multiterm"
169#LIC_FILES_CHKSUM += "file://multiterm/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
170#FILES_${PN}-multiterm = "${libdir}/geany/multiterm.so"
171
172PLUGINS += "${PN}-overview"
173LIC_FILES_CHKSUM += "file://overview/overview/overviewplugin.c;beginline=4;endline=20;md5=1aa33522916cdeb46cccac0c629da0d0"
174FILES_${PN}-overview = "${libdir}/geany/overview.so ${datadir}/${PN}/overview"
175
176PLUGINS += "${PN}-pairtaghighlighter"
177LICENSE_${PN}-pairtaghighlighter = "BSD-2-Clause"
178LIC_FILES_CHKSUM += "file://pairtaghighlighter/COPYING;md5=d6d927525a612b3a8dbebc4b2e9b47c1"
179FILES_${PN}-pairtaghighlighter = "${libdir}/geany/pairtaghighlighter.so"
180
181PLUGINS += "${PN}-pohelper"
182LICENSE_${PN}-pohelper = "GPLv3"
183LIC_FILES_CHKSUM += "file://pohelper/COPYING;md5=d32239bcb673463ab874e80d47fae504"
184FILES_${PN}-pohelper = "${datadir}/${BPN}/pohelper ${libdir}/geany/pohelper.so"
185
186PLUGINS += "${PN}-pretty-printer"
187LIC_FILES_CHKSUM += "file://pretty-printer/src/PrettyPrinter.c;beginline=1;endline=17;md5=1665115c2fadb17c1b53cdb4e43b2440"
188FILES_${PN}-pretty-printer = "${libdir}/geany/pretty-printer.so"
189
190PLUGINS += "${PN}-projectorganizer"
191LIC_FILES_CHKSUM += "file://projectorganizer/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
192FILES_${PN}-projectorganizer = "${libdir}/geany/projectorganizer.so"
193
194PLUGINS += "${PN}-scope"
195LIC_FILES_CHKSUM += "file://scope/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
196FILES_${PN}-scope = "${datadir}/${BPN}/scope ${libdir}/geany/scope.so"
197
198PLUGINS += "${PN}-sendmail"
199LIC_FILES_CHKSUM += "file://sendmail/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
200FILES_${PN}-sendmail = "${libdir}/geany/sendmail.so"
201
202PLUGINS += "${PN}-shiftcolumn"
203LIC_FILES_CHKSUM += "file://shiftcolumn/COPYING;md5=751419260aa954499f7abaabaa882bbe"
204FILES_${PN}-shiftcolumn = "${libdir}/geany/shiftcolumn.so"
205
206PLUGINS += "${PN}-spellcheck"
207LIC_FILES_CHKSUM += "file://spellcheck/COPYING;md5=4325afd396febcb659c36b49533135d4"
208FILES_${PN}-spellcheck = "${libdir}/geany/spellcheck.so"
209
210PLUGINS += "${PN}-tableconvert"
211LIC_FILES_CHKSUM += "file://tableconvert/COPYING;md5=6753686878d090a1f3f9445661d3dfbc"
212FILES_${PN}-tableconvert = "${libdir}/geany/tableconvert.so"
213
214PLUGINS += "${PN}-treebrowser"
215LIC_FILES_CHKSUM += "file://treebrowser/README;beginline=67;endline=67;md5=1f17f0f2abb88e0fa0f1b342112d871c"
216FILES_${PN}-treebrowser = "${libdir}/geany/treebrowser.so"
217
218PLUGINS += "${PN}-updatechecker"
219LIC_FILES_CHKSUM += "file://updatechecker/COPYING;md5=4325afd396febcb659c36b49533135d4"
220FILES_${PN}-updatechecker = "${libdir}/geany/updatechecker.so"
221
222PLUGINS += "${PN}-vimode"
223LIC_FILES_CHKSUM += "file://vimode/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
224FILES_${PN}-vimode = "${libdir}/geany/vimode.so"
225
226# no webkit - lasts ages and is not properly detected
227EXTRA_OECONF += " --disable-webhelper"
228#PLUGINS += "${PN}-webhelper"
229#LIC_FILES_CHKSUM += "file://webhelper/COPYING;md5=d32239bcb673463ab874e80d47fae504"
230#LICENSE_${PN}-webhelper = "GPLv3"
231#FILES_${PN}-webhelper = "${libdir}/geany/webhelper.so"
232
233PLUGINS += "${PN}-workbench"
234LIC_FILES_CHKSUM += "file://workbench/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
235FILES_${PN}-workbench = "${libdir}/geany/workbench.so"
236
237PLUGINS += "${PN}-xmlsnippets"
238LIC_FILES_CHKSUM += "file://xmlsnippets/COPYING;md5=4325afd396febcb659c36b49533135d4"
239FILES_${PN}-xmlsnippets = "${libdir}/geany/xmlsnippets.so"
240
241PACKAGES =+ "${PN}-common ${PLUGINS}"
242FILES_${PN}-common = "${libdir}/libgeanypluginutils${SOLIBS}"
243
244# geany-plugins is meta package for all plugins
245RDEPENDS_${PN} = "${PLUGINS}"
246ALLOW_EMPTY_${PN} = "1"