mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Build spec files fixes
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
# PKGBUILD file for package clapper
|
# PKGBUILD file for package clapper
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020 sp1rit
|
# Copyright (C) 2020 sp1rit
|
||||||
|
# Copyright (C) 2020 Rafostar
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -44,6 +45,5 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd "${pkgname%-git}-$pkgver"
|
cd "${pkgname%-git}-$pkgver"
|
||||||
DESTDIR="$pkgdir" meson install -C build/
|
DESTDIR="$pkgdir" meson install -C build/
|
||||||
ln -s "$pkgdir/usr/bin/com.github.rafostar.Clapper" "$pkgdir/usr/bin/clapper"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
Name: clapper
|
Name: clapper
|
||||||
Version: 0.0.0
|
Version: 0.0.0
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: Simple and modern GNOME media player
|
Summary: Simple and modern GNOME media player
|
||||||
|
|
||||||
License: GPL-3.0
|
License: GPL-3.0
|
||||||
@@ -35,6 +35,8 @@ Source0: _service
|
|||||||
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: gjs
|
BuildRequires: gjs
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
|
||||||
Requires: gjs
|
Requires: gjs
|
||||||
Requires: gtk3 >= %{gtk3_version}
|
Requires: gtk3 >= %{gtk3_version}
|
||||||
@@ -47,10 +49,13 @@ Requires: gstreamer-plugins-good-gtk
|
|||||||
Requires: gstreamer-plugins-bad
|
Requires: gstreamer-plugins-bad
|
||||||
Requires: libgstplayer-1_0-0 >= %{gst_version}
|
Requires: libgstplayer-1_0-0 >= %{gst_version}
|
||||||
|
|
||||||
Recommends: gstreamer-plugins-libav # Popular video decoders
|
# Popular video decoders
|
||||||
|
Recommends: gstreamer-plugins-libav
|
||||||
|
|
||||||
Suggests: gstreamer-plugins-ugly # CD Playback
|
# CD Playback
|
||||||
Suggests: gstreamer-plugins-vaapi # Intel/AMD video acceleration
|
Suggests: gstreamer-plugins-ugly
|
||||||
|
# Intel/AMD video acceleration
|
||||||
|
Suggests: gstreamer-plugins-vaapi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
|
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
|
||||||
@@ -58,12 +63,16 @@ BuildRequires: glibc-all-langpacks
|
|||||||
Requires: gstreamer1
|
Requires: gstreamer1
|
||||||
Requires: gstreamer1-plugins-base
|
Requires: gstreamer1-plugins-base
|
||||||
Requires: gstreamer1-plugins-good-gtk
|
Requires: gstreamer1-plugins-good-gtk
|
||||||
Requires: gstreamer1-plugins-bad-free >= %{gst_version} # Contains GstPlayer lib
|
# Contains GstPlayer lib
|
||||||
|
Requires: gstreamer1-plugins-bad-free >= %{gst_version}
|
||||||
|
|
||||||
Recommends: gstreamer1-plugins-bad-free-extras # ASS subtitles (assrender)
|
# ASS subtitles (assrender)
|
||||||
|
Recommends: gstreamer1-plugins-bad-free-extras
|
||||||
|
|
||||||
Suggests: gstreamer1-plugins-ugly-free # CD Playback
|
# CD Playback
|
||||||
Suggests: gstreamer1-vaapi # Intel/AMD video acceleration
|
Suggests: gstreamer1-plugins-ugly-free
|
||||||
|
# Intel/AMD video acceleration
|
||||||
|
Suggests: gstreamer1-vaapi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -78,7 +87,6 @@ A GNOME media player built using GJS and powered by GStreamer with OpenGL render
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
ln -s %{_bindir}/%{appname} %{buildroot}/%{_bindir}/%{name}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||||
@@ -87,8 +95,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/%{appname}
|
%{_bindir}/%{appname}
|
||||||
%{_bindir}/%{name}
|
|
||||||
%{_datadir}/%{appname}/
|
%{_datadir}/%{appname}/
|
||||||
|
%dir %{_datadir}/gjs-1.0
|
||||||
%{_datadir}/gjs-1.0/*.js
|
%{_datadir}/gjs-1.0/*.js
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/*.svg
|
%{_datadir}/icons/hicolor/*/apps/*.svg
|
||||||
|
Reference in New Issue
Block a user