Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WebKitSupplemental Makefile and freetype.
- Loading branch information
Showing
3 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
VERSION = 0.0.1 | ||
|
||
LEVEL=../.. | ||
|
||
build:: | ||
|
||
include $(LEVEL)/Makefile.common | ||
|
||
.PHONY: build unpack | ||
build:: build/$(CONFIG)/.built-WebKitSupplemental-${VERSION} | ||
unpack: build/$(CONFIG)/.unpacked | ||
|
||
### Unpack the software and build it | ||
#build/$(CONFIG)/.unpacked: $(ISIS_DL) | ||
# -rm -rf build/$(CONFIG) | ||
# mkdir -p build/$(CONFIG)/src | ||
# $(call EXTRACT,ISIS,build/$(CONFIG)/src,--strip=1) | ||
# touch $@ | ||
|
||
INCLUDE_DIRS := -I$(STAGING_DIR)/ISIS_OUT/include/ -I$(STAGING_DIR)/usr/include/ -I$(STAGING_DIR)/usr/include/glib-2.0/ | ||
QTPATH := $(shell readlink -f $(LEVEL)/packages/sysmgr/qt4/build/armv7) | ||
QMAKE := $(QTPATH)/bin/qmake-palm | ||
|
||
QMAKE_CXX := $(TCDIR)/bin/arm-none-linux-gnueabi-g++ | ||
QMAKE_CC := $(TCDIR)/bin/arm-none-linux-gnueabi-gcc | ||
QMAKE_AR := $(TCDIR)/bin/arm-none-linux-gnueabi-ar | ||
QMAKE_RANLIB := $(TCDIR)/bin/arm-none-linux-gnueabi-ranlib | ||
QMAKE_STRIP := $(TCDIR)/bin/arm-none-linux-gnueabi-strip | ||
QMAKE_LINK := $(TCDIR)/bin/arm-none-linux-gnueabi-g++ | ||
|
||
|
||
build/$(CONFIG)/.config-WebKitSupplemental-${VERSION}: build/$(CONFIG)/.unpacked | ||
touch $@ | ||
|
||
build/$(CONFIG)/.built-WebKitSupplemental-${VERSION}: build/$(CONFIG)/.config-WebKitSupplemental-${VERSION} | ||
make -C build/$(CONFIG)/src/WebKitSupplemental/ INCLUDES="$(INCLUDE_DIRS)" DISTRO_TYPE=release TARGET_ARCH=arm INCLUDE_DIR=$(STAGING_DIR)/usr/include/ LIB_DIR=$(STAGING_DIR)/usr/lib/ QTDIR=$(QTPATH) QMAKE=$(QMAKE) INSTALL_DIR=$(STAGING_DIR) configure all install | ||
touch $@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
pushd . | ||
|
||
CURRENTDIR=`pwd` | ||
DOWNLOADS=downloads/freetype/ | ||
|
||
if [ ! -e $DOWNLOADS ]; then | ||
mkdir -p $DOWNLOADS | ||
fi | ||
cd $DOWNLOADS | ||
|
||
wget http://downloads.help.palm.com/opensource/3.0.5/freetype-2.3.12.tar.bz2 | ||
wget http://downloads.help.palm.com/opensource/3.0.5/freetype-2.3.12-patches.tgz | ||
|
||
tar -xvf freetype-2.3.12.tar.bz2 | ||
tar -xvf freetype-2.3.12-patches.tgz | ||
|
||
cd freetype-2.3.12 | ||
|
||
patch -p1 < ../fix-configure.patch | ||
patch -p1 < ../libtool-tag.patch | ||
patch -p1 < ../files/no-hardcode.patch | ||
|
||
cp include/* $CURRENTDIR/staging/armv7/usr/include/ | ||
|
||
touch .freetype | ||
|
||
popd | ||
|