kylin-video/kylin-video.spec

84 lines
2.3 KiB
RPMSpec
Raw Normal View History

2021-08-20 16:50:59 +08:00
%global debug_package %{nil}
Name: kylin-video
2022-06-08 10:41:39 +08:00
Version: 3.1.3
Release: 3
2021-08-20 16:50:59 +08:00
Summary: A powerful video player
2022-06-08 16:26:03 +08:00
License: GPL-2.0-or-later and LGPL-2.0-or-later and BSD
2022-06-08 10:41:39 +08:00
URL: https://github.com/UbuntuKylin/kylin-video
Source0: kylin-video-3.1.3.tar.gz
Patch1: 0001-modify-compile-error-of-kylin-video.patch
Patch2: 0002-Fix-the-problem-of-the-help-manual-button.patch
2021-08-20 16:50:59 +08:00
BuildRequires: qt5-devel
2022-06-08 10:41:39 +08:00
BuildRequires: qtchooser
BuildRequires: qt5-qtscript-devel
BuildRequires: qt5-qttools-devel
2021-08-20 16:50:59 +08:00
BuildRequires: qt5-qtbase-private-devel
2022-06-08 10:41:39 +08:00
BuildRequires: qt5-qtx11extras-devel
BuildRequires: libX11-devel
BuildRequires: libcrystalhd-devel
BuildRequires: zlib-devel
BuildRequires: ffmpeg-devel
BuildRequires: gsettings-qt-devel
BuildRequires: mpv-libs-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: kf5-kwayland-devel
BuildRequires: wayland-devel
BuildRequires: libzen-devel
BuildRequires: libmediainfo-devel
BuildRequires: ffmpegthumbnailer-devel
BuildRequires: ukui-interface
Requires: mesa-vdpau-drivers libcrystalhd-devel mpv ffmpegthumbnailer-devel
2021-08-20 16:50:59 +08:00
%description
2022-06-08 10:41:39 +08:00
Front-end for MPlayer and MPV Qt5 Mplayer and MPV front-end, with basic features like playing videos and audios to more advanced features.
It supports both x86 and ARM platform, and supports most of the audio and video formatsprep
2021-08-20 16:50:59 +08:00
%prep
2022-06-08 10:41:39 +08:00
%setup -q
%patch1 -p1
%patch2 -p1
2021-08-20 16:50:59 +08:00
%build
2022-06-08 10:41:39 +08:00
export PATH=%{_qt5_bindir}:$PATH
mkdir qmake-build
pushd qmake-build
%{qmake_qt5} ..
%{make_build}
popd
2021-08-20 16:50:59 +08:00
%install
2022-06-08 10:41:39 +08:00
pushd qmake-build
%{make_install} INSTALL_ROOT=%{buildroot}
popd
2021-08-20 16:50:59 +08:00
%files
2022-06-08 16:26:03 +08:00
%license COPYING debian/copyright
%doc README.md
2022-06-08 10:41:39 +08:00
%{_bindir}/kylin-video-new
%{_datadir}/applications/kylin-video.desktop
%{_datadir}/kylin-user-guide/data/guide/kylin-video/*
%{_datadir}/kylin-video/translations/kylin-video_zh_CN.qm
2021-08-20 16:50:59 +08:00
%changelog
* Thu Jun 9 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.3-3
- Fix the problem of the help manual button
2022-06-08 16:26:03 +08:00
* Wed Jun 8 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.3-2
- add copyright file
2022-06-08 10:41:39 +08:00
* Wed Jun 8 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.3-1
- update version to 3.1.3
2021-09-08 12:32:20 +08:00
* Wed Sep 8 2021 peijiankang <peijiankang@kylinos.cn> - 2.1.1.1-2
- add mpv requires
2021-08-20 16:50:59 +08:00
* Fri Aug 20 2021 tongzong <2505108658@qq.com> - 2.1.1.1-1
- package init