libass/libass.spec
Takashi Iwai 0128abd61a Accepting request 1041176 from home:dirkmueller:Factory
- update to 0.17.0:
  * This release’s major feature is the addition of a new ASS ScriptInfo
    header pair: LayoutResX and LayoutResY. The introduction has been
    coordinated with active VSFilters and will soon be available in xy-
    VSFilter and XySubFilter as well.
  * Since the beginning, many features in ASS scale relative to or are
    otherwise affected by the storage resolution of the video file the subs
    are bundled with. Adjusting subs for different video resolutions
    traditionally took non-trivial effort. Of course this behavior must be
    kept by default to preserve compatibility with existing files. But now,
    setting both of the new headers to a positive, non-zero value will
    replace the video storage resolution with the specified resolution for
    the whole file, allowing easy reuse across all encodes of the same
    display aspect ratio. This includes PAR effects, so reuse across
    anamorphic and non-anamorphic releases is possible too.
  * Detailed Changes:
  * Fix various parts relating to automatic linebreaking
  * Fix rendering when hinting was enabled and fontsizes or scales are zero
  * Switch build to a non-recursive setup for improved parallelism
  * Improve quality of SSA Effects movement
  * Further documentation improvements
  * Completely invalid Events are now discarded during parsing
  * Introduction of LayoutRes{X,Y} script headers
  * New AlphaLevel style override to set all alpha values while keeping the
    color
  * Add ASS_FEATURE_WRAP_UNICODE to allow automatic linebreaks in accordance
    with the Unicode line breaking algorithm instead of ASS' much stricter
    breaking rules. For the feature to be available at runtime, libass must
    be linked against the new optional dependency libunibreak.
  * Improve VSFilter compatibility:

OBS-URL: https://build.opensuse.org/request/show/1041176
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=60
2022-12-09 11:26:38 +00:00

91 lines
2.6 KiB
RPMSpec

#
# spec file for package libass
#
# Copyright (c) 2022 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.0
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
%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
%description devel
This package is needed if you want to develop / compile against libass.
%prep
%autosetup
%build
%configure \
--disable-silent-rules \
--disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%check
make %{?_smp_mflags} check
%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