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