File mingw64-libass.spec of Package mingw64-libass

#
# spec file for package mingw64-libass
#
# 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-libass
Version:        0.17.4
Release:        0
Summary:        Renderer for the ASS subtitle format
License:        ISC
URL:            https://github.com/libass/libass
Source0:        https://github.com/libass/libass/releases/download/%{version}/libass-%{version}.tar.xz
Source1:        https://github.com/libass/libass/releases/download/%{version}/libass-%{version}.tar.xz.asc
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-cross-meson
BuildRequires:  mingw64-freetype
BuildRequires:  mingw64-fribidi
BuildRequires:  mingw64-harfbuzz
BuildRequires:  nasm
BuildArch:      noarch
BuildSystem:    mingw64meson
BuildOption:    -Dfontconfig=disabled
BuildOption:    -Dcoretext=disabled
BuildOption:    -Dlibunibreak=disabled

%description
libass is a portable subtitle renderer for the ASS/SSA (Advanced
Substation Alpha/Substation Alpha) subtitle format.
It is mostly compatible with VSFilter.

%{_mingw64_debug_package}

%files
%license COPYING
%{_mingw64_includedir}/ass
%{_mingw64_libdir}/libass.a
%{_mingw64_libdir}/pkgconfig/libass.pc

%changelog
openSUSE Build Service is sponsored by