2012-09-07 17:29:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package harfbuzz
|
|
|
|
#
|
2024-05-06 11:19:47 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2024-04-02 16:10:09 +02:00
|
|
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
2012-09-07 17:29:55 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-05 18:01:07 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-09-07 17:29:55 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: harfbuzz
|
2024-05-17 08:14:57 +02:00
|
|
|
Version: 8.5.0
|
2012-09-07 17:29:55 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: An OpenType text shaping engine
|
|
|
|
License: MIT
|
2018-03-15 23:34:56 +01:00
|
|
|
URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
|
2020-04-18 18:04:16 +02:00
|
|
|
Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/%{name}-%{version}.tar.xz
|
2012-09-07 17:29:55 +02:00
|
|
|
Source99: baselibs.conf
|
2021-01-11 14:55:12 +01:00
|
|
|
BuildRequires: c++_compiler
|
2022-03-03 09:20:35 +01:00
|
|
|
BuildRequires: c_compiler
|
2021-01-11 14:55:12 +01:00
|
|
|
BuildRequires: meson
|
2020-12-29 12:50:23 +01:00
|
|
|
BuildRequires: pkgconfig >= 0.28
|
2024-04-02 16:10:09 +02:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.10
|
2012-09-07 17:29:55 +02:00
|
|
|
BuildRequires: pkgconfig(cairo-ft)
|
2015-05-18 11:50:35 +02:00
|
|
|
BuildRequires: pkgconfig(freetype2) >= 12.0.6
|
2024-04-02 16:10:09 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.30
|
2018-02-19 14:21:52 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2021-05-06 10:48:26 +02:00
|
|
|
BuildRequires: pkgconfig(graphite2) >= 1.2.0
|
2012-09-07 17:29:55 +02:00
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
2024-04-02 16:10:09 +02:00
|
|
|
BuildRequires: pkgconfig(icu-uc) >= 49.0
|
2016-02-22 17:57:56 +01:00
|
|
|
Conflicts: cantarell-fonts < 0.0.23
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
|
|
|
|
|
|
|
%package -n libharfbuzz0
|
|
|
|
Summary: An OpenType text shaping engine
|
|
|
|
|
|
|
|
%description -n libharfbuzz0
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
|
|
|
|
2023-02-14 13:06:18 +01:00
|
|
|
%package -n libharfbuzz-cairo0
|
|
|
|
Summary: Cairo integration into the HarfBuzz OpenType text shaping engine
|
|
|
|
|
|
|
|
%description -n libharfbuzz-cairo0
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
|
|
|
This package contains the Cairo library.
|
|
|
|
|
2013-05-31 20:35:13 +02:00
|
|
|
%package -n libharfbuzz-icu0
|
2018-03-13 09:52:42 +01:00
|
|
|
Summary: ICU integration into the HarfBuzz OpenType text shaping engine
|
2013-05-31 20:35:13 +02:00
|
|
|
|
|
|
|
%description -n libharfbuzz-icu0
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
2017-02-28 22:39:07 +01:00
|
|
|
This package contains the ICU library.
|
2013-05-31 20:35:13 +02:00
|
|
|
|
2018-02-19 14:21:52 +01:00
|
|
|
%package -n libharfbuzz-gobject0
|
2018-03-13 09:52:42 +01:00
|
|
|
Summary: GObject wrapper around the HarfBuzz OpenType text shaping engine
|
2018-02-19 14:21:52 +01:00
|
|
|
|
|
|
|
%description -n libharfbuzz-gobject0
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
|
|
|
This package contains the GObject library.
|
|
|
|
|
2018-03-15 23:34:56 +01:00
|
|
|
%package -n libharfbuzz-subset0
|
|
|
|
Summary: An OpenType text shaping engine
|
|
|
|
|
|
|
|
%description -n libharfbuzz-subset0
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
|
|
|
This package contains the subset library
|
|
|
|
|
2018-03-13 09:16:45 +01:00
|
|
|
%package -n typelib-1_0-HarfBuzz-0_0
|
2018-03-13 09:52:42 +01:00
|
|
|
Summary: Introspection bindings for the HarfBuzz/GObject library
|
2018-03-13 09:16:45 +01:00
|
|
|
|
|
|
|
%description -n typelib-1_0-HarfBuzz-0_0
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
|
|
|
This package provides the GObject Introspection bindings for HarfBuzz.
|
|
|
|
|
2012-09-07 17:29:55 +02:00
|
|
|
%package tools
|
2018-03-13 09:52:42 +01:00
|
|
|
Summary: Tools from the HarfBuzz text shaping software
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
2018-06-18 09:44:07 +02:00
|
|
|
This package provides a set of tools for HarfBuzz.
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%package devel
|
2018-03-13 09:52:42 +01:00
|
|
|
Summary: Development files for the HarfBuzz OpenType text shaping engine
|
2023-11-17 16:46:52 +01:00
|
|
|
Requires: libharfbuzz-cairo0 = %{version}
|
2018-03-13 09:52:42 +01:00
|
|
|
Requires: libharfbuzz-gobject0 = %{version}
|
2013-05-31 20:35:13 +02:00
|
|
|
Requires: libharfbuzz-icu0 = %{version}
|
2018-03-15 23:34:56 +01:00
|
|
|
Requires: libharfbuzz-subset0 = %{version}
|
2018-06-18 09:44:07 +02:00
|
|
|
Requires: libharfbuzz0 = %{version}
|
2018-03-15 23:34:56 +01:00
|
|
|
Requires: typelib-1_0-HarfBuzz-0_0 = %{version}
|
2018-06-18 09:44:07 +02:00
|
|
|
Requires: pkgconfig(freetype2) >= 12.0.6
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
2017-02-28 22:39:07 +01:00
|
|
|
This package contains the development files.
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%prep
|
2021-01-11 14:55:12 +01:00
|
|
|
%autosetup -p1
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%build
|
2024-05-06 11:19:47 +02:00
|
|
|
# harfbuzz-8.4.0 defaults to 11, icu-75 needs >=17
|
|
|
|
export CXXFLAGS="%optflags -std=c++17"
|
2021-01-11 14:55:12 +01:00
|
|
|
%meson \
|
|
|
|
-Ddocs=disabled \
|
2021-01-14 19:27:39 +01:00
|
|
|
-Dgraphite=enabled \
|
2022-03-03 09:20:35 +01:00
|
|
|
-Dchafa=disabled \
|
2018-03-15 23:34:56 +01:00
|
|
|
%{nil}
|
2021-01-11 14:55:12 +01:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%install
|
2021-01-11 14:55:12 +01:00
|
|
|
%meson_install
|
2012-09-07 17:29:55 +02:00
|
|
|
|
2022-03-03 09:20:35 +01:00
|
|
|
%ldconfig_scriptlets -n libharfbuzz0
|
2023-02-14 13:06:18 +01:00
|
|
|
%ldconfig_scriptlets -n libharfbuzz-cairo0
|
2022-03-03 09:20:35 +01:00
|
|
|
%ldconfig_scriptlets -n libharfbuzz-icu0
|
|
|
|
%ldconfig_scriptlets -n libharfbuzz-gobject0
|
|
|
|
%ldconfig_scriptlets -n libharfbuzz-subset0
|
2018-06-18 09:44:07 +02:00
|
|
|
|
2012-09-07 17:29:55 +02:00
|
|
|
%files -n libharfbuzz0
|
2018-02-19 14:21:52 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
2012-09-07 17:29:55 +02:00
|
|
|
%{_libdir}/libharfbuzz.so.0*
|
|
|
|
|
2023-02-14 13:06:18 +01:00
|
|
|
%files -n libharfbuzz-cairo0
|
2024-04-02 16:10:09 +02:00
|
|
|
%license COPYING
|
2023-02-14 13:06:18 +01:00
|
|
|
%{_libdir}/libharfbuzz-cairo.so.0*
|
|
|
|
|
2013-05-31 20:35:13 +02:00
|
|
|
%files -n libharfbuzz-icu0
|
2024-04-02 16:10:09 +02:00
|
|
|
%license COPYING
|
2013-05-31 20:35:13 +02:00
|
|
|
%{_libdir}/libharfbuzz-icu.so.0*
|
|
|
|
|
2018-02-19 14:21:52 +01:00
|
|
|
%files -n libharfbuzz-gobject0
|
2024-04-02 16:10:09 +02:00
|
|
|
%license COPYING
|
2018-02-19 14:21:52 +01:00
|
|
|
%{_libdir}/libharfbuzz-gobject.so.0*
|
|
|
|
|
2018-03-15 23:34:56 +01:00
|
|
|
%files -n libharfbuzz-subset0
|
2024-04-02 16:10:09 +02:00
|
|
|
%license COPYING
|
2018-03-15 23:34:56 +01:00
|
|
|
%{_libdir}/libharfbuzz-subset.so.0*
|
|
|
|
|
2018-03-13 09:16:45 +01:00
|
|
|
%files -n typelib-1_0-HarfBuzz-0_0
|
2024-04-02 16:10:09 +02:00
|
|
|
%license COPYING
|
2018-03-13 09:16:45 +01:00
|
|
|
%{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib
|
|
|
|
|
2012-09-07 17:29:55 +02:00
|
|
|
%files tools
|
2024-04-02 16:10:09 +02:00
|
|
|
%license COPYING
|
2023-02-14 13:06:18 +01:00
|
|
|
%{_bindir}/hb-info
|
2012-09-07 17:29:55 +02:00
|
|
|
%{_bindir}/hb-ot-shape-closure
|
|
|
|
%{_bindir}/hb-shape
|
2018-03-15 23:34:56 +01:00
|
|
|
%{_bindir}/hb-subset
|
2023-02-14 13:06:18 +01:00
|
|
|
%{_bindir}/hb-view
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%files devel
|
2024-04-02 16:10:09 +02:00
|
|
|
%license COPYING
|
2018-02-19 14:21:52 +01:00
|
|
|
%doc AUTHORS README THANKS
|
2012-09-07 17:29:55 +02:00
|
|
|
%{_includedir}/harfbuzz/
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/harfbuzz.pc
|
2023-02-14 13:06:18 +01:00
|
|
|
%{_libdir}/pkgconfig/harfbuzz-cairo.pc
|
2013-05-31 20:35:13 +02:00
|
|
|
%{_libdir}/pkgconfig/harfbuzz-icu.pc
|
2018-02-19 14:21:52 +01:00
|
|
|
%{_libdir}/pkgconfig/harfbuzz-gobject.pc
|
2018-03-15 23:34:56 +01:00
|
|
|
%{_libdir}/pkgconfig/harfbuzz-subset.pc
|
2018-02-19 14:21:52 +01:00
|
|
|
%{_datadir}/gir-1.0/HarfBuzz-0.0.gir
|
2018-03-15 23:34:56 +01:00
|
|
|
%dir %{_libdir}/cmake
|
|
|
|
%dir %{_libdir}/cmake/harfbuzz
|
|
|
|
%{_libdir}/cmake/harfbuzz/harfbuzz-config.cmake
|
2018-02-19 14:21:52 +01:00
|
|
|
|
2012-09-07 17:29:55 +02:00
|
|
|
%changelog
|