PKGS = gtk+-2.0 liblocation gconf-2.0 libosso
CC = gcc
LINK = gcc
-CFLAGS = -g -Wall -O0 -pedantic -std=gnu99
+CFLAGS = -g -Wall -O0 -pedantic -std=gnu99 `pkg-config --cflags maemo-launcher-app`
INCPATH = `pkg-config --cflags $(PKGS)`
-LIBS = `pkg-config --libs $(PKGS)`
+LIBS = `pkg-config --libs $(PKGS) maemo-launcher-app`
SOURCES = main.c callbacks.c ui.c util.c
OBJECTS = main.o callbacks.o ui.o util.o
+speedometer (0.31) unstable; urgency=low
+
+ * Added maemo-launcher support to speed startup a bit.
+
+ -- Wellu Mäkinen <wellu@wellu.org> Thu, 8 Jan 2009 10:42:52 +0200
+
speedometer (0.3) unstable; urgency=low
* Simplified event handling so that the whole screen responds to events.
Section: user/navigation
Priority: extra
Maintainer: Wellu Mäkinen <wellu@wellu.org>
-Build-Depends: debhelper (>= 5), liblocation-dev, libosso-dev, libhildon1-dev
+Build-Depends: debhelper (>= 5), liblocation-dev, libosso-dev, libhildon1-dev, maemo-launcher-dev
Standards-Version: 3.7.2
Package: speedometer
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${launcher:Depends}
Description: Shows your current speed on the screen using GPS.
Speedometer is an application that shows your current
speed on the screen in different units. Supported units are
--- /dev/null
+/usr/bin/speedometer
#! /bin/sh
oldversion="$2"
-if [ -z "$oldversion" ]
+if [ -z "$oldversion" ] ; then
gtk-update-icon-cache -f /usr/share/icons/hicolor &
maemo-select-menu-location speedometer.desktop
fi
-CFLAGS = -Wall -g
-
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
+ CFLAGS += -O0 -g -Wall
else
- CFLAGS += -O2
+ CFLAGS += -O2 -g -Wall
endif
configure: configure-stamp
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
+ dh_maemolauncher
dh_gencontrol
dh_md5sums
dh_builddeb