1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Open-source 2D graphics library
9 HOMEPAGE= https://skia.org
12 DOWNLOAD_GROUPS= main dng piex sfn zlib
13 SITES[main]= GITHUB/google:skia:4b55ff0
14 SITES[dng]= GITHUB/skia-mirror:dng_sdk:c8d0c9b:third_party/externals/dng_sdk
15 SITES[piex]= GITHUB/google:piex:256bd10:third_party/externals/piex
16 SITES[sfn]= GITHUB/googlefonts:sfntly:b55ff30:third_party/externals/sfntly
17 SITES[zlib]= GITHUB/skia-mirror:zlib:47af7c5:third_party/externals/zlib
18 DISTFILE[1]= generated:main
19 DISTFILE[2]= generated:sfn
20 DISTFILE[3]= generated:dng
21 DISTFILE[4]= generated:piex
22 DISTFILE[5]= generated:zlib
25 SPKGS[standard]= single
27 OPTIONS_AVAILABLE= none
28 OPTIONS_STANDARD= none
30 BUILD_DEPENDS= gn:single:standard
31 BUILDRUN_DEPENDS= WebP:single:standard
32 harfbuzz:primary:standard
34 freetype:primary:standard
36 USES= ninja python:py27,build jpeg png expat zlib
39 LICENSE= BSD3CLAUSE:single
40 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/LICENSE
43 CONFIGURE_OUTSOURCE= yes
44 CONFIGURE_ENV= AUTOPYTHON=2.7
46 MAKE_ENV= AUTOPYTHON=2.7
50 VAR_OPSYS[freebsd]= VAR1=skia_enable_fontmgr_empty=true
51 VAR_OPSYS[netbsd]= VAR1=skia_enable_fontmgr_empty=true
52 VAR_OPSYS[dragonfly]= VAR1=skia_enable_fontmgr_empty=true
55 ${REINPLACE_CMD} -e 's|/usr/include/harfbuzz|${LOCALBASE}/include/harfbuzz|'\
56 ${WRKSRC}/third_party/harfbuzz/BUILD.gn
57 ${REINPLACE_CMD} -e 's|/usr/include/freetype2|${LOCALBASE}/include/freetype2|'\
58 ${WRKSRC}/third_party/freetype2/BUILD.gn
59 # Delete reference to gn function "set_sources_assignment_filter"
60 # https://gn.googlesource.com/gn/+/55e535a6716e57320fdd3901f0347a5c30562199
61 ${REINPLACE_CMD} -e '/set_sources_assignment_filter/d' \
66 ${MKDIR} ${CONFIGURE_WRKSRC}
67 (cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
68 gn gen ${CONFIGURE_WRKSRC} --args="\
69 is_official_build=true \
70 is_component_build=true \
71 skia_use_system_libjpeg_turbo=true \
72 skia_use_system_libpng=true \
73 skia_use_system_libwebp=true \
74 skia_use_system_icu=true \
75 skia_use_system_expat=true \
76 skia_use_system_zlib=true \
77 skia_use_system_harfbuzz=true \
82 ${MKDIR} ${STAGEDIR}${PREFIX}/lib
83 ${MKDIR} ${STAGEDIR}${PREFIX}/include/skia
84 ${INSTALL_LIB} ${BUILD_WRKSRC}/libskia.so \
85 ${STAGEDIR}${PREFIX}/lib/libskia.so.1.0
86 (cd ${STAGEDIR}${PREFIX}/lib && \
87 ${LN} -s libskia.so.1.0 libskia.so)
88 (cd ${WRKSRC} && ${COPYTREE_SHARE} \
89 include ${STAGEDIR}${PREFIX}/include/skia)
91 [FILE:265:descriptions/desc.single]
92 Skia is an open source 2D graphics library which provides common APIs that
93 work across a variety of hardware and software platforms. It serves as the
94 graphics engine for Google Chrome and Chrome OS, Android, Mozilla Firefox
95 and Firefox OS, and many other products.
99 b4ca5402072063acc4ba7064dfbf10251b3ea28577997964563588c72ebf1dae 46411549 skia-src/google-skia-4b55ff0.tar.gz
100 471fdcebf662f3b731e602b41461aa7a6cdcda9d78d8ec5196edf08f504fe53f 39295928 skia-src/googlefonts-sfntly-b55ff30.tar.gz
101 a523111f2911a68efc3f1488dc60c8bd4d41746731ce28014ae273767a28311e 421656 skia-src/skia-mirror-dng_sdk-c8d0c9b.tar.gz
102 5250fd5e9b0273f1f5d374f2e3712647e077a40a63b93e2cb0b867c885ef1de1 36535 skia-src/google-piex-256bd10.tar.gz
103 d55c6e50ea609021d5dea5d26f0bad3625ad07c2ba122377fb304d30bc92013c 287368 skia-src/skia-mirror-zlib-47af7c5.tar.gz
106 [FILE:5604:manifests/plist.single]
107 include/skia/include/android/
108 SkAndroidFrameworkUtils.h
111 SkBitmapRegionDecoder.h
112 include/skia/include/atlastext/
115 SkAtlasTextRenderer.h
117 include/skia/include/c/
131 include/skia/include/codec/
136 include/skia/include/config/SkUserConfig.h
137 include/skia/include/core/
144 SkCanvasVirtualEnforcer.h
155 SkDeferredDisplayList.h
156 SkDeferredDisplayListRecorder.h
160 SkEncodedImageFormat.h
199 SkPromiseImageTexture.h
203 SkRasterHandleAllocator.h
215 SkSurfaceCharacterization.h
228 include/skia/include/docs/
231 include/skia/include/effects/
234 SkAlphaThresholdFilter.h
235 SkArithmeticImageFilter.h
239 SkColorFilterImageFilter.h
241 SkColorMatrixFilter.h
242 SkComposeImageFilter.h
245 SkDiscretePathEffect.h
246 SkDisplacementMapEffect.h
247 SkDropShadowImageFilter.h
249 SkHighContrastFilter.h
253 SkLightingImageFilter.h
255 SkMagnifierImageFilter.h
256 SkMatrixConvolutionImageFilter.h
258 SkMorphologyImageFilter.h
259 SkOffsetImageFilter.h
261 SkOverdrawColorFilter.h
263 SkPerlinNoiseShader.h
264 SkPictureImageFilter.h
271 SkXfermodeImageFilter.h
272 include/skia/include/encode/
277 include/skia/include/gpu/
278 GrBackendDrawableInfo.h
284 GrContextThreadSafeProxy.h
285 GrDriverBugWorkarounds.h
286 GrDriverBugWorkaroundsAutogen.h
288 include/skia/include/gpu/d3d/
290 GrD3DBackendContext.h
291 include/skia/include/gpu/dawn/GrDawnTypes.h
292 include/skia/include/gpu/gl/
293 GrGLAssembleHelpers.h
294 GrGLAssembleInterface.h
301 include/skia/include/gpu/mock/GrMockTypes.h
302 include/skia/include/gpu/mtl/GrMtlTypes.h
303 include/skia/include/gpu/vk/
306 GrVkMemoryAllocator.h
309 include/skia/include/pathops/SkPathOps.h
310 include/skia/include/ports/
312 SkFontConfigInterface.h
313 SkFontMgr_FontConfigInterface.h
315 SkFontMgr_directory.h
317 SkFontMgr_fontconfig.h
321 SkImageGeneratorWIC.h
325 include/skia/include/private/
366 SkThreadAnnotations.h
371 include/skia/include/svg/SkSVGCanvas.h
372 include/skia/include/third_party/skcms/
375 include/skia/include/third_party/vulkan/LICENSE
376 include/skia/include/third_party/vulkan/vulkan/
385 include/skia/include/utils/
391 SkFrontBufferedStream.h
398 SkPaintFilterCanvas.h
405 include/skia/include/utils/mac/SkCGUtils.h
408 libskia.so.%%SOVERSION%%
411 [FILE:1205:patches/patch-BUILD.gn]
412 --- BUILD.gn.orig 2020-03-19 21:10:56 UTC
414 @@ -984,6 +984,7 @@ component("skia") {
415 "src/ports/SkImageGenerator_skia.cpp",
416 "src/ports/SkMemory_malloc.cpp",
417 "src/ports/SkOSFile_stdio.cpp",
418 + "src/ports/SkDebug_stdio.cpp",
419 "src/sfnt/SkOTTable_name.cpp",
420 "src/sfnt/SkOTUtils.cpp",
422 @@ -1028,7 +1029,6 @@ component("skia") {
425 if (is_linux || target_cpu == "wasm") {
426 - sources += [ "src/ports/SkDebug_stdio.cpp" ]
430 @@ -1040,7 +1040,6 @@ component("skia") {
434 - "src/ports/SkDebug_stdio.cpp",
435 "src/ports/SkImageEncoder_CG.cpp",
436 "src/ports/SkImageGeneratorCG.cpp",
438 @@ -1054,7 +1053,6 @@ component("skia") {
442 - "src/ports/SkDebug_stdio.cpp",
443 "src/ports/SkFontHost_mac.cpp",
444 "src/ports/SkImageEncoder_CG.cpp",
445 "src/ports/SkImageGeneratorCG.cpp",
446 @@ -1071,9 +1069,6 @@ component("skia") {
451 - sources += [ "src/ports/SkDebug_stdio.cpp" ]
454 if (skia_enable_spirv_validation) {
455 deps += [ "//third_party/spirv-tools:spvtools_val" ]
458 [FILE:667:patches/patch-src_gpu_GrAutoLocaleSetter.h]
459 --- src/gpu/GrAutoLocaleSetter.h.orig 2020-03-19 21:10:56 UTC
460 +++ src/gpu/GrAutoLocaleSetter.h
461 @@ -49,7 +49,7 @@ public:
463 fShouldRestoreLocale = false;
466 +#elif HAVE_LOCALE_T && !defined __NetBSD__
468 // In xlocale nullptr means the C locale.
469 if (0 == strcmp(name, "C")) {
470 @@ -73,7 +73,7 @@ public:
471 setlocale(LC_ALL, fOldLocale.c_str());
473 _configthreadlocale(fOldPerThreadLocale);
475 +#elif HAVE_LOCALE_T && !defined __NetBSD__
477 uselocale(fOldLocale);
481 [FILE:531:patches/patch-third__party_externals_dng__sdk_source_RawEnvironment.h]
482 --- third_party/externals/dng_sdk/source/RawEnvironment.h.orig 2019-03-13 04:56:20 UTC
483 +++ third_party/externals/dng_sdk/source/RawEnvironment.h
485 // compilation. The constants qMacOS and qWinOS must be defined on all
486 // platforms. Other constants, such as qLinux, only need to be defined if we're
487 // actually compiling for that platform.
488 -#if defined(__linux__)
489 +#if defined(__linux__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
495 [FILE:1461:patches/patch-third__party_externals_dng__sdk_source_dng__safe__arithmetic.h]
496 --- third_party/externals/dng_sdk/source/dng_safe_arithmetic.h.orig 2019-03-13 04:56:20 UTC
497 +++ third_party/externals/dng_sdk/source/dng_safe_arithmetic.h
498 @@ -109,20 +109,6 @@ std::int64_t SafeInt64MultSlow(std::int6
500 // Internal function used as optimization for SafeInt64Mult() if Clang
501 // __builtin_smull_overflow is supported. Don't call this function directly.
502 -#if __has_builtin(__builtin_smull_overflow)
503 -inline std::int64_t SafeInt64MultByClang(std::int64_t arg1, std::int64_t arg2) {
504 - std::int64_t result;
505 -#if (__WORDSIZE == 64) && !defined(__APPLE__)
506 - if (__builtin_smull_overflow(arg1, arg2, &result)) {
508 - if (__builtin_smulll_overflow(arg1, arg2, &result)) {
510 - ThrowProgramError("Arithmetic overflow");
511 - abort(); // Never reached.
517 // Internal function used as optimization for SafeInt64Mult() if __int128 type
518 // is supported. Don't call this function directly.
519 @@ -147,9 +133,7 @@ inline std::int64_t SafeInt64MultByInt12
520 // (without overflow). Otherwise, throws a dng_exception with error code
521 // dng_error_unknown.
522 inline std::int64_t SafeInt64Mult(std::int64_t arg1, std::int64_t arg2) {
523 -#if __has_builtin(__builtin_smull_overflow)
524 - return dng_internal::SafeInt64MultByClang(arg1, arg2);
525 -#elif defined(DNG_HAS_INT128)
526 +#if defined(DNG_HAS_INT128)
527 return dng_internal::SafeInt64MultByInt128(arg1, arg2);
529 return dng_internal::SafeInt64MultSlow(arg1, arg2);
532 [FILE:89:files/special.mk]
533 _USES_extract+= 501:make_extdir
536 ${MKDIR} ${WRKSRC}/third_party/externals