21 |
# along with OSM2Go. If not, see <http://www.gnu.org/licenses/>. |
# along with OSM2Go. If not, see <http://www.gnu.org/licenses/>. |
22 |
|
|
23 |
AC_PREREQ(2.61) |
AC_PREREQ(2.61) |
24 |
AC_INIT([OSM2Go],[0.7.20],[osm2go-users@garage.maemo.org]) |
AC_INIT([OSM2Go],[0.7.21],[osm2go-users@garage.maemo.org]) |
25 |
AC_CONFIG_SRCDIR([src/main.c]) |
AC_CONFIG_SRCDIR([src/main.c]) |
26 |
# AC_CONFIG_HEADER([src/config.h]) |
# AC_CONFIG_HEADER([src/config.h]) |
27 |
|
|
147 |
INSTALL_PLATTFORM="install-maemo" |
INSTALL_PLATTFORM="install-maemo" |
148 |
AC_SUBST(INSTALL_PLATTFORM) |
AC_SUBST(INSTALL_PLATTFORM) |
149 |
|
|
150 |
|
# fremantle uses icons of 48x48 pixels for the app installer, |
151 |
|
# older versions used 26x26 |
152 |
|
if [[ "$MAJOR" == "5" ]]; then |
153 |
|
ICONNAME=osm2go.48.png |
154 |
|
else |
155 |
|
ICONNAME=osm2go.26.png |
156 |
|
fi |
157 |
|
|
158 |
|
AC_MSG_NOTICE([Using application installer icon "$ICONNAME"]) |
159 |
|
|
160 |
|
# add icon entry to debian/control |
161 |
|
ICON=" Maemo icon $ICONNAME |
162 |
|
XB-Maemo-Icon-26: |
163 |
|
" |
164 |
|
|
165 |
|
# generate base64 icon, remove first and last line |
166 |
|
# and add a space before each line |
167 |
|
ICON="$ICON`uuencode -m data/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`" |
168 |
|
|
169 |
], [ |
], [ |
170 |
AC_MSG_RESULT(no) |
AC_MSG_RESULT(no) |
171 |
|
|
181 |
|
|
182 |
INSTALL_PLATTFORM="install-debian" |
INSTALL_PLATTFORM="install-debian" |
183 |
AC_SUBST(INSTALL_PLATTFORM) |
AC_SUBST(INSTALL_PLATTFORM) |
|
]) |
|
184 |
|
|
185 |
|
ICON=" No icon" |
186 |
|
]) |
187 |
|
|
188 |
AC_CONFIG_FILES([Makefile src/Makefile data/Makefile]) |
AC_SUBST(ICON) |
189 |
|
AC_CONFIG_FILES([Makefile src/Makefile data/Makefile debian/control]) |
190 |
|
|
191 |
AC_OUTPUT |
AC_OUTPUT |