1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/unix/pterm.bundle
Simon Tatham b6b91b8e17 OS X makefile: stop depending on JHBUILD_PREFIX.
People who use a packaging system other than jhbuild still ought to be
able to run the OS X GTK3 build, so now the gtk-mac-bundler command
finds out the locations of things by a more portable method.

(I've had this change lurking around uncommitted in a working tree for
a while, and only just found it in the course of doing other OS X-
related work. Oops.)
2017-11-26 11:45:48 +00:00

48 lines
1.3 KiB
XML

<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<app-bundle>
<meta>
<!-- If you try to use this script outside the makefile, you'll
have to set PUTTY_GTK_PREFIX_FROM_MAKEFILE by hand. See the
full rant in putty.bundle for further explanation. -->
<prefix name="default">${env:PUTTY_GTK_PREFIX_FROM_MAKEFILE}</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}/pterm.plist</plist>
<main-binary dest="${bundle}/Contents/MacOS">
${project}/../ptermapp
</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/Pterm.icns
</data>
<icon-theme icons="auto">
Adwaita
</icon-theme>
</app-bundle>