diff --git a/harfbuzz-7.3.0.tar.xz b/harfbuzz-7.3.0.tar.xz new file mode 100644 index 0000000..93ecb47 --- /dev/null +++ b/harfbuzz-7.3.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20770789749ac9ba846df33983dbda22db836c70d9f5d050cb9aa5347094a8fb +size 18867940 diff --git a/libreoffice.spec b/libreoffice.spec index 81b03b1..277b984 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -38,6 +38,7 @@ %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 %bcond_without system_gpgme %bcond_without system_curl +%bcond without system_harfbuzz %else # Hack in the bundled libs to not pop up on requires/provides to avoid # faking libreoffice provide some system packages @@ -46,6 +47,7 @@ %global __requires_exclude ^libgpgmepp\\.so.*$ %bcond_with system_gpgme %bcond_with system_curl +%bcond_with system_harfbuzz %endif %bcond_with firebird Name: libreoffice @@ -202,8 +204,12 @@ BuildRequires: pkgconfig(graphite2) >= 0.9.3 BuildRequires: pkgconfig(gssrpc) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 +%if %{with system_harfbuzz} BuildRequires: pkgconfig(harfbuzz) >= 2.6.8 BuildRequires: pkgconfig(harfbuzz-icu) >= 2.6.8 +%else +Source2023: %{external_url}/harfbuzz-7.3.0.tar.xz +%endif BuildRequires: pkgconfig(hunspell) BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(lcms2) @@ -1182,6 +1188,11 @@ export NOCONFIGURE=yes --with-system-curl \ %else --without-system-curl \ +%endif +%if %{with system_harfbuzz} + --with-system-harfbuzz \ +%else + --without-system-harfbuzz \ %endif --enable-evolution2 \ --enable-dbus \