|
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# T2 SDE: target/psion-pda/pkg_links.conf
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
#
|
|
# More information can be found in the files COPYING and README.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
# GNU General Public License can be found in the file COPYING.
|
|
# --- T2-COPYRIGHT-NOTE-END ---
|
|
|
|
# we strip away languages, fonts, codepages, ...
|
|
# we need it damn small -ReneR
|
|
|
|
embedded_links_pm()
|
|
{
|
|
# srink embedded data
|
|
(cd Unicode ; ./gen)
|
|
(cd graphics ; make
|
|
rm -rf font/{century,symbol,japanese}*
|
|
./generate_font ; mv -fv font_include.c ..
|
|
)
|
|
}
|
|
|
|
hook_add preconf 5 "sed -i 's/^image_formats=.*/image_formats=/' configure"
|
|
hook_add preconf 6 "sed -i '/{.*translation/ { /english/!d }' language.inc"
|
|
hook_add premake 6 "embedded_links_pm"
|
|
|
|
var_append confopt ' ' '--enable-graphics --enable-debuglevel=0'
|
|
|
|
var_append confopt ' ' '--disable-javascript --without-ssl'
|
|
var_append confopt ' ' '--without-libtiff'
|
|
var_append confopt ' ' '--without-svgalib --without-x --without-directfb --without-sdl'
|
|
|