diff --git a/buildout/software-profiles/freetype.cfg b/buildout/software-profiles/freetype.cfg new file mode 100644 index 0000000000000000000000000000000000000000..378b1d76af9d6c26800e57767b68e067fde476e0 --- /dev/null +++ b/buildout/software-profiles/freetype.cfg @@ -0,0 +1,14 @@ +[buildout] +extends = + ../software-profiles/zlib.cfg + +parts = + freetype + +[freetype] +recipe = hexagonit.recipe.cmmi +url = http://download.savannah.gnu.org/releases/freetype/freetype-2.4.3.tar.gz +md5sum = 649dd3c558278ae1d79a4e8e502c13e4 +environment = + CFLAGS=-I${zlib:location}/include + LDFLAGS=-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib diff --git a/buildout/tests/assertSoftware.py b/buildout/tests/assertSoftware.py index 98a58ddb93d4d0fe8fe94bf38e7bab870633f008..4810c55c9edf1181f982fb48ca450b5cb40edca2 100644 --- a/buildout/tests/assertSoftware.py +++ b/buildout/tests/assertSoftware.py @@ -1766,6 +1766,15 @@ class AssertJasper(AssertSoftwareMixin): 'libjpeg', ]) +class AssertFreetype(AssertSoftwareMixin): + def test_ld_libfreetype(self): + self.assertLibraryList('parts/freetype/lib/libfreetype.so',[ + 'libc', + 'libz', + ], [ + 'zlib', + ]) + class AssertElfLinkedInternally(AssertSoftwareMixin): def test(self): result_dict = {}