Updated spec files for the new library version.
[doldaconnect.git] / autopackage / guishell.apspec.in
index b86283b..0e04a1b 100644 (file)
@@ -12,8 +12,10 @@ License: GNU General Public License, Version 2 or later
 SoftwareVersion: @VERSION@
 Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-guishell.xml
 AutopackageTarget: 1.2
+PackageFileName: doldaconnect-guishell-@VERSION@.package
 
 [BuildPrepare]
+echo "apkg" >source
 prepareBuild --enable-dolconf --enable-guishell --disable-gtk2ui --disable-daemon
 
 [BuildUnprepare]
@@ -24,8 +26,9 @@ echo bin share | import
 
 [Prepare]
 require @gtk.org/gtk 2.10
-require @dolda2000.com/fredrik/doldaconnect/dcuilib 1.1
+require @dolda2000.com/fredrik/doldaconnect/dcuilib 3.0
 requireAtLeast "@dolda2000.com/fredrik/doldaconnect/dolcon:@VERSION@"
+requireAtLeast "@dolda2000.com/fredrik/doldaconnect/doldacond:@VERSION@"
 
 [Install]
 installExe bin/dolconf
@@ -33,6 +36,8 @@ installExe bin/dolcon-launch
 installExe bin/doldacond-shell
 installLocale share/locale
 installIcon share/icons/hicolor
+createBootstrapScript "$PREFIX/bin/dolcon-launch" "$PREFIX/bin/dolcon-launch.apkg"
+sed -i 's/\(Exec *= *dolcon-launch\)/\1.apkg/' share/applications/dolcon.desktop
 installMenuItem "Network/File sharing" share/applications/dolcon.desktop
 
 [Uninstall]