forked from pool/kawaii-player
- Update to version 4.2.0-1 New Features: * When using libmpv, it is possible to show transparent widgets (ie playlist, titlelist, control frame etc..) directly on video. This property is available in Preferences->Appearance->Widgets on video. * In dark theme, users can manually change color of background and control frame. Few combinations are available by default Preferences->Appearance->Try. Users can choose any color, but most likely only dark shade of any color may look good on this theme (along with bold fonts). * Added Playlist Continue option in Preferences->Player Bug fixes and modifications: * fixed: cache pause seconds option when using libmpv * fixed: irregular global font size by fixing stylesheet * It is possible to pass http headers as dictionary to ccurl function * No need to restart the application whenever changing mpv config options from Preferences, when using libmpv. (However, changing some options like vo/ao may need restart) Feature removal: * Setting external player from Preferences has been removed. Option is still available, but user will need to manually edit the config files. * Music mode deprecated. As one can use detached video mode as music mode, the music mode somewhat became irrelevant. Moreover it became buggy and difficult to maintain over the time. OBS-URL: https://build.opensuse.org/request/show/714982 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/kawaii-player?expand=0&rev=14
82 lines
2.8 KiB
RPMSpec
82 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package kawaii-player
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
|
|
|
|
%define _over 4.2.0-1
|
|
%define _bver 4.2.0
|
|
Name: kawaii-player
|
|
Version: 4.2.0.1
|
|
Release: 0
|
|
Summary: Multimedia player, library manager and media server
|
|
License: GPL-3.0-or-later
|
|
Group: Productivity/Multimedia/Video/Players
|
|
URL: https://github.com/kanishka-linux/kawaii-player
|
|
Source0: https://github.com/kanishka-linux/kawaii-player/archive/v%{_over}.tar.gz#/%{name}-%{_over}.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
Requires: ffmpegthumbnailer
|
|
Requires: mpv
|
|
Requires: python3-Pillow
|
|
Requires: python3-base
|
|
Requires: python3-beautifulsoup4
|
|
Requires: python3-certifi
|
|
Requires: python3-libtorrent-rasterbar
|
|
Requires: python3-lxml
|
|
Requires: python3-mutagen
|
|
Requires: python3-opengl
|
|
Requires: python3-pycurl
|
|
Requires: python3-pytaglib
|
|
Requires: python3-qt5
|
|
Requires: python3-qtwebengine-qt5
|
|
Requires: python3-youtube-dl
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Kawaii-Player is an audio/video manager and multimedia player based on mpv
|
|
and can also work as media server.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{_over}
|
|
mv kawaii_player/resources/%{name}.desktop .
|
|
sed -e '/^Icon/cIcon = %{name}' -e '/^Exec/cExec = %{name} %f' -e '1{ /^#!/d; }' -i %{name}.desktop
|
|
sed -e "s/bs4/beautifulsoup4/g" -e "s/'PyQt5',//g" -i setup.py
|
|
|
|
%build
|
|
python3 setup.py build
|
|
|
|
%install
|
|
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
|
mkdir -pv %{buildroot}/%{_datadir}/applications %{buildroot}/%{_datadir}/pixmaps
|
|
install -m 0644 %{name}.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
install -m 0644 kawaii_player/resources/tray.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
|
|
%fdupes -s %{buildroot}%{python3_sitelib}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}-console
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{python3_sitelib}/kawaii_player
|
|
%{python3_sitelib}/kawaii_player-%{_bver}-py%{py3_ver}.egg-info
|
|
|
|
%changelog
|