Skip to content

Commit

Permalink
Prepare for maemo6 stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <[email protected]>
  • Loading branch information
felipec committed Aug 22, 2011
1 parent 33f42c1 commit 5e9748d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ all:
libscrobble.a: scrobble.o
libscrobble.a: override CFLAGS += $(GLIB_CFLAGS) $(SOUP_CFLAGS)

scrobbler: main.o helper.o libscrobble.a service.o
scrobbler: m5_main.o helper.o libscrobble.a service.o
scrobbler: override CFLAGS += $(GLIB_CFLAGS) $(GTHREAD_CFLAGS) $(MAFW_CFLAGS) $(CONIC_CFLAGS)
scrobbler: override LIBS += $(GLIB_LIBS) $(GTHREAD_LIBS) $(MAFW_LIBS) $(CONIC_LIBS) $(SCROBBLE_LIBS) $(DBUS_LIBS)
bins += scrobbler
Expand Down
4 changes: 4 additions & 0 deletions helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,11 @@ void hp_init(void)
if (!g_thread_supported())
g_thread_init(NULL);

#ifdef MAEMO5
conf_file = g_build_filename(g_get_home_dir(), ".osso", "scrobbler", NULL);
#else
conf_file = g_build_filename(g_get_user_config_dir(), "scrobbler", NULL);
#endif
cache_dir = g_build_filename(g_get_user_cache_dir(), "scrobbler", NULL);

g_mkdir_with_parents(cache_dir, 0755);
Expand Down
File renamed without changes.

0 comments on commit 5e9748d

Please sign in to comment.