File mingw64-freetype.spec of Package mingw64-freetype

#
# spec file for package mingw64-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:           mingw64-freetype
Version:        2.13.3
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:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-meson
BuildRequires:  mingw64-cross-pkgconf
# cyclic dependency to mingw32-freetype
#BuildRequires:  mingw64-libharfbuzz-devel
BuildRequires:  mingw64-libbz2-devel
BuildRequires:  mingw64-libpng-devel
BuildRequires:  mingw64-zlib-devel
%_mingw64_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 mingw64-libfreetype6
Summary:        Free, High-Quality, and Portable Font Engine
Group:          System/Libraries
Provides:       %{name} = %{version}-%{release}
Obsoletes:      %{name} < %{version}-%{release}

%description -n mingw64-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)

%_mingw64_debug_package

%prep
%autosetup -p1 -n freetype-%{version} -b 1 -a 1

%build
%_mingw64_meson -Dharfbuzz=disabled -Dbrotli=disabled
%_mingw64_meson_build

%install
%_mingw64_meson_install

%files -n mingw64-libfreetype6
%{_mingw64_bindir}/libfreetype-6.dll

%files devel
%{_mingw64_includedir}/freetype2
%{_mingw64_libdir}/libfreetype*.a
%{_mingw64_libdir}/pkgconfig/freetype2.pc
%{_mingw64_datadir}/aclocal/freetype2.m4

%changelog
openSUSE Build Service is sponsored by