File mingw64-harfbuzz.spec of Package mingw64-harfbuzz
#
# spec file for package mingw64-harfbuzz
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{_mingw64_package_header_debug}
Name: mingw64-harfbuzz
Version: 12.1.0
Release: 0
Summary: An OpenType text shaping engine
License: MIT
URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/harfbuzz-%{version}.tar.xz
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-meson
BuildRequires: mingw64-freetype
BuildRequires: python3
BuildArch: noarch
BuildSystem: mingw64meson
BuildOption: --auto-features auto
%description
HarfBuzz is an OpenType text shaping engine.
%{_mingw64_debug_package}
%install -a
echo 'Libs.private: -lstdc++' >> %{buildroot}/%{_mingw64_libdir}/pkgconfig/harfbuzz.pc
echo 'Libs.private: -lstdc++' >> %{buildroot}/%{_mingw64_libdir}/pkgconfig/harfbuzz-subset.pc
%files
%license COPYING
%{_mingw64_includedir}/harfbuzz
%{_mingw64_libdir}/cmake/harfbuzz
%{_mingw64_libdir}/pkgconfig/harfbuzz.pc
%{_mingw64_libdir}/pkgconfig/harfbuzz-subset.pc
%{_mingw64_libdir}/libharfbuzz.a
%{_mingw64_libdir}/libharfbuzz-subset.a
%changelog