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