blob: 9a7053792749bd7cca12563a965c115f0bbf389f [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():
Patrick Williams213cb262021-08-07 19:21:33 -05009 if 'LICENSE:%s' % plugin not in d:
10 d.setVar('LICENSE:' + plugin, '${LICENSE_DEFAULT}')
Brad Bishop19323692019-04-05 15:28:33 -040011}
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"
Andrew Geisslerac970dd2021-02-12 15:32:45 -060035SRC_URI[sha256sum] = "c98f9b1303f4ab9bed7587e749cd0b5594d9136a1bf8ba110900d46a17fa9cd8"
Brad Bishop19323692019-04-05 15:28:33 -040036
Patrick Williams213cb262021-08-07 19:21:33 -050037do_configure:prepend() {
Brad Bishop19323692019-04-05 15:28:33 -040038 rm -f ${S}/build/cache/glib-gettext.m4
39}
40
Patrick Williams213cb262021-08-07 19:21:33 -050041FILES:${PN} += "${datadir}/icons"
42FILES:${PN}-dev += "${libdir}/geany/*.la ${libdir}/${BPN}/*/*.la"
Brad Bishop19323692019-04-05 15:28:33 -040043
44PLUGINS += "${PN}-addons"
45LIC_FILES_CHKSUM += "file://addons/COPYING;md5=4325afd396febcb659c36b49533135d4"
Patrick Williams213cb262021-08-07 19:21:33 -050046FILES:${PN}-addons = "${libdir}/geany/addons.so"
Brad Bishop19323692019-04-05 15:28:33 -040047
48PLUGINS += "${PN}-autoclose"
49LIC_FILES_CHKSUM += "file://autoclose/COPYING;md5=751419260aa954499f7abaabaa882bbe"
Patrick Williams213cb262021-08-07 19:21:33 -050050FILES:${PN}-autoclose = "${libdir}/geany/autoclose.so"
Brad Bishop19323692019-04-05 15:28:33 -040051
52PLUGINS += "${PN}-automark"
53LIC_FILES_CHKSUM += "file://automark/COPYING;md5=751419260aa954499f7abaabaa882bbe"
Patrick Williams213cb262021-08-07 19:21:33 -050054FILES:${PN}-automark = "${libdir}/geany/automark.so"
Brad Bishop19323692019-04-05 15:28:33 -040055
56PLUGINS += "${PN}-codenav"
57LIC_FILES_CHKSUM += "file://codenav/COPYING;md5=751419260aa954499f7abaabaa882bbe"
Patrick Williams213cb262021-08-07 19:21:33 -050058FILES:${PN}-codenav = "${libdir}/geany/codenav.so"
Brad Bishop19323692019-04-05 15:28:33 -040059
60PLUGINS += "${PN}-commander"
61LIC_FILES_CHKSUM += "file://commander/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Patrick Williams213cb262021-08-07 19:21:33 -050062LICENSE:${PN}-commander = "GPLv3"
63FILES:${PN}-commander = "${libdir}/geany/commander.so"
Brad Bishop19323692019-04-05 15:28:33 -040064
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"
Patrick Williams0ca19cc2021-08-16 14:03:13 -050069#FILES:${PN}-debugger = "${libdir}/geany/debugger.so ${datadir}/${PN}/debugger"
Brad Bishop19323692019-04-05 15:28:33 -040070
71PLUGINS += "${PN}-defineformat"
72LIC_FILES_CHKSUM += "file://defineformat/COPYING;md5=751419260aa954499f7abaabaa882bbe"
Patrick Williams213cb262021-08-07 19:21:33 -050073FILES:${PN}-defineformat = "${libdir}/geany/defineformat.so"
Brad Bishop19323692019-04-05 15:28:33 -040074
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"
Patrick Williams0ca19cc2021-08-16 14:03:13 -050079#LICENSE:${PN}-devhelp = "GPLv3"
80#FILES:${PN}-devhelp = "${libdir}/geany/devhelp.so"
Brad Bishop19323692019-04-05 15:28:33 -040081
82PLUGINS += "${PN}-geanyctags"
83LIC_FILES_CHKSUM += "file://geanyctags/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -050084FILES:${PN}-geanyctags = "${libdir}/geany/geanyctags.so"
Brad Bishop19323692019-04-05 15:28:33 -040085
86PLUGINS += "${PN}-geanydoc"
87LIC_FILES_CHKSUM += "file://geanydoc/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Patrick Williams213cb262021-08-07 19:21:33 -050088LICENSE:${PN}-geanydoc = "GPLv3"
89FILES:${PN}-geanydoc = "${libdir}/geany/geanydoc.so"
Brad Bishop19323692019-04-05 15:28:33 -040090
91PLUGINS += "${PN}-geanyextrasel"
92LIC_FILES_CHKSUM += "file://geanyextrasel/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -050093FILES:${PN}-geanyextrasel = "${libdir}/geany/geanyextrasel.so"
Brad Bishop19323692019-04-05 15:28:33 -040094
95PLUGINS += "${PN}-geanyinsertnum"
96LIC_FILES_CHKSUM += "file://geanyinsertnum/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -050097FILES:${PN}-geanyinsertnum = "${libdir}/geany/geanyinsertnum.so"
Brad Bishop19323692019-04-05 15:28:33 -040098
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"
Patrick Williams0ca19cc2021-08-16 14:03:13 -0500103#FILES:${PN}-geanylua = "${libdir}/geany/geanylua.so ${libdir}/${PN}/geanylua/*.so"
Brad Bishop19323692019-04-05 15:28:33 -0400104
105PLUGINS += "${PN}-geanymacro"
106LIC_FILES_CHKSUM += "file://geanymacro/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500107FILES:${PN}-geanymacro = "${libdir}/geany/geanymacro.so"
Brad Bishop19323692019-04-05 15:28:33 -0400108
109PLUGINS += "${PN}-geanyminiscript"
110LIC_FILES_CHKSUM += "file://geanyminiscript/COPYING;md5=4325afd396febcb659c36b49533135d4"
Patrick Williams213cb262021-08-07 19:21:33 -0500111FILES:${PN}-geanyminiscript = "${libdir}/geany/geanyminiscript.so"
Brad Bishop19323692019-04-05 15:28:33 -0400112
113PLUGINS += "${PN}-geanynumberedbookmarks"
114LIC_FILES_CHKSUM += "file://geanynumberedbookmarks/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500115FILES:${PN}-geanynumberedbookmarks = "${libdir}/geany/geanynumberedbookmarks.so"
Brad Bishop19323692019-04-05 15:28:33 -0400116
117PLUGINS += "${PN}-geanypg"
118LIC_FILES_CHKSUM += "file://geanypg/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Patrick Williams213cb262021-08-07 19:21:33 -0500119FILES:${PN}-geanypg = "${libdir}/geany/geanypg.so"
Brad Bishop19323692019-04-05 15:28:33 -0400120
121PLUGINS += "${PN}-geanyprj"
122LIC_FILES_CHKSUM += "file://geanyprj/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Patrick Williams213cb262021-08-07 19:21:33 -0500123LICENSE:${PN}-geanyprj = "GPLv3"
124FILES:${PN}-geanyprj = "${libdir}/geany/geanyprj.so"
Brad Bishop19323692019-04-05 15:28:33 -0400125
126#PLUGINS += "${PN}-geanypy"
127#LIC_FILES_CHKSUM += "file://geanypy/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Patrick Williams0ca19cc2021-08-16 14:03:13 -0500128#FILES:${PN}-geanypy = "${libdir}/geany/geanypy.so"
Brad Bishop19323692019-04-05 15:28:33 -0400129
130PLUGINS += "${PN}-geanyvc"
131LIC_FILES_CHKSUM += "file://geanyvc/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500132FILES:${PN}-geanyvc = "${libdir}/geany/geanyvc.so"
Brad Bishop19323692019-04-05 15:28:33 -0400133
134PLUGINS += "${PN}-geniuspaste"
135LIC_FILES_CHKSUM += "file://geniuspaste/COPYING;md5=bfc203269f8862ebfc1198cdc809a95a"
Patrick Williams213cb262021-08-07 19:21:33 -0500136FILES:${PN}-geniuspaste = "${libdir}/geany/geniuspaste.so ${datadir}/${PN}/geniuspaste"
Brad Bishop19323692019-04-05 15:28:33 -0400137
138PLUGINS += "${PN}-git-changebar"
139LIC_FILES_CHKSUM += "file://git-changebar/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Patrick Williams213cb262021-08-07 19:21:33 -0500140LICENSE:${PN}-git-changebar = "GPLv3"
141FILES:${PN}-git-changebar = "${datadir}/${BPN}/git-changebar ${libdir}/geany/git-changebar.so"
Brad Bishop19323692019-04-05 15:28:33 -0400142
143PLUGINS += "${PN}-keyrecord"
144LIC_FILES_CHKSUM += "file://keyrecord/COPYING;md5=751419260aa954499f7abaabaa882bbe"
Patrick Williams213cb262021-08-07 19:21:33 -0500145FILES:${PN}-keyrecord = "${libdir}/geany/keyrecord.so"
Brad Bishop19323692019-04-05 15:28:33 -0400146
147PLUGINS += "${PN}-latex"
148LIC_FILES_CHKSUM += "file://latex/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500149FILES:${PN}-latex = "${libdir}/geany/latex.so"
Brad Bishop19323692019-04-05 15:28:33 -0400150
151PLUGINS += "${PN}-lineoperations"
152LIC_FILES_CHKSUM += "file://lineoperations/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500153FILES:${PN}-lineoperations = "${libdir}/geany/lineoperations.so"
Brad Bishop19323692019-04-05 15:28:33 -0400154
155PLUGINS += "${PN}-lipsum"
156LIC_FILES_CHKSUM += "file://lipsum/COPYING;md5=4325afd396febcb659c36b49533135d4"
Patrick Williams213cb262021-08-07 19:21:33 -0500157FILES:${PN}-lipsum = "${libdir}/geany/lipsum.so"
Brad Bishop19323692019-04-05 15:28:33 -0400158
159# no markdown - avoid floating dependencies
160EXTRA_OECONF += "--disable-peg-markdown"
161#PLUGINS += "${PN}-markdown"
162#LIC_FILES_CHKSUM += "file://markdown/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Patrick Williams0ca19cc2021-08-16 14:03:13 -0500163#FILES:${PN}-markdown = "${libdir}/geany/markdown.so"
Brad Bishop19323692019-04-05 15:28:33 -0400164
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"
Patrick Williams0ca19cc2021-08-16 14:03:13 -0500169#FILES:${PN}-multiterm = "${libdir}/geany/multiterm.so"
Brad Bishop19323692019-04-05 15:28:33 -0400170
171PLUGINS += "${PN}-overview"
172LIC_FILES_CHKSUM += "file://overview/overview/overviewplugin.c;beginline=4;endline=20;md5=1aa33522916cdeb46cccac0c629da0d0"
Patrick Williams213cb262021-08-07 19:21:33 -0500173FILES:${PN}-overview = "${libdir}/geany/overview.so ${datadir}/${PN}/overview"
Brad Bishop19323692019-04-05 15:28:33 -0400174
175PLUGINS += "${PN}-pairtaghighlighter"
Patrick Williams213cb262021-08-07 19:21:33 -0500176LICENSE:${PN}-pairtaghighlighter = "BSD-2-Clause"
Brad Bishop19323692019-04-05 15:28:33 -0400177LIC_FILES_CHKSUM += "file://pairtaghighlighter/COPYING;md5=d6d927525a612b3a8dbebc4b2e9b47c1"
Patrick Williams213cb262021-08-07 19:21:33 -0500178FILES:${PN}-pairtaghighlighter = "${libdir}/geany/pairtaghighlighter.so"
Brad Bishop19323692019-04-05 15:28:33 -0400179
180PLUGINS += "${PN}-pohelper"
Patrick Williams213cb262021-08-07 19:21:33 -0500181LICENSE:${PN}-pohelper = "GPLv3"
Brad Bishop19323692019-04-05 15:28:33 -0400182LIC_FILES_CHKSUM += "file://pohelper/COPYING;md5=d32239bcb673463ab874e80d47fae504"
Patrick Williams213cb262021-08-07 19:21:33 -0500183FILES:${PN}-pohelper = "${datadir}/${BPN}/pohelper ${libdir}/geany/pohelper.so"
Brad Bishop19323692019-04-05 15:28:33 -0400184
185PLUGINS += "${PN}-pretty-printer"
186LIC_FILES_CHKSUM += "file://pretty-printer/src/PrettyPrinter.c;beginline=1;endline=17;md5=1665115c2fadb17c1b53cdb4e43b2440"
Patrick Williams213cb262021-08-07 19:21:33 -0500187FILES:${PN}-pretty-printer = "${libdir}/geany/pretty-printer.so"
Brad Bishop19323692019-04-05 15:28:33 -0400188
189PLUGINS += "${PN}-projectorganizer"
190LIC_FILES_CHKSUM += "file://projectorganizer/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500191FILES:${PN}-projectorganizer = "${libdir}/geany/projectorganizer.so"
Brad Bishop19323692019-04-05 15:28:33 -0400192
193PLUGINS += "${PN}-scope"
194LIC_FILES_CHKSUM += "file://scope/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500195FILES:${PN}-scope = "${datadir}/${BPN}/scope ${libdir}/geany/scope.so"
Brad Bishop19323692019-04-05 15:28:33 -0400196
197PLUGINS += "${PN}-sendmail"
198LIC_FILES_CHKSUM += "file://sendmail/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500199FILES:${PN}-sendmail = "${libdir}/geany/sendmail.so"
Brad Bishop19323692019-04-05 15:28:33 -0400200
201PLUGINS += "${PN}-shiftcolumn"
202LIC_FILES_CHKSUM += "file://shiftcolumn/COPYING;md5=751419260aa954499f7abaabaa882bbe"
Patrick Williams213cb262021-08-07 19:21:33 -0500203FILES:${PN}-shiftcolumn = "${libdir}/geany/shiftcolumn.so"
Brad Bishop19323692019-04-05 15:28:33 -0400204
205PLUGINS += "${PN}-spellcheck"
206LIC_FILES_CHKSUM += "file://spellcheck/COPYING;md5=4325afd396febcb659c36b49533135d4"
Patrick Williams213cb262021-08-07 19:21:33 -0500207FILES:${PN}-spellcheck = "${libdir}/geany/spellcheck.so"
Brad Bishop19323692019-04-05 15:28:33 -0400208
209PLUGINS += "${PN}-tableconvert"
210LIC_FILES_CHKSUM += "file://tableconvert/COPYING;md5=6753686878d090a1f3f9445661d3dfbc"
Patrick Williams213cb262021-08-07 19:21:33 -0500211FILES:${PN}-tableconvert = "${libdir}/geany/tableconvert.so"
Brad Bishop19323692019-04-05 15:28:33 -0400212
213PLUGINS += "${PN}-treebrowser"
214LIC_FILES_CHKSUM += "file://treebrowser/README;beginline=67;endline=67;md5=1f17f0f2abb88e0fa0f1b342112d871c"
Patrick Williams213cb262021-08-07 19:21:33 -0500215FILES:${PN}-treebrowser = "${libdir}/geany/treebrowser.so"
Brad Bishop19323692019-04-05 15:28:33 -0400216
217PLUGINS += "${PN}-updatechecker"
218LIC_FILES_CHKSUM += "file://updatechecker/COPYING;md5=4325afd396febcb659c36b49533135d4"
Patrick Williams213cb262021-08-07 19:21:33 -0500219FILES:${PN}-updatechecker = "${libdir}/geany/updatechecker.so"
Brad Bishop19323692019-04-05 15:28:33 -0400220
221PLUGINS += "${PN}-vimode"
222LIC_FILES_CHKSUM += "file://vimode/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500223FILES:${PN}-vimode = "${libdir}/geany/vimode.so"
Brad Bishop19323692019-04-05 15:28:33 -0400224
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"
Patrick Williams0ca19cc2021-08-16 14:03:13 -0500229#LICENSE:${PN}-webhelper = "GPLv3"
230#FILES:${PN}-webhelper = "${libdir}/geany/webhelper.so"
Brad Bishop19323692019-04-05 15:28:33 -0400231
232PLUGINS += "${PN}-workbench"
233LIC_FILES_CHKSUM += "file://workbench/COPYING;md5=c107cf754550e65755c42985a5d4e9c9"
Patrick Williams213cb262021-08-07 19:21:33 -0500234FILES:${PN}-workbench = "${libdir}/geany/workbench.so"
Brad Bishop19323692019-04-05 15:28:33 -0400235
236PLUGINS += "${PN}-xmlsnippets"
237LIC_FILES_CHKSUM += "file://xmlsnippets/COPYING;md5=4325afd396febcb659c36b49533135d4"
Patrick Williams213cb262021-08-07 19:21:33 -0500238FILES:${PN}-xmlsnippets = "${libdir}/geany/xmlsnippets.so"
Brad Bishop19323692019-04-05 15:28:33 -0400239
240PACKAGES =+ "${PN}-common ${PLUGINS}"
Patrick Williams213cb262021-08-07 19:21:33 -0500241FILES:${PN}-common = "${libdir}/libgeanypluginutils${SOLIBS}"
Brad Bishop19323692019-04-05 15:28:33 -0400242
243# geany-plugins is meta package for all plugins
Patrick Williams213cb262021-08-07 19:21:33 -0500244RDEPENDS:${PN} = "${PLUGINS}"
245ALLOW_EMPTY:${PN} = "1"