From ff3089567574cd95a5d6ed6675e99cfe6ab94b61 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 14 Jul 2020 20:17:52 +0000 Subject: [PATCH] freetype: fpmake git-svn-id: trunk@63561 - --- .gitattributes | 1 + components/freetype/fpmake.pp | 101 ++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 components/freetype/fpmake.pp diff --git a/.gitattributes b/.gitattributes index f09c07a7f2..3c063819e5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1872,6 +1872,7 @@ components/freetype/Makefile svneol=native#text/plain components/freetype/Makefile.compiled svneol=native#text/plain components/freetype/Makefile.fpc svneol=native#text/plain components/freetype/easylazfreetype.pas svneol=native#text/pascal +components/freetype/fpmake.pp svneol=native#text/plain components/freetype/freetype.lpk svneol=native#text/plain components/freetype/freetype.pas svneol=native#text/plain components/freetype/lazfreetype.pas svneol=native#text/pascal diff --git a/components/freetype/fpmake.pp b/components/freetype/fpmake.pp new file mode 100644 index 0000000000..0fa769968d --- /dev/null +++ b/components/freetype/fpmake.pp @@ -0,0 +1,101 @@ +{ + File generated automatically by Lazarus Package Manager + + fpmake.pp for freetype 1.0 + + This file was generated on 14.07.2020 +} + +{$ifndef ALLPACKAGES} +{$mode objfpc}{$H+} +program fpmake; + +uses fpmkunit; +{$endif ALLPACKAGES} + +procedure add_freetype(const ADirectory: string); + +var + P : TPackage; + T : TTarget; + D : TDependency; + +begin + with Installer do + begin + P:=AddPackage('freetype'); + P.Version:='1.0.0-0'; + + P.Directory:=ADirectory; + + P.Author:='David Turner, Robert Wilhelm and Werner Lemberg'; + P.License:='Modified LGPL-2 or FreeType License'; + P.Description:='FreeType font rendering.'; + + P.Flags.Add('LazarusDsgnPkg'); + + D := P.Dependencies.Add('lazutils'); + P.Options.Add('-MObjFPC'); + P.Options.Add('-Scghi'); + P.Options.Add('-O1'); + P.Options.Add('-g'); + P.Options.Add('-gl'); + P.Options.Add('-l'); + P.Options.Add('-vewnhibq'); + P.UnitPath.Add('.'); + T:=P.Targets.AddUnit('freetype.pas'); + t.Dependencies.AddUnit('easylazfreetype'); + t.Dependencies.AddUnit('lazfreetype'); + t.Dependencies.AddUnit('lazfreetypefontcollection'); + t.Dependencies.AddUnit('lazfreetypefpimagedrawer'); + t.Dependencies.AddUnit('ttcache'); + t.Dependencies.AddUnit('ttcalc'); + t.Dependencies.AddUnit('ttcmap'); + t.Dependencies.AddUnit('ttdebug'); + t.Dependencies.AddUnit('tterror'); + t.Dependencies.AddUnit('ttfile'); + t.Dependencies.AddUnit('ttgload'); + t.Dependencies.AddUnit('ttinterp'); + t.Dependencies.AddUnit('ttkern'); + t.Dependencies.AddUnit('ttload'); + t.Dependencies.AddUnit('ttmemory'); + t.Dependencies.AddUnit('ttobjs'); + t.Dependencies.AddUnit('ttprofile'); + t.Dependencies.AddUnit('ttraster'); + t.Dependencies.AddUnit('tttables'); + t.Dependencies.AddUnit('tttypes'); + + T:=P.Targets.AddUnit('easylazfreetype.pas'); + T:=P.Targets.AddUnit('lazfreetype.pas'); + T:=P.Targets.AddUnit('lazfreetypefontcollection.pas'); + T:=P.Targets.AddUnit('lazfreetypefpimagedrawer.pas'); + T:=P.Targets.AddUnit('ttcache.pas'); + T:=P.Targets.AddUnit('ttcalc.pas'); + T:=P.Targets.AddUnit('ttcmap.pas'); + T:=P.Targets.AddUnit('ttdebug.pas'); + T:=P.Targets.AddUnit('tterror.pas'); + T:=P.Targets.AddUnit('ttfile.pas'); + T:=P.Targets.AddUnit('ttgload.pas'); + T:=P.Targets.AddUnit('ttinterp.pas'); + T:=P.Targets.AddUnit('ttkern.pas'); + T:=P.Targets.AddUnit('ttload.pas'); + T:=P.Targets.AddUnit('ttmemory.pas'); + T:=P.Targets.AddUnit('ttobjs.pas'); + T:=P.Targets.AddUnit('ttprofile.pas'); + T:=P.Targets.AddUnit('ttraster.pas'); + T:=P.Targets.AddUnit('tttables.pas'); + T:=P.Targets.AddUnit('tttypes.pas'); + + // copy the compiled file, so the IDE knows how the package was compiled + P.Sources.AddSrc('freetype.compiled'); + P.InstallFiles.Add('freetype.compiled',AllOSes,'$(unitinstalldir)'); + + end; +end; + +{$ifndef ALLPACKAGES} +begin + add_freetype(''); + Installer.Run; +end. +{$endif ALLPACKAGES}