fix for maemo extra-testing
[googlelatitude] / googlelatitude.pro
index a667d92..7c6bb9b 100644 (file)
@@ -15,9 +15,16 @@ LIBS        +=
 DEFINES     +=
 CONFIG      += link_pkgconfig
 PKGCONFIG   += glib-2.0 liblocation
-
+exists(/usr/lib/liblocation.so) {
+    DEFINES += LIBLOCATION
+    message(liblocation found)
+}
 install_app.commands = $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/usr/bin/$(QMAKE_TARGET)
 install_dsk.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).desktop $(DESTDIR)/usr/share/applications/hildon/$(QMAKE_TARGET).desktop
-install.depends = $(TARGET) install_app install_dsk
-QMAKE_EXTRA_TARGETS += install install_app install_dsk
+install_png.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_64.png $(DESTDIR)/usr/share/pixmap/$(QMAKE_TARGET).png
+install_p26.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_26.png $(DESTDIR)/usr/share/icons/hicolor/26x26/apps/$(QMAKE_TARGET).png
+install_p48.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_48.png $(DESTDIR)/usr/share/icons/hicolor/48x48/apps/$(QMAKE_TARGET).png
+install_p64.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_64.png $(DESTDIR)/usr/share/icons/hicolor/64x64/apps/$(QMAKE_TARGET).png
+install.depends = $(TARGET) install_app install_dsk install_png install_p26 install_p48 install_p64
+QMAKE_EXTRA_TARGETS += install install_app install_dsk install_png install_p26 install_p48 install_p64