ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Freetype 2.3.9


From: Hamilton Vera
Subject: [Ltib] Freetype 2.3.9
Date: Thu, 27 Aug 2009 16:05:25 -0300

Hi everyone, here goes the spec file for freetype, I would like to
hear from you about one work around:

#FIXME: Work aroud to cross compile apinames in the host machine
cd src/tools
gcc apinames.c -o apinames
cp apinames ../../objs


The apiname application is needed during compilation.


%define pfx /opt/freescale/rootfs/%{_target_cpu}

Summary         : TrueType font rasterizer
Name            : freetype
Version         : 2.3.9
Release         : 1
License         : GPL or FTL
Vendor          : Maxtrack
Packager        : Hamilton Vera
Group           : System Environment/Libraries
Source          : %{name}-%{version}.tar.bz2
URL             : http://www.freetype.org/
BuildRoot       : %{_tmppath}/%{name}
Prefix          : %{pfx}

%Description
%{summary}

%Prep
%setup
#FIXME: Work aroud to cross compile apinames in the host machine
cd src/tools
gcc apinames.c -o apinames
cp apinames ../../objs
%Build
# FIXME: Work around to fix function 'FT_MulFix_arm'
# http://archmobile.org/trac/ticket/42
export CFLAGS="-std=gnu99"
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
make

%Install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT/%{pfx} install
rm -f $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/*.la

%Clean
rm -rf $RPM_BUILD_ROOT


%Files
%defattr(-,root,root)
%{pfx}/*


Dear Stuart, I did not tested this version with all other packages
like (gtk,pango,etc), I will do it as soon as possible.

Thanks.

Hamilton Vera




reply via email to

[Prev in Thread] Current Thread [Next in Thread]