Section: user/utilities
Priority: optional
Maintainer: Ivan Gorinov <igorinov@gmail.com>
-Build-Depends: debhelper (>= 5), libqt4-dev, libqt4-dbus, mce-dev, libqtm-dev, libqtm-sensors
+Build-Depends: debhelper (>= 5), libqt4-dev, libqt4-dbus, libqtm-dev, libqtm-sensors, mce-dev
Standards-Version: 3.7.3
Homepage: http://catori.ru/igorinov/software/ameter/
-Bugtracker: https://garage.maemo.org/tracker/?group_id=2260
+XSBC-Bugtracker: https://garage.maemo.org/tracker/?group_id=2260
Package: ameter
Architecture: any
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
APPNAME := ameter
-
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
configure: configure-stamp
configure-stamp:
dh_testdir
qmake PREFIX=/usr $(APPNAME).pro
-
- touch configure-stamp
-
+ touch $@
build: build-stamp
build-stamp: configure-stamp
dh_testdir
-
# Add here commands to compile the package.
$(MAKE) $(APPNAME)
- #docbook-to-man debian/ameter.sgml > ameter.1
-
touch $@
clean:
# Add here commands to clean up after the build process.
# $(MAKE) clean
+ rm -f $(APPNAME)
+ rm -f *.o
+ rm -f moc_*.cpp
dh_clean
dh_installdirs
# Add here commands to install the package into debian/ameter.
- $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/$(APPNAME) install
+ $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
# Build architecture-independent files here.
dh_installchangelogs
dh_installdocs
dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
-# dh_perl
-# dh_makeshlibs
dh_installdeb
dh_shlibdeps # Uncomment this line for use without Qt Creator
dh_gencontrol
QString state = message.arguments().at(0).toString();
if (!state.isEmpty()) {
if (state == MCE_DISPLAY_OFF_STRING)
+ {
accelerometer->stop();
- if (state == MCE_DISPLAY_ON_STRING)
+ } else {
accelerometer->start();
+ }
}
}
#endif