
    eCiV                     z    d dl Z dZdZdgZdddiiZd                                Zd	 Zd
 Zd Z	d Z
d Zd Zd ZdS )    Nz3.2.0ڀc9d88068d8017046842f444f02f31dbae109026ede943aaf265db5508de8b4b2be84203950f274a237f515bf7cbd361629d2032c6e8ee8f50354b430bba3a8cafreetypezharfbuzz-mtPTHREADS   a  
hb-aat-layout.cc
hb-aat-map.cc
hb-blob.cc
hb-buffer-serialize.cc
hb-buffer.cc
hb-common.cc
hb-draw.cc
hb-face.cc
hb-fallback-shape.cc
hb-font.cc
hb-map.cc
hb-number.cc
hb-ot-cff1-table.cc
hb-ot-cff2-table.cc
hb-ot-color.cc
hb-ot-face.cc
hb-ot-font.cc
hb-ot-layout.cc
hb-ot-map.cc
hb-ot-math.cc
hb-ot-meta.cc
hb-ot-metrics.cc
hb-ot-name.cc
hb-ot-shape-complex-arabic.cc
hb-ot-shape-complex-default.cc
hb-ot-shape-complex-hangul.cc
hb-ot-shape-complex-hebrew.cc
hb-ot-shape-complex-indic-table.cc
hb-ot-shape-complex-indic.cc
hb-ot-shape-complex-khmer.cc
hb-ot-shape-complex-myanmar.cc
hb-ot-shape-complex-syllabic.cc
hb-ot-shape-complex-thai.cc
hb-ot-shape-complex-use.cc
hb-ot-shape-complex-vowel-constraints.cc
hb-ot-shape-fallback.cc
hb-ot-shape-normalize.cc
hb-ot-shape.cc
hb-ot-tag.cc
hb-ot-var.cc
hb-set.cc
hb-shape-plan.cc
hb-shape.cc
hb-shaper.cc
hb-static.cc
hb-style.cc
hb-ucd.cc
hb-unicode.cc
hb-glib.cc
hb-ft.cc
hb-graphite2.cc
hb-uniscribe.cc
hb-gdi.cc
hb-directwrite.cc
hb-coretext.cc
c                     | j         S N)USE_HARFBUZZsettingss    8/b/s/w/ir/x/w/install/emscripten/tools/ports/harfbuzz.pyneededr   I   s    		    c                 $    d| j         rdndz   dz   S )Nlibharfbuzzz-mt z.a)r   r
   s    r   get_lib_namer   M   s    	8#4<%%"	=	DDr   c                                            ddt           dt           dt                      fd}|j                            t                    |d          gS )	Nharfbuzzz7https://github.com/harfbuzz/harfbuzz/releases/download/z
/harfbuzz-z.tar.xz)
sha512hashc                                         ddt          z             }                    d          }                    t          j                            |d          d           d                                }|d|z   dt          j                            |d          z   gz  }j        r|	                    d	           j
        r+|	                    d
           |	                    d           n|	                    d           |	                    d           |	                    d                               t          j                            |d          | d|t                     d S )Nr   z	harfbuzz-	freetype2src)targeta  
    -DHAVE_FREETYPE
    -DHAVE_ATEXIT
    -DHAVE_FALLBACK
    -DHAVE_FT_SET_VAR_BLEND_COORDINATES
    -DHAVE_INTEL_ATOMIC_PRIMITIVES
    -DHAVE_MMAP
    -DHAVE_MPROTECT
    -DHAVE_OT
    -DHAVE_STRTOD_L
    -DHAVE_SYSCONF
    -DHAVE_UCDN
    -DHAVE_UNIST_H
    -DHAVE_XLOCALE_H
    -DHAVE_SYS_MMAN_H
    -DHAVE_UNISTD_H
    -fno-rtti
    -fno-exceptions
    -O3
    -DNDEBUG
    -Wno-nontrivial-memaccess
    z-Iconfigz-fPICz-pthreadz-DHAVE_PTHREADz
-DHB_NO_MTz#-DHB_NO_PRAGMA_GCC_DIAGNOSTIC_ERRORz%-DHB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING)flagssrcs)get_dirVERSIONget_include_dirinstall_headersospathjoinsplitRELOCATABLEappendr   
build_portr   )finalsource_pathfreetype_includecflagsportsr   s       r   createzget.<locals>.createT   s[   --
K',ABBK,,[99	"',,{E:::NNN* 	+ . t&&rw||<Lh/W/W(WXXF mmG "mmJmm$%%%%mmL!!! MM7888
MM9:::	RW\\+u55ujPV]abbbbbr   port)what)fetch_projectr   HASHcacheget_libr   )r,   r   sharedr-   s   ``  r   getr5   Q   s    j"\c""ov"""  MQ  R  R  R6c 6c 6c 6c 6c 6cp ,

|H55vF

K
K	LLr   c                 T    |j                             t          |                     d S r   )r2   	erase_libr   )r,   r   r4   s      r   clearr8      s&    ,h//00000r   c                     d| _         d S )Nr   )USE_FREETYPEr
   s    r   process_dependenciesr;      s    (r   c                 0    d|                      d          gS )Nz-isystemr   )r   )r,   s    r   process_argsr=      s    
e++J77	88r   c                      dS )Nz?harfbuzz (-sUSE_HARFBUZZ=1 or --use-port=harfbuzz; MIT license) r?   r   r   showr@      s    	J	Jr   )r!   r   r1   depsvariantsr$   r   r   r   r5   r8   r;   r=   r@   r?   r   r   <module>rC      s    
			
 J|J?+8p 
EGGq v  E E E;M ;M ;M|1 1 1  9 9 9K K K K Kr   