add Tizen tv profile only configuration 59/245559/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.5/unified/20211029.012734 accepted/tizen/7.0/unified/20221110.063150 accepted/tizen/7.0/unified/hotfix/20221116.110754 accepted/tizen/8.0/unified/20231005.094842 accepted/tizen/unified/20201102.124244 accepted/tizen/unified/20201102.124448 submit/tizen/20201013.094007 submit/tizen/20201018.221456 submit/tizen/20201027.041619 submit/tizen/20201027.093925 submit/tizen/20201101.231042 submit/tizen_6.5/20211028.163401 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 12 Oct 2020 09:33:26 +0000 (18:33 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Mon, 12 Oct 2020 09:34:59 +0000 (18:34 +0900)
It must be reverted after applying new version of fontconfig.

Change-Id: I755e78e50eac51d6430fe5bbc443867c7ca9abb5

packaging/fontconfig.spec

index 88bd33a..a2e5d1f 100644 (file)
@@ -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}