File mingw32-freetype.spec of Package mingw32-freetype
#
# spec file for package mingw32-freetype
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: mingw32-freetype
Version: 2.13.2
Release: 0
Summary: Free, High-Quality, and Portable Font Engine
License: FTL or GPL-2.0-or-later
Group: Development/Libraries/C and C++
Url: https://www.freetype.org
Source: https://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.xz
Source1: https://download.savannah.gnu.org/releases/freetype/freetype-doc-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-meson
BuildRequires: mingw32-cross-pkg-config
# cyclic dependency to mingw32-freetype
#BuildRequires: mingw32-libharfbuzz-devel
BuildRequires: mingw32-libbz2-devel
BuildRequires: mingw32-libpng-devel
BuildRequires: mingw32-zlib-devel
%_mingw32_package_header_debug
BuildArch: noarch
%description
FreeType 2 is a software font engine that is designed to be small, efficient, highly customizable, and portable while
capable of producing high-quality output (glyph images). It can be used in graphics libraries, display servers, font
conversion tools, text image generation tools, and many other products as well.
%package -n mingw32-libfreetype6
Summary: Free, High-Quality, and Portable Font Engine
Group: System/Libraries
Provides: %{name} = %{version}-%{release}
Obsoletes: %{name} < %{version}-%{release}
%description -n mingw32-libfreetype6
FreeType 2 is a software font engine that is designed to be small, efficient, highly customizable, and portable while
capable of producing high-quality output (glyph images). It can be used in graphics libraries, display servers, font
conversion tools, text image generation tools, and many other products as well.
%package devel
Summary: Free, High-Quality, and Portable Font Engine (development files)
Group: Development/Libraries/C and C++
%description devel
FreeType 2 is a software font engine that is designed to be small, efficient, highly customizable, and portable while
capable of producing high-quality output (glyph images). It can be used in graphics libraries, display servers, font
conversion tools, text image generation tools, and many other products as well.
(development files)
%_mingw32_debug_package
%prep
%autosetup -p1 -n freetype-%{version} -b 1 -a 1
%build
%_mingw32_meson -Dharfbuzz=disabled -Dbrotli=disabled
%_mingw32_meson_build
%install
%_mingw32_meson_install
%files -n mingw32-libfreetype6
%defattr(-,root,root)
%{_mingw32_bindir}/libfreetype-6.dll
%files devel
%defattr(-,root,root)
%{_mingw32_includedir}/freetype2
%{_mingw32_libdir}/libfreetype*.a
%{_mingw32_libdir}/pkgconfig/freetype2.pc
%changelog