File glide-media-player.spec of Package glide-media-player
#
# spec file for package glide-media-player
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: glide-media-player
Version: 0.6.7
Release: 0
Summary: Media player based on GStreamer and GTK+
License: MIT
URL: https://github.com/philn/glide
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: cargo-packaging
BuildRequires: pkgconfig(atk) >= 2.14
BuildRequires: pkgconfig(gtk4) >= 3.22
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(pango) >= 1.36
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gstreamer-player-1.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(libadwaita-1)
%description
Glide is a simple and minimalistic media player relying on GStreamer for the multimedia support and GTK+ for the user interface.
Glide should be able to play any multimedia format supported by GStreamer, locally or remotely hosted. Glide is developed in Rust
and was tested on Linux and macOS so far. It should also work on Windows, please let me know if anyone managed to test it on that platform.
I aim to keep this project simple and it probably won't grow to become a very complicated GUI. If you feel adventurous and willing to help,
feel free to pick up a task from the TODO list and open a PR. Users are also encouraged to file issues on the Github bug tracker of course.
%prep
%autosetup -a1
%build
%meson
%meson_build
%install
%meson_install
%files
%license LICENSE
%doc README.md
%{_bindir}/glide
%{_datadir}/applications/*.desktop
%{_datadir}/metainfo/*.metainfo.xml
%{_datadir}/icons/hicolor/
%{_datadir}/icons/hicolor/*/*/*.svg
%changelog