import libaribcaption-1.1.1-1.el10

i10ce changed/i10ce/libaribcaption-1.1.1-1.el10
Dmitry Samoylik 2 months ago
commit 260be32c6d

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/libaribcaption-1.1.1.tar.gz

@ -0,0 +1 @@
2f0752da24dec4445b40e0ce35ac4030d80df1a3 SOURCES/libaribcaption-1.1.1.tar.gz

@ -0,0 +1,12 @@
diff -Naur libaribcaption-1.1.1.old/CMakeLists.txt libaribcaption-1.1.1/CMakeLists.txt
--- libaribcaption-1.1.1.old/CMakeLists.txt 2024-08-13 13:15:59.096943089 +0200
+++ libaribcaption-1.1.1/CMakeLists.txt 2024-08-13 13:19:29.535044200 +0200
@@ -267,6 +267,8 @@
PROPERTIES
C_VISIBILITY_PRESET hidden
CXX_VISIBILITY_PRESET hidden
+ VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
+ SOVERSION ${PROJECT_VERSION_MAJOR}
)
# Enable /utf-8 for MSVC

@ -0,0 +1,72 @@
Name: libaribcaption
Version: 1.1.1
Release: 1%{?dist}
Summary: Portable ARIB STD-B24 Caption Decoder/Renderer
License: MIT
URL: https://github.com/xqq/libaribcaption
Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: %{name}-version.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(fontconfig)
%description
Decoder and renderer for handling ARIB STD-B24 based broadcast captions, making
it possible for general players to render ARIB captions with the same effect
(or even better) as Television.
Features
- Support captions in Japanese (ARIB STD-B24 JIS), Latin languages (ABNT NBR
15606-1) and Philippine (ARIB STD-B24 UTF-8)
- Full support for rendering ARIB additional symbols (Gaiji) and DRCScharacters
- Lightweight and portable implementation that works on various platforms
- Performance optimized (SSE2 on x86/x64) graphics rendering
- Multiple text rendering backend driven by DirectWrite / CoreText / FreeType
- Zero third-party dependencies on Windows (using DirectWrite) and macOS / iOS
(using CoreText)
- Built-in font fallback mechanism
- Built-in DRCS converting table for replacing / rendering known DRCS characters
into / by alternative Unicode
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkg-config
%description devel
Decoder and renderer for handling ARIB STD-B24 based broadcast captions, making
it possible for general players to render ARIB captions with the same effect
(or even better) as Television.
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README.md
%{_libdir}/%{name}.so.*
%files devel
%{_includedir}/aribcaption/*
%{_libdir}/cmake/aribcaption/aribcaption-*.cmake
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Sat Dec 21 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 1.1.1-1
- Rebuilt for MSVSphere 10
* Tue Aug 13 2024 Simone Caronni <negativo17@gmail.com> - 1.1.1-1
- First build.
Loading…
Cancel
Save