-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgnome-videos.spec.in
59 lines (43 loc) · 1.27 KB
/
gnome-videos.spec.in
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
Name: gnome-videos
Version: @VERSION@
Release: 1%{?dist}
Summary: A video player for the GNOME Desktop
License: GPLv3
URL: https://github.com/Bob131/gnome-videos
Source0: %{url}/archive/%{version}.tar.gz
BuildRequires: vala >= @VALA_REQUIRED@
BuildRequires: libgee-devel
BuildRequires: gtk3-devel >= @GTK_REQUIRED@
BuildRequires: clutter-gtk-devel
BuildRequires: clutter-gst3-devel
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: libbluray-devel
BuildRequires: libcrystalhd-devel
BuildRequires: python3
BuildRequires: librsvg2-tools
%ifarch x86_64
BuildRequires: libva-devel
BuildRequires: libX11-devel
BuildRequires: wayland-devel
%endif
%description
A video player for the GNOME Desktop aiming to leverage new technologies from
the GNOME ecosystem.
%prep
%autosetup
%build
NOCONFIGURE=1 ./autogen.sh
%configure
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
%posttrans
update-desktop-database %{_datadir}/applications &>/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%{_bindir}/gnome-videos
%{_datadir}/applications/so.bob131.Videos.desktop
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/glib-2.0/schemas/so.bob131.Videos.gschema.xml
%license LICENSE