From 74fb2dc675f84a4137c4b69d300739495e26e764 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Mon, 12 Oct 2020 18:33:26 +0900 Subject: [PATCH] add Tizen tv profile only configuration It must be reverted after applying new version of fontconfig. Change-Id: I755e78e50eac51d6430fe5bbc443867c7ca9abb5 --- packaging/fontconfig.spec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packaging/fontconfig.spec b/packaging/fontconfig.spec index 88bd33a..a2e5d1f 100644 --- a/packaging/fontconfig.spec +++ b/packaging/fontconfig.spec @@ -53,6 +53,7 @@ cp %{SOURCE1001} . # We don't want to rebuild the docs, but we want to install the included ones. export HASDOCBOOK=no +%if "%{?profile}" != "tv" %reconfigure --disable-static \ --with-expat=%{_prefix} \ --with-expat-include=%{_includedir} \ @@ -65,6 +66,20 @@ export HASDOCBOOK=no --with-templatedir=%{TZ_SYS_RO_ETC}/fonts/conf.avail \ --with-xmldir=%{TZ_SYS_RO_ETC}/fonts \ --disable-docs +%else +%reconfigure --disable-static \ + --with-expat=%{_prefix} \ + --with-expat-include=%{_includedir} \ + --with-expat-lib=%{_libdir} \ + --with-freetype-config=%{TZ_SYS_BIN}/freetype-config \ + --with-add-fonts=%{TZ_SYS_RO_SHARE}/fonts \ + --with-cache-dir=%{TZ_SYS_VAR}/cache/fontconfig \ + --with-baseconfigdir=%{TZ_SYS_RO_ETC}/fonts \ + --with-configdir=%{TZ_SYS_RO_ETC}/fonts/conf.d \ + --with-templatedir=%{TZ_SYS_RO_ETC}/fonts/conf.avail \ + --with-xmldir=%{TZ_SYS_RO_ETC}/fonts \ + --disable-docs +%endif make %{?jobs:-j%jobs} -- 2.7.4