/
bmdtools.spec
62 lines (45 loc) · 1.82 KB
/
bmdtools.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
%global bmdsdk_path /tmp/Blackmagic_DeckLink_SDK_10.1.1
# you need to unzip Blackmagic_DeckLink_SDK_10.1.1.zip Blackmagic_DeckLink_SDK_10.1.1 dir name in /tmp
Name: bmdtools-n3
Version: 0.0.3
Release: 1%{?dist}
Summary: Basic capture and play programs for Blackmagic Design Decklink
Group: Applications/Multimedia
License: GPL
URL: https://github.com/lu-zero/bmdtools
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
BuildRequires: desktopvideo >= 10.1.1
BuildRequires: ffmpeg-devel make
Requires: ffmpeg mesa-libGL libvdpau desktopvideo >= 10.1.1
%description
Capture and play applications for Blackmagic Design DeckLink cards running under Linux
From: luca.barbato@luminem.it (commit 19a2d131a6)
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}%{_bindir}
make %{?_smp_mflags} VERBOSE=1 SDK_PATH="%{bmdsdk_path}/Linux/include"
make -C %{bmdsdk_path}/Linux/Samples/DeviceList/
install -m 755 %{_builddir}/%{name}-%{version}/bmdcapture %{buildroot}%{_bindir}/
install -m 755 %{_builddir}/%{name}-%{version}/bmdgenlock %{buildroot}%{_bindir}/
install -m 755 %{_builddir}/%{name}-%{version}/bmdplay %{buildroot}%{_bindir}/
install -m 755 %{bmdsdk_path}/Linux/Samples/DeviceList/DeviceList %{buildroot}%{_bindir}/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,0755)
%{_bindir}/bmdcapture
%{_bindir}/bmdgenlock
%{_bindir}/bmdplay
%{_bindir}/DeviceList
%post
%postun
%changelog
* Tue Dec 20 2015 Vicente Dominguez <vicente.dominguez@enetres.net> - 0.0.3
- last commit a122199f0cb10249256f4008a4e0d6a87d82d6c1
* Fri Aug 08 2014 Vicente Dominguez <vicente.dominguez@viewmetric.com> - 0.0.2
- DeviceList tool added
* Fri Jul 25 2014 Vicente Dominguez <vicente.dominguez@viewmetric.com> - 0.0.1
- initial package