Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | DESCRIPTION = "A fast and lightweight IDE" |
| 2 | HOMEPAGE = "http://plugins.geany.org/" |
| 3 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 4 | LICENSE_DEFAULT = "GPL-2.0-only" |
| 5 | LICENSE = "${LICENSE_DEFAULT} & BSD-2-Clause & GPL-3.0-only" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 6 | |
| 7 | python () { |
| 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 | |
| 13 | DEPENDS = " \ |
| 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 | |
| 27 | inherit features_check autotools pkgconfig gtk-icon-cache |
| 28 | |
| 29 | REQUIRED_DISTRO_FEATURES = "x11" |
| 30 | |
| 31 | SRC_URI = " \ |
| 32 | https://plugins.geany.org/${BPN}/${BP}.tar.bz2 \ |
| 33 | file://0001-Use-pkg-config-to-find-gpgme.patch \ |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 34 | file://0001-git-changebar-Adjust-structs-for-libgit2-1.4.x.patch \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 35 | file://0001-geany.m4-Do-not-tinker-with-pkg-config-paths.patch \ |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 36 | file://0001-scope-Use-0-instead-of-NULL-for-gboolean.patch \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 37 | " |
| 38 | SRC_URI[sha256sum] = "1c578a7ebb390aa8882f195acd3d8da3ceb73925d291b28dec90cd3e5fd20586" |
| 39 | |
| 40 | do_configure:prepend() { |
| 41 | rm -f ${S}/build/cache/glib-gettext.m4 |
| 42 | } |
| 43 | |
| 44 | FILES:${PN} += "${datadir}/icons" |
| 45 | FILES:${PN}-dev += "${libdir}/geany/*.la ${libdir}/${BPN}/*/*.la" |
| 46 | |
| 47 | PLUGINS += "${PN}-addons" |
| 48 | LIC_FILES_CHKSUM += "file://addons/COPYING;md5=4325afd396febcb659c36b49533135d4" |
| 49 | FILES:${PN}-addons = "${libdir}/geany/addons.so" |
| 50 | |
| 51 | PLUGINS += "${PN}-autoclose" |
| 52 | LIC_FILES_CHKSUM += "file://autoclose/COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 53 | FILES:${PN}-autoclose = "${libdir}/geany/autoclose.so" |
| 54 | |
| 55 | PLUGINS += "${PN}-automark" |
| 56 | LIC_FILES_CHKSUM += "file://automark/COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 57 | FILES:${PN}-automark = "${libdir}/geany/automark.so" |
| 58 | |
| 59 | PLUGINS += "${PN}-codenav" |
| 60 | LIC_FILES_CHKSUM += "file://codenav/COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 61 | FILES:${PN}-codenav = "${libdir}/geany/codenav.so" |
| 62 | |
| 63 | PLUGINS += "${PN}-commander" |
| 64 | LIC_FILES_CHKSUM += "file://commander/COPYING;md5=d32239bcb673463ab874e80d47fae504" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 65 | LICENSE:${PN}-commander = "GPL-3.0-only" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 66 | FILES:${PN}-commander = "${libdir}/geany/commander.so" |
| 67 | |
| 68 | # | checking whether the GTK version in use is compatible with plugin Debugger... no |
| 69 | EXTRA_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 | |
| 74 | PLUGINS += "${PN}-defineformat" |
| 75 | LIC_FILES_CHKSUM += "file://defineformat/COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 76 | FILES:${PN}-defineformat = "${libdir}/geany/defineformat.so" |
| 77 | |
| 78 | # no gnome devhelp in some common layer |
| 79 | EXTRA_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 | |
| 85 | PLUGINS += "${PN}-geanyctags" |
| 86 | LIC_FILES_CHKSUM += "file://geanyctags/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 87 | FILES:${PN}-geanyctags = "${libdir}/geany/geanyctags.so" |
| 88 | |
| 89 | PLUGINS += "${PN}-geanydoc" |
| 90 | LIC_FILES_CHKSUM += "file://geanydoc/COPYING;md5=d32239bcb673463ab874e80d47fae504" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 91 | LICENSE:${PN}-geanydoc = "GPL-3.0-only" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 92 | FILES:${PN}-geanydoc = "${libdir}/geany/geanydoc.so" |
| 93 | |
| 94 | PLUGINS += "${PN}-geanyextrasel" |
| 95 | LIC_FILES_CHKSUM += "file://geanyextrasel/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 96 | FILES:${PN}-geanyextrasel = "${libdir}/geany/geanyextrasel.so" |
| 97 | |
| 98 | PLUGINS += "${PN}-geanyinsertnum" |
| 99 | LIC_FILES_CHKSUM += "file://geanyinsertnum/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 100 | FILES:${PN}-geanyinsertnum = "${libdir}/geany/geanyinsertnum.so" |
| 101 | |
| 102 | # no lua: max supported version is 5.2 |
| 103 | EXTRA_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 | |
| 108 | PLUGINS += "${PN}-geanymacro" |
| 109 | LIC_FILES_CHKSUM += "file://geanymacro/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 110 | FILES:${PN}-geanymacro = "${libdir}/geany/geanymacro.so" |
| 111 | |
| 112 | PLUGINS += "${PN}-geanyminiscript" |
| 113 | LIC_FILES_CHKSUM += "file://geanyminiscript/COPYING;md5=4325afd396febcb659c36b49533135d4" |
| 114 | FILES:${PN}-geanyminiscript = "${libdir}/geany/geanyminiscript.so" |
| 115 | |
| 116 | PLUGINS += "${PN}-geanynumberedbookmarks" |
| 117 | LIC_FILES_CHKSUM += "file://geanynumberedbookmarks/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 118 | FILES:${PN}-geanynumberedbookmarks = "${libdir}/geany/geanynumberedbookmarks.so" |
| 119 | |
| 120 | PLUGINS += "${PN}-geanypg" |
| 121 | LIC_FILES_CHKSUM += "file://geanypg/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 122 | FILES:${PN}-geanypg = "${libdir}/geany/geanypg.so" |
| 123 | |
| 124 | PLUGINS += "${PN}-geanyprj" |
| 125 | LIC_FILES_CHKSUM += "file://geanyprj/COPYING;md5=d32239bcb673463ab874e80d47fae504" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 126 | LICENSE:${PN}-geanyprj = "GPL-3.0-only" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 127 | FILES:${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 | |
| 133 | PLUGINS += "${PN}-geanyvc" |
| 134 | LIC_FILES_CHKSUM += "file://geanyvc/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 135 | FILES:${PN}-geanyvc = "${libdir}/geany/geanyvc.so" |
| 136 | |
| 137 | PLUGINS += "${PN}-geniuspaste" |
| 138 | LIC_FILES_CHKSUM += "file://geniuspaste/COPYING;md5=bfc203269f8862ebfc1198cdc809a95a" |
| 139 | FILES:${PN}-geniuspaste = "${libdir}/geany/geniuspaste.so ${datadir}/${PN}/geniuspaste" |
| 140 | |
| 141 | PLUGINS += "${PN}-git-changebar" |
| 142 | LIC_FILES_CHKSUM += "file://git-changebar/COPYING;md5=d32239bcb673463ab874e80d47fae504" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 143 | LICENSE:${PN}-git-changebar = "GPL-3.0-only" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 144 | FILES:${PN}-git-changebar = "${datadir}/${BPN}/git-changebar ${libdir}/geany/git-changebar.so" |
| 145 | |
| 146 | PLUGINS += "${PN}-keyrecord" |
| 147 | LIC_FILES_CHKSUM += "file://keyrecord/COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 148 | FILES:${PN}-keyrecord = "${libdir}/geany/keyrecord.so" |
| 149 | |
| 150 | PLUGINS += "${PN}-latex" |
| 151 | LIC_FILES_CHKSUM += "file://latex/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 152 | FILES:${PN}-latex = "${libdir}/geany/latex.so" |
| 153 | |
| 154 | PLUGINS += "${PN}-lineoperations" |
| 155 | LIC_FILES_CHKSUM += "file://lineoperations/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 156 | FILES:${PN}-lineoperations = "${libdir}/geany/lineoperations.so" |
| 157 | |
| 158 | PLUGINS += "${PN}-lipsum" |
| 159 | LIC_FILES_CHKSUM += "file://lipsum/COPYING;md5=4325afd396febcb659c36b49533135d4" |
| 160 | FILES:${PN}-lipsum = "${libdir}/geany/lipsum.so" |
| 161 | |
| 162 | # no markdown - avoid floating dependencies |
| 163 | EXTRA_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 |
| 169 | EXTRA_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 | |
| 174 | PLUGINS += "${PN}-overview" |
| 175 | LIC_FILES_CHKSUM += "file://overview/overview/overviewplugin.c;beginline=4;endline=20;md5=1aa33522916cdeb46cccac0c629da0d0" |
| 176 | FILES:${PN}-overview = "${libdir}/geany/overview.so ${datadir}/${PN}/overview" |
| 177 | |
| 178 | PLUGINS += "${PN}-pairtaghighlighter" |
| 179 | LICENSE:${PN}-pairtaghighlighter = "BSD-2-Clause" |
| 180 | LIC_FILES_CHKSUM += "file://pairtaghighlighter/COPYING;md5=d6d927525a612b3a8dbebc4b2e9b47c1" |
| 181 | FILES:${PN}-pairtaghighlighter = "${libdir}/geany/pairtaghighlighter.so" |
| 182 | |
| 183 | PLUGINS += "${PN}-pohelper" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 184 | LICENSE:${PN}-pohelper = "GPL-3.0-only" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 185 | LIC_FILES_CHKSUM += "file://pohelper/COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 186 | FILES:${PN}-pohelper = "${datadir}/${BPN}/pohelper ${libdir}/geany/pohelper.so" |
| 187 | |
| 188 | PLUGINS += "${PN}-pretty-printer" |
| 189 | LIC_FILES_CHKSUM += "file://pretty-printer/src/PrettyPrinter.c;beginline=1;endline=17;md5=1665115c2fadb17c1b53cdb4e43b2440" |
| 190 | FILES:${PN}-pretty-printer = "${libdir}/geany/pretty-printer.so" |
| 191 | |
| 192 | PLUGINS += "${PN}-projectorganizer" |
| 193 | LIC_FILES_CHKSUM += "file://projectorganizer/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 194 | FILES:${PN}-projectorganizer = "${libdir}/geany/projectorganizer.so" |
| 195 | |
| 196 | PLUGINS += "${PN}-scope" |
| 197 | LIC_FILES_CHKSUM += "file://scope/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 198 | FILES:${PN}-scope = "${datadir}/${BPN}/scope ${libdir}/geany/scope.so" |
| 199 | |
| 200 | PLUGINS += "${PN}-sendmail" |
| 201 | LIC_FILES_CHKSUM += "file://sendmail/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 202 | FILES:${PN}-sendmail = "${libdir}/geany/sendmail.so" |
| 203 | |
| 204 | PLUGINS += "${PN}-shiftcolumn" |
| 205 | LIC_FILES_CHKSUM += "file://shiftcolumn/COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 206 | FILES:${PN}-shiftcolumn = "${libdir}/geany/shiftcolumn.so" |
| 207 | |
| 208 | PLUGINS += "${PN}-spellcheck" |
| 209 | LIC_FILES_CHKSUM += "file://spellcheck/COPYING;md5=4325afd396febcb659c36b49533135d4" |
| 210 | FILES:${PN}-spellcheck = "${libdir}/geany/spellcheck.so" |
| 211 | |
| 212 | PLUGINS += "${PN}-tableconvert" |
| 213 | LIC_FILES_CHKSUM += "file://tableconvert/COPYING;md5=6753686878d090a1f3f9445661d3dfbc" |
| 214 | FILES:${PN}-tableconvert = "${libdir}/geany/tableconvert.so" |
| 215 | |
| 216 | PLUGINS += "${PN}-treebrowser" |
| 217 | LIC_FILES_CHKSUM += "file://treebrowser/README;beginline=67;endline=67;md5=1f17f0f2abb88e0fa0f1b342112d871c" |
| 218 | FILES:${PN}-treebrowser = "${libdir}/geany/treebrowser.so" |
| 219 | |
| 220 | PLUGINS += "${PN}-updatechecker" |
| 221 | LIC_FILES_CHKSUM += "file://updatechecker/COPYING;md5=4325afd396febcb659c36b49533135d4" |
| 222 | FILES:${PN}-updatechecker = "${libdir}/geany/updatechecker.so" |
| 223 | |
| 224 | PLUGINS += "${PN}-vimode" |
| 225 | LIC_FILES_CHKSUM += "file://vimode/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 226 | FILES:${PN}-vimode = "${libdir}/geany/vimode.so" |
| 227 | |
| 228 | # no webkit - lasts ages and is not properly detected |
| 229 | EXTRA_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 | |
| 235 | PLUGINS += "${PN}-workbench" |
| 236 | LIC_FILES_CHKSUM += "file://workbench/COPYING;md5=c107cf754550e65755c42985a5d4e9c9" |
| 237 | FILES:${PN}-workbench = "${libdir}/geany/workbench.so" |
| 238 | |
| 239 | PLUGINS += "${PN}-xmlsnippets" |
| 240 | LIC_FILES_CHKSUM += "file://xmlsnippets/COPYING;md5=4325afd396febcb659c36b49533135d4" |
| 241 | FILES:${PN}-xmlsnippets = "${libdir}/geany/xmlsnippets.so" |
| 242 | |
| 243 | PACKAGES =+ "${PN}-common ${PLUGINS}" |
| 244 | FILES:${PN}-common = "${libdir}/libgeanypluginutils${SOLIBS}" |
| 245 | |
| 246 | # geany-plugins is meta package for all plugins |
| 247 | RDEPENDS:${PN} = "${PLUGINS}" |
| 248 | ALLOW_EMPTY:${PN} = "1" |