mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
c73f25564f
This commit adds two .plist files, which go in the app bundles; two .bundle files, which are input to gtk-mac-bundler and explain to it how to _create_ the bundles; and a piece of manual addition to Makefile.am that actually runs gtk-mac-bundler after building the gtkapp.c based binaries and the OSX launcher. The latter is conditionalised on configuring --with-quartz (unlike the binaries themselves, which you can build on other platforms too, though they won't do much that's useful).
44 lines
1.1 KiB
XML
44 lines
1.1 KiB
XML
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
|
|
<app-bundle>
|
|
|
|
<meta>
|
|
<prefix name="default">${env:JHBUILD_PREFIX}</prefix>
|
|
<run-install-name-tool/>
|
|
<gtk>gtk+-3.0</gtk>
|
|
<!-- Optionally specify a launcher script to use. If the
|
|
application sets up everything needed itself, like
|
|
environment variable, linker paths, etc, a launcher script is
|
|
not needed. If the source path is left out, the default
|
|
script will be used.
|
|
-->
|
|
<launcher-script>${project}/../osxlaunch</launcher-script >
|
|
</meta>
|
|
|
|
<plist>${project}/putty.plist</plist>
|
|
|
|
<main-binary dest="${bundle}/Contents/MacOS">
|
|
${project}/../puttyapp
|
|
</main-binary>
|
|
|
|
<binary>
|
|
${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/immodules/*.so
|
|
</binary>
|
|
|
|
<binary>
|
|
${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/printbackends/*.so
|
|
</binary>
|
|
|
|
<data>
|
|
${prefix}/share/themes/Adwaita
|
|
</data>
|
|
|
|
<data dest="${bundle}/Contents/Resources">
|
|
${project}/../icons/PuTTY.icns
|
|
</data>
|
|
|
|
<icon-theme icons="auto">
|
|
Adwaita
|
|
</icon-theme>
|
|
|
|
</app-bundle>
|