3479b1433347b4a3759f957f2006a5a36743ae39
[doldaconnect.git] / autopackage / guishell.apspec.in
1 # -*-shell-script-*-
2
3 [Meta]
4 RootName: @dolda2000.com/fredrik/doldaconnect/guishell:$SOFTWAREVERSION
5 DisplayName: Dolda Connect GUI
6 ShortName: doldaconnect-guishell
7 Maintainer: Fredrik Tolf <fredrik@dolda2000.com>
8 Packager: Fredrik Tolf <fredrik@dolda2000.com>
9 Summary: A friendly GUI for Dolda Connect
10 URL: http://www.dolda2000.com/~fredrik/doldaconnect/
11 License: GNU General Public License, Version 2 or later
12 SoftwareVersion: @VERSION@
13 Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-guishell.xml
14 AutopackageTarget: 1.2
15 PackageFileName: doldaconnect-guishell.package
16
17 [BuildPrepare]
18 prepareBuild --enable-dolconf --enable-guishell --disable-gtk2ui --disable-daemon
19
20 [BuildUnprepare]
21 unprepareBuild
22
23 [Imports]
24 echo bin share | import
25
26 [Prepare]
27 require @gtk.org/gtk 2.10
28 require @dolda2000.com/fredrik/doldaconnect/dcuilib 1.1
29 requireAtLeast "@dolda2000.com/fredrik/doldaconnect/dolcon:@VERSION@"
30 requireAtLeast "@dolda2000.com/fredrik/doldaconnect/doldacond:@VERSION@"
31
32 [Install]
33 installExe bin/dolconf
34 installExe bin/dolcon-launch
35 installExe bin/doldacond-shell
36 installLocale share/locale
37 installIcon share/icons/hicolor
38 createBootstrapScript "$PREFIX/bin/dolcon-launch" "$PREFIX/bin/dolcon-launch.apkg"
39 sed -i 's/\(Exec *= *dolcon-launch\)/\1.apkg/' share/applications/dolcon.desktop
40 installMenuItem "Network/File sharing" share/applications/dolcon.desktop
41
42 [Uninstall]
43 # Usually just the following line is enough to uninstall everything
44 uninstallFromLog