File baka-mplayer.spec of Package baka-mplayer

# spec file for package baka-mplayer
# Copyright (c) 2022 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

Name:           baka-mplayer
Version:        2.0.4
Release:        0
Summary:        A media player with UI using libmpv
License:        Apache-2.0 AND GPL-2.0-or-later
Patch0:         ceil.patch
# PATCH-FIX-UPSTREAM Fix build with mpv 2.0 gh#u8sand/Baka-MPlayer#317
Patch1:         Port-away-from-deprecated-removed-APIs-in-mpv-2.0.patch
BuildRequires:  libqt5-linguist
BuildRequires:  libqt5-qtbase-common-devel
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Core) >= 5.2.0
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Network)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(Qt5X11Extras)
BuildRequires:  pkgconfig(mpv)

Baka MPlayer is a libmpv-based multimedia player. It supports gesture
seeking, desktop dimming, hardware accelerated playback (vdpau,
vaapi, vda) and Youtube playback support (and others).

%setup -q -n Baka-MPlayer-%{version}
%autopatch -p1

%qmake5 src/ CONFIG+="release install_translations man.extra" \
    lupdate=lupdate-qt5 lrelease=lrelease-qt5  \


%suse_update_desktop_file %{name} AudioVideo Video Player

%license LICENSE
%doc DOCS/%{name}.md

openSUSE Build Service is sponsored by