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