-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobs-studio-plugin-text-pthread.spec
47 lines (34 loc) · 1.06 KB
/
obs-studio-plugin-text-pthread.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
%global srcname obs-text-pthread
Name: obs-studio-plugin-text-pthread
Version: 2.0.2
Release: 1%{?dist}
Summary: OBS text display plugin with many advanced features
License: GPL-2.0-or-later
URL: https://github.com/norihiro/obs-text-pthread
Source0: %{url}/archive/refs/tags/%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: g++
BuildRequires: pkgconfig(libobs)
BuildRequires: pkgconfig(pango)
Supplements: obs-studio%{?_isa}
%description
This OBS plugin aims to show beautiful text on OBS Studio
using pango, adding features like Markup, Transitions and others.
%prep
%autosetup -n %{srcname}-%{version}
%cmake \
-D CMAKE_INSTALL_LIBDIR=/usr/lib64/ \
-D CMAKE_INSTALL_PREFIX=/usr \
-D LINUX_PORTABLE=OFF \
-DCMAKE_SKIP_RPATH:BOOL=ON
%build
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%{_libdir}/obs-plugins/%{srcname}*
%{_datadir}/obs/obs-plugins/%{srcname}/
%changelog
* Sat Aug 12 2023 Diego Herrera <[email protected]> - 2.0.2-1
- First commit