-# maemo-launcher support is not working properly yet, so leave it disabled
-# ifeq (,$(findstring nolauncher,$(DEB_BUILD_OPTIONS)))
-# LAUNCHER = yes
-# LAUNCHER_DEPENDS=-Vlauncher:Depends="maemo-launcher"
-# conf_opt := --enable-maemo-launcher
-# endif
+ifeq (,$(findstring nolauncher,$(DEB_BUILD_OPTIONS)))
+ conf_opt = --enable-maemo-launcher
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ conf_opt += --enable-debug
+endif