]> sjero.net Git - linphone/blob - build/macos/linphone.bundle
8d920933b300f19efb5ef564eadb38c479563825
[linphone] / build / macos / linphone.bundle
1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
2 <app-bundle>
3
4   <meta>
5     <!-- Where to pick up the GTK+ installation, icon themes,
6          etc. Note that "${env:JHBUILD_PREFIX}" is evaluated to the
7          value of the environment variable JHBUILD_PREFIX. You can
8          define additional prefixes and refer to them in paths
9          throughout this file on the form "${prefix:name}". This is
10          useful for installing certain libraries or even the
11          application itself separately. Note that JHBUILD_PREFIX is
12          defined by jhbuild, so it you are not using jhbuild you can
13          either define your own or just hardcode the path here.
14     -->
15     <prefix name="default">/opt/local</prefix>
16     <prefix name="linphone">${env:LINPHONE_INSTALL_PREFIX}</prefix>
17     <prefix name="liblinphone">${env:LIBLINPHONE_INSTALL_PREFIX}</prefix>
18     <prefix name="macports">/opt/local</prefix>
19     <!-- The project directory is the default location of the created
20          app. If you leave out the path, the current directory is
21          used. Note the usage of an environment variable here again.
22     -->
23     <destination overwrite="yes">${env:BUNDLE_PREFIX}</destination>
24
25     <image>
26       <!-- Not implemented yet (DMG image). -->
27     </image>
28
29     <!-- Comment this out to keep the install names in binaries -->
30     <run-install-name-tool/>
31  
32     <!-- Optionally specify a launcher script to use. If the
33          application sets up everything needed itself, like
34          environment variable, linker paths, etc, a launcher script is
35          not needed. If the source path is left out, the default
36          script will be used.
37     -->
38     <!--launcher-script>${project}/launcher.sh</launcher-script -->
39
40     <!-- Not implemented: Optional runtime, could be python or mono
41          for example.
42     -->
43     <!-- runtime copy="yes">/usr/bin/python</runtime -->
44     <!-- Indicate the active gtk version to use. This is needed only
45          for gtk+-3.0 projects. -->
46     <gtk>gtk+-2.0</gtk>
47   </meta>
48
49   <!-- The special macro "${project}" refers to the directory where
50        this bundle file is located. The application name and bundle
51        identifier are taken from the plist file.
52   -->
53   <plist>${project}/Info-linphone.plist</plist>
54
55   <main-binary>${prefix:linphone}/bin/linphone</main-binary>
56
57   <!-- Liblinphone shared libraries -->
58   <binary>
59         ${prefix:liblinphone}/lib/*.*.dylib
60   </binary>
61   
62   <binary>
63     ${prefix:macports}/lib/libzrtpcpp.*.dylib
64   </binary>
65   
66   <binary>
67     ${prefix:macports}/lib/libspeex.*.dylib
68   </binary>
69   
70   <binary>
71     ${prefix:macports}/lib/libosip.*.dylib
72   </binary>
73   
74   <binary>
75     ${prefix:macports}/lib/libeXosip.*.dylib
76   </binary>
77
78   <binary>
79     ${prefix:macports}/lib/libsoup-2.4*.dylib
80   </binary>
81
82   <binary dest="${bundle}/Contents/Resources/lib/liblinphone/plugins/libmssilk.so">
83     ${prefix}/lib/mediastreamer/plugins/libmssilk.so
84   </binary>
85
86   <!-- Copy in GTK+ modules.  Note the ${gtkdir} macro, which expands
87        to the correct library subdirectory for the specified gtk
88        version.
89   -->
90   <binary>
91      ${prefix}/lib/${gtkdir}/modules/*.so
92   </binary>
93
94   <binary>
95      ${prefix}/lib/gdk-pixbuf-2.0
96   </binary>
97
98   <data>
99     ${prefix}/share/mime/globs
100   </data>
101
102   <binary>
103     ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so
104   </binary>
105
106   <!-- Copy in GTK+ theme engines. Note the use of the
107        "${pkg:module:variable}" macro, which evaluates to a pkg-config
108        variable in the specified module. Note that any libraries that
109        binaries link to are also copied in automatically.  Note also
110        the included ${gtk} macro, which gets the correct package name
111        to get. -->
112   <binary>
113     ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/*.so
114   </binary>
115   <!-- Copy GIO modules, required for https access for wizard-->
116   <binary>
117      ${prefix}/lib/gio/modules/libgiognutls.so
118   </binary>
119
120   <!-- Translation filenames, one for each program or library that you
121        want to copy in to the bundle. The "dest" attribute is
122        optional, as usual. Bundler will find all translations of that
123        library/program under the indicated directory and copy them.-->
124   <translations name="gtk20">
125     ${prefix}/share/locale
126   </translations>
127
128
129   <!-- Data to copy in, usually Glade/UI files, images, sounds files
130        etc. The destination inside the bundle can be specified if the
131        files should end up at a different location, by using the
132        "dest" property. The destination must then start with the macro
133        "${bundle}", which refers to the bundle root directory.
134   -->
135   <data>
136     ${prefix:linphone}/share/linphone
137   </data>
138
139   <data>
140     ${prefix:linphone}/share/pixmaps/linphone
141   </data>
142
143   <!-- Copy in the themes data. You may want to trim this to save space
144        in your bundle. -->
145   <data>
146     ${prefix}/share/themes
147   </data>
148
149   <!-- Copy icons. Note that the .icns file is an Apple format which
150        contains up to 4 sizes of icon. You can use
151        /Developer/Applications/Utilities/Icon Composer.app to import
152        artwork and create the file. -->
153   <data dest="${bundle}/Contents/Resources">
154     ${project}/../../pixmaps/linphone.icns
155   </data>
156
157
158   <data dest="${bundle}/Contents/Resources">
159     ${project}/environment.sh
160   </data>
161   
162   <!-- This is where theme commands go. You can copy them in from your
163        theme of choice if they provide and example, or you can just
164        change the source path. -->
165
166   <data dest="${bundle}/Contents/Resources/etc/${gtkdir}/gtkrc">
167     ${project}/../../gtk/gtkrc.mac
168   </data>
169
170   <data dest="${bundle}/Contents/Resources/share/sounds/linphone/rings/oldphone.wav">
171       ${prefix:linphone}/share/sounds/linphone/rings/oldphone.wav
172   </data>
173
174   <data dest="${bundle}/Contents/Resources/share/sounds/linphone/ringback.wav">
175       ${prefix:linphone}/share/sounds/linphone/ringback.wav
176   </data>
177
178   <!-- Icon themes to copy. The "icons" property can be either of
179        "auto", "all", or "none". All or none should be
180        self-explanatory, while auto means that the script will try to
181        figure out which icons are needed. This is done by getting all
182        the strings from all copied binaries, and matching them against
183        icon names. To be safe, you should use "all". "none" is useful
184        if you want just the index.theme file but no icons, mostly
185        needed for the "hicolor" base theme.
186   >
187   <icon-theme icons="auto">
188     Tango
189   </icon-theme -->
190
191 </app-bundle>
192