<?xml version="1.0" encoding="UTF-8"?>
<app-bundle>

  <meta>
    <prefix name="default">/usr/local</prefix>
    <prefix name="enchant">/usr/local/opt/enchant-applespell</prefix>
    <destination overwrite="yes">${project}</destination>

    <run-install-name-tool/>
    <launcher-script>${project}/launcher.sh</launcher-script >
    <gtk>gtk+-3.0</gtk>
  </meta>

  <plist>${project}/Info.plist</plist>

  <main-binary>
    ${prefix}/bin/zoitechat
  </main-binary>

  <binary>
    ${prefix}/lib/zoitechat/plugins/*.so
  </binary>

  <binary>
    ${prefix:enchant}/lib/libenchant.dylib
  </binary>
  <binary>
    ${prefix:enchant}/lib/enchant/libenchant_applespell.so
  </binary>

  <binary>
    ${prefix}/lib/${gtkdir}/modules/*.so
  </binary>
  <binary>
    ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/libquartz.so
  </binary>
  <binary>
    ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/libxamarin.so
  </binary>
  <binary>
    ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/printbackends/*.so
  </binary>
  <binary>
    ${prefix}/lib/gdk-pixbuf-2.0/${pkg:${gtk}:gtk_binary_version}/loaders/*.so
  </binary>
  <binary>
    ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/
  </binary>
  <data>
    ${prefix}/share/themes/Mac/gtk-3.0/gtk-keys.css
  </data>

  <translations name="gtk30">
    ${prefix}/share/locale
  </translations>
  <translations name="zoitechat">
    ${prefix}/share/locale
  </translations>

  <data dest="${bundle}/Contents/Resources/etc/${gtkdir}/settings.ini">
    ${project}/settings.ini
  </data>

  <data dest="${bundle}/Contents/Resources">
    ${project}/zoitechat.icns
  </data>

</app-bundle>
