This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
harfbuzz.cygport
71 lines (68 loc) · 2.09 KB
/
harfbuzz.cygport
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
NAME="harfbuzz"
VERSION=2.5.3
RELEASE=1
CATEGORY="Libs"
SUMMARY="OpenType text shaping engine"
DESCRIPTION="HarfBuzz is an OpenType text shaping engine."
HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
SRC_URI="https://www.freedesktop.org/software/harfbuzz/release/${NAME}-${VERSION}.tar.xz"
PATCH_URI="
0.9.15-cygwin-visibility.patch
"
PKG_NAMES="harfbuzz libharfbuzz0 libharfbuzz-devel
libharfbuzz-gobject0 libharfbuzz-gobject-devel
libharfbuzz-subset0 libharfbuzz-subset-devel
libharfbuzz-icu0 libharfbuzz-icu-devel
girepository-HarfBuzz0.0"
harfbuzz_CATEGORY="X11"
harfbuzz_CONTENTS="usr/bin/hb* usr/share/doc/"
libharfbuzz0_CONTENTS="usr/bin/cygharfbuzz-0.dll"
libharfbuzz_devel_REQUIRES="libfreetype-devel libglib2.0-devel girepository-HarfBuzz0.0"
libharfbuzz_devel_CONTENTS="
--exclude=hb-gobject*.h
--exclude=hb-icu.h
--exclude=hb-subset*
usr/include/harfbuzz/
usr/lib/libharfbuzz.dll.a
usr/lib/pkgconfig/harfbuzz.pc
"
libharfbuzz_gobject0_CONTENTS="usr/bin/cygharfbuzz-gobject-0.dll"
libharfbuzz_gobject_devel_CONTENTS="
usr/include/harfbuzz/hb-gobject*.h
usr/lib/libharfbuzz-gobject.dll.a
usr/lib/pkgconfig/harfbuzz-gobject.pc
"
libharfbuzz_icu0_CONTENTS="usr/bin/cygharfbuzz-icu-0.dll"
libharfbuzz_icu_devel_REQUIRES="libicu-devel"
libharfbuzz_icu_devel_CONTENTS="
usr/include/harfbuzz/hb-icu.h
usr/lib/libharfbuzz-icu.dll.a
usr/lib/pkgconfig/harfbuzz-icu.pc
"
libharfbuzz_subset0_CONTENTS="usr/bin/cygharfbuzz-subset-0.dll"
libharfbuzz_subset_devel_CONTENTS="
usr/include/harfbuzz/hb-subset*
usr/lib/libharfbuzz-subset.dll.a
usr/lib/pkgconfig/harfbuzz-subset.pc
"
girepository_HarfBuzz0_0_CONTENTS="usr/*/gir*-1.0/HarfBuzz-0.0.*"
# not auto-generated, needs fixing for portability
PKG_IGNORE="usr/lib/cmake/harfbuzz/"
DEPEND="pkgconfig(cairo)
pkgconfig(freetype2)
pkgconfig(gobject-2.0)
pkgconfig(graphite2)
pkgconfig(icu-uc)"
# icu adds -std=c++0x which implies -ansi
CPPFLAGS+=" -D_DEFAULT_SOURCE"
CYGCONF_ARGS="
--with-cairo
--with-freetype
--with-glib
--with-gobject
--with-graphite2
--with-icu
--without-coretext
--without-directwrite
--without-uniscribe
"