-
Notifications
You must be signed in to change notification settings - Fork 7
/
makemkv.spec
149 lines (113 loc) · 4.57 KB
/
makemkv.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# Disable debuginfo, since we package a stripped upstream binary.
%global debug_package %{nil}
# Disable autoprovides/requires for internal libraries
%global _privatelibs driveio
%global _privatelibs %{_privatelibs}|makemkv
%global _privatelibs %{_privatelibs}|mmdb
%global __provides_exclude ^lib(%{_privatelibs})\\.so.*
%global __requires_exclude ^lib(%{_privatelibs})\\.so.*
Name: makemkv
Version: 1.17.8
Release: 1%{?dist}
Summary: A format converter ("transcoder") for proprietary media
License: Proprietary+GPLv2
URL: https://www.makemkv.com/
Source0: http://www.makemkv.com/download/%{name}-bin-%{version}.tar.gz
Source1: http://www.makemkv.com/download/%{name}-oss-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libssl)
BuildRequires: pkgconfig(zlib)
Requires: ffmpeg-libs
ExclusiveArch: i686 x86_64
%description
MakeMKV is your one-click solution to convert video that you own into free and
patents-unencumbered format that can be played everywhere. MakeMKV is a format
converter, otherwise called "transcoder". It converts the video clips from
proprietary (and usually encrypted) disc into a set of MKV files, preserving
most information but not changing it in any way. The MKV format can store
multiple video/audio tracks with all meta-information and preserve chapters.
There are many players that can play MKV files nearly on all platforms, and
there are tools to convert MKV files to many formats, including DVD and Blu-ray
discs.
Additionally MakeMKV can instantly stream decrypted video without intermediate
conversion to wide range of players, so you may watch Blu-ray and DVD discs
with your favorite player on your favorite OS or on your favorite device.
%prep
%setup -q -n %{name}-bin-%{version}
# Disable EULA prompt, because RPM install is effectively unattended, and
# let RPM determine DESTDIR/PREFIX.
sed -i -E \
-e '/^(DESTDIR|PREFIX)=.*/d' \
-e 's/install: tmp\/eula_accepted/install: /' \
Makefile
%setup -q -T -D -b 1 -n %{name}-oss-%{version}
sed -i -E \
-e 's/av_mallocz_array/av_calloc/g' \
libffabi/src/ffabi.c
%build
%configure --enable-debug --enable-allcodecs
%make_build
%install
%make_install
cd ../%{name}-bin-%{version}
%make_install PREFIX=%{_prefix}
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%files
%license License.txt
%{_bindir}/makemkv
%{_bindir}/sdftool
%{_bindir}/mmccextr
%{_bindir}/mmgplsrv
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_libdir}/libdriveio.so*
%{_libdir}/libmakemkv.so*
%{_libdir}/libmmbd.so*
# Prebuilt binaries
%{_bindir}/makemkvcon
%{_datadir}/MakeMKV/appdata.tar
%{_datadir}/MakeMKV/blues.jar
%{_datadir}/MakeMKV/blues.policy
%changelog
* Fri Nov 01 2024 Tarulia <[email protected]> - 1.17.8-1
- Updated to latest release
* Thu May 30 2024 Tarulia <[email protected]> - 1.17.7-1
- Updated to latest release
* Mon Dec 04 2023 Tarulia <[email protected]> - 1.17.5-1
- Updated to latest release
* Tue Jun 27 2023 Renaud Lepage <[email protected]> - 1.17.4-1
- Updated to latest release
- Auto-apply fix for Fedora until upstream changes
* Thu Oct 20 2022 Joke de Buhr <[email protected]> - 1.17.2-1
- Updated to latest release
* Mon Mar 21 2022 Tarulia <[email protected]> - 1.16.7-1
- Updated to latest release
* Tue Jan 25 2022 Tarulia <[email protected]> - 1.16.5-1
- Updated to latest release
* Tue Apr 13 2021 Tarulia <[email protected]> - 1.16.3-1
- Updated to latest release
* Fri Dec 27 2019 Adrian Freihofer <[email protected]> - 1.14.7-1
- Add run-time dependency to ffmpeg-libs
* Tue Dec 10 2019 eric Mesa <[email protected]> - 1.14.7
* Sat Oct 5 2019 Eric Mesa <[email protected]> - 1.14.5
-Updated to latest release
* Sat Aug 31 2019 Eric Mesa <[email protected]> - 1.14.4
- Updated to latest release
* Sat Aug 31 2019 Eric Mesa <[email protected]> - 1.14.3-1
-Added zlib to buildrequires
* Fri Mar 15 2019 Ed Marshall <[email protected]> - 1.14.3-0
- Update to latest release.
* Tue Dec 5 2018 Ed Marshall <[email protected]> - 1.14.2-0
- Update to latest release.
* Tue Nov 13 2018 Ed Marshall <[email protected]> - 1.14.1-0
- Update to latest release.
* Sat Oct 6 2018 Ed Marshall <[email protected]> - 1.12.3-0
- Initial package.