168 |
# fremantle uses icons of 48x48 pixels for the app installer, |
# fremantle uses icons of 48x48 pixels for the app installer, |
169 |
# older versions used 26x26 |
# older versions used 26x26 |
170 |
if [[ "$MAJOR" == "5" ]]; then |
if [[ "$MAJOR" == "5" ]]; then |
171 |
ICONNAME=gpxview.48.png |
ICONNAME=48x48/gpxview.png |
172 |
datarootdir=/opt |
datarootdir=/opt |
173 |
else |
else |
174 |
ICONNAME=gpxview.26.png |
ICONNAME=26x26/gpxview.png |
175 |
AC_MSG_NOTICE([Enabling Maemo Mapper support]) |
AC_MSG_NOTICE([Enabling Maemo Mapper support]) |
176 |
CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER" |
CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER" |
177 |
EXTRA_OBJS="$EXTRA_OBJS mm_poi.o" |
EXTRA_OBJS="$EXTRA_OBJS mm_poi.o" |
189 |
|
|
190 |
# generate base64 icon, remove first and last line |
# generate base64 icon, remove first and last line |
191 |
# and add a space before each line |
# and add a space before each line |
192 |
ICON="$ICON`uuencode -m data/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`" |
ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`" |
193 |
|
|
194 |
], [ |
], [ |
195 |
AC_MSG_RESULT(no) |
AC_MSG_RESULT(no) |