libass/libass.spec
Takashi Iwai 4243ce9fa4 Accepting request 1177315 from home:llyyr:branches:multimedia:libs
- Update to 0.17.2:
  * This release brings optimized assembly routines for aarch64,
    as well as numerous individual improvements and fixes.
  * Detailed Changes:
    - Fix rendering of \h in certain cases
    - Fix a minor memory leak in the CoreText and DirectWrite font provider
    - Fix wrong ASS_Image dimensions for huge BorderStyle=4 backgrounds
      potentially leading to out of bound reads by API users
    - Improve quality of animated rectangular clips
    - Improve accuracy of cache limits
    - Full-Unicode cmaps are now always preferred
    - Improve font selection compatibility in the DirectWrite font provider
    - Improved documentation
    - Updating selective overrides now forces a cache clear to avoid issues
      with outdated caches
    - Frame and storage resolutions are now limited to what a single ASS_Image
      can represent
    - make check now runs checkasm if assembly is enabled
    - CoreText can now be used on Mac OS X 10.5
    - Meson/muon is now offered as a secondary build system bringing back
      first-party MSVC support
    - Note however it is not at feature parity with autotools in all cases
    - aarch64: add optimized assembly routines covering the same set as on x86;
      they work on both little and big endian systems
    - x86: add SSSE3 versions of some assembly routines to help CPUs without
      AVX2
    - x86: it is now possible to build binaries with optimized assembly an
      SHSTK support
    - Improve VSFilter compatibility
- 'make check' is broken for --disable-static builds because checkasm needs to
  access symbols that aren't part of the public API, so just disable it.

OBS-URL: https://build.opensuse.org/request/show/1177315
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=66
2024-05-28 15:41:37 +00:00

90 lines
2.7 KiB
RPMSpec

#
# spec file for package libass
#
# Copyright (c) 2024 SUSE LLC
#
# 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/
#
%define sover 9
Name: libass
Version: 0.17.2
Release: 0
Summary: Library for SSA/ASS-formatted subtitle rendering
License: ISC
Group: Development/Libraries/C and C++
URL: https://github.com/libass/libass
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: nasm
BuildRequires: pkgconfig
BuildRequires: pkgconfig(fontconfig) >= 2.10.92
BuildRequires: pkgconfig(freetype2) >= 9.10.3
BuildRequires: pkgconfig(fribidi) >= 0.19.0
BuildRequires: pkgconfig(harfbuzz) >= 1.2.3
BuildRequires: pkgconfig(libunibreak) >= 1.1
%description
libass is a subtitle renderer for the ASS/SSA
(Advanced Substation Alpha/Substation Alpha) subtitle
format. It is mostly compatible with VSFilter.
%package -n libass%{sover}
Summary: Library for SSA/ASS-formatted subtitle rendering
Group: System/Libraries
%description -n libass%{sover}
libass is a subtitle renderer for the ASS/SSA
(Advanced Substation Alpha/Substation Alpha) subtitle
format. It is mostly compatible with VSFilter.
%package devel
Summary: Development files for libass, a subtitle rendering library
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libass%{sover} = %{version}
Requires: pkgconfig(fontconfig) >= 2.10.92
Requires: pkgconfig(freetype2) >= 9.10.3
Requires: pkgconfig(fribidi) >= 0.19.0
Requires: pkgconfig(harfbuzz) >= 1.2.3
Requires: pkgconfig(libunibreak) >= 1.1
%description devel
This package is needed if you want to develop / compile against libass.
%prep
%autosetup -p1
%build
%configure \
--disable-silent-rules \
--disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libass%{sover} -p /sbin/ldconfig
%postun -n libass%{sover} -p /sbin/ldconfig
%files -n libass%{sover}
%{_libdir}/libass.so.%{sover}*
%files devel
%{_includedir}/ass
%{_libdir}/libass.so
%{_libdir}/pkgconfig/libass.pc
%changelog