-
Notifications
You must be signed in to change notification settings - Fork 0
/
libde265.spec
104 lines (77 loc) · 2.78 KB
/
libde265.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
%global commit0 900772c3e9ee1e106b93283fd8e7633d52899e40
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global gver .git%{shortcommit0}
#define _legacy_common_support 1
%global _lto_cflags %{nil}
Name: libde265
Version: 1.0.8
Release: 8%{?dist}
Summary: Open h.265 video codec implementation
Group: System Environment/Libraries
License: LGPLv2 and GPLv2
URL: https://github.com/strukturag/libde265
Source0: https://github.com/strukturag/libde265/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
BuildRequires: pkgconfig(sdl)
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
%description
libde265 is an open source implementation of the h.265 video codec. It is
written from scratch and has a plain C API to enable a simple integration
into other software.
libde265 supports WPP and tile-based multithreading and includes SSE
optimizations. The decoder includes all features of the Main profile and
correctly decodes almost all conformance streams.
%package devel
Summary: Development files for libde265
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The libde265 package contains libraries and header files for
developing applications that use libde265.
%package tools
Summary: Tools files for %{name}
Group: System Environment/Libraries
%description tools
The package contains the tools for libde265.
%prep
%autosetup -n %{name}-%{commit0}
%build
./autogen.sh
%configure --enable-static=no --enable-shared
%make_build
%install
%make_install
find %{buildroot} -name '*.*a' -delete
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README.md
%{_libdir}/*.so.*
%files tools
%{_bindir}/*
%files devel
%{_includedir}/%{name}/
%{_libdir}/*.so
%{_libdir}/pkgconfig/libde265.pc
%changelog
* Mon Feb 07 2022 Unitedrpms Project <unitedrpms AT protonmail DOT com> 1.0.8-8
- Rebuilt for ffmpeg
- Updated to current commit
* Thu Nov 05 2020 Unitedrpms Project <unitedrpms AT protonmail DOT com> 1.0.8-7
- Updated to 1.0.8
* Thu Sep 24 2020 Unitedrpms Project <unitedrpms AT protonmail DOT com> 1.0.7-7
- Updated to 1.0.7
* Thu Aug 27 2020 Unitedrpms Project <unitedrpms AT protonmail DOT com> 1.0.6-7
- Updated to 1.0.6
* Fri Jan 17 2020 Unitedrpms Project <unitedrpms AT protonmail DOT com> 1.0.5-7
- Updated to 1.0.5
* Fri Dec 20 2019 Unitedrpms Project <unitedrpms AT protonmail DOT com> 1.0.4-7
- Updated to 1.0.4-7
* Tue Nov 27 2018 Unitedrpms Project <unitedrpms AT protonmail DOT com> 1.0.3-3
- Migration to qt5
* Sat Nov 03 2018 Unitedrpms Project <unitedrpms AT protonmail DOT com> 1.0.3-2
- Initial build