2021-05-08 11:21:46 +08:00
|
|
|
Name: deepin-screen-recorder
|
2022-07-19 09:32:34 +08:00
|
|
|
Version: 5.9.13
|
2022-08-03 15:21:39 +08:00
|
|
|
Release: 2
|
2021-05-08 11:21:46 +08:00
|
|
|
Summary: Deepin Screen Recorder
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: https://github.com/linuxdeepin/deepin-screen-recorder
|
|
|
|
|
Source0: %{name}_%{version}.orig.tar.xz
|
2022-07-19 09:32:34 +08:00
|
|
|
Patch0: 0001-Fix-build-failure-with-gcc-10.patch
|
|
|
|
|
Patch1: 0002-modify-QPainterPath-error.patch
|
2021-05-08 11:21:46 +08:00
|
|
|
|
2022-07-19 09:32:34 +08:00
|
|
|
BuildRequires: qt5-devel
|
|
|
|
|
BuildRequires: dtkcore-devel
|
|
|
|
|
BuildRequires: qt5-linguist
|
|
|
|
|
BuildRequires: dtkwidget-devel
|
|
|
|
|
#BuildRequires: pkgconfig(dtkwm)
|
|
|
|
|
#BuildRequires: pkgconfig(libprocps)
|
|
|
|
|
BuildRequires: procps-ng-devel
|
|
|
|
|
BuildRequires: qt5-qtmultimedia-devel
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
|
BuildRequires: pkgconfig(dframeworkdbus)
|
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
|
BuildRequires: pkgconfig(xcb-util)
|
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: dde-dock-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
|
Requires: byzanz
|
|
|
|
|
Requires: ffmpeg
|
|
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
|
Requires: dbus
|
|
|
|
|
Requires: gstreamer1-plugins-good
|
|
|
|
|
Requires: deepin-turbo
|
2022-08-03 15:21:39 +08:00
|
|
|
Recommends: gstreamer1-plugins-ugly-free
|
2021-05-08 11:21:46 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-08-11 14:25:26 +08:00
|
|
|
%autosetup -p1
|
2021-05-08 11:21:46 +08:00
|
|
|
|
2022-07-19 09:32:34 +08:00
|
|
|
sed -i 's|/lib|/%{_lib}|' src/dde-dock-plugins/recordtime/recordtime.pro
|
|
|
|
|
|
2021-05-08 11:21:46 +08:00
|
|
|
%build
|
|
|
|
|
export PATH=%{_qt5_bindir}:$PATH
|
2022-07-19 09:32:34 +08:00
|
|
|
%qmake_qt5 PREFIX=%{_prefix}
|
2021-05-08 11:21:46 +08:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
2022-07-19 09:32:34 +08:00
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
2021-05-08 11:21:46 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_datadir}/%{name}/
|
2022-07-19 09:32:34 +08:00
|
|
|
%{_datadir}/deepin-manual/manual-assets/application/%{name}/
|
2021-05-08 11:21:46 +08:00
|
|
|
|
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.svg
|
2022-07-19 09:32:34 +08:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/deepin-screenshot.svg
|
2021-05-08 11:21:46 +08:00
|
|
|
%{_datadir}/dbus-1/services/com.deepin.ScreenRecorder.service
|
2022-07-19 09:32:34 +08:00
|
|
|
%{_libdir}/dde-dock/plugins/libdeepin-screen-recorder-plugin.so
|
|
|
|
|
%{_sysconfdir}/due-shell/json/screenRecorder.json
|
|
|
|
|
%{_datadir}/dbus-1/services/com.deepin.Screenshot.service
|
2021-05-08 11:21:46 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2022-08-03 15:21:39 +08:00
|
|
|
* Wed Aug 03 2022 liweiganga <liweiganga@uniontech.com> - 5.9.13-2
|
|
|
|
|
- modify installation dependency type
|
|
|
|
|
|
2022-07-19 09:32:34 +08:00
|
|
|
* Tue Jul 19 2022 loong_C <loong_c@yeah.net> - 5.9.13-1
|
|
|
|
|
- update to 5.9.13
|
|
|
|
|
|
2022-02-08 14:13:38 +08:00
|
|
|
* Tue Feb 08 2022 liweigang <liweiganga@uniontech.com> - 5.8.0.52-3
|
|
|
|
|
- fix build error
|
|
|
|
|
|
2021-08-11 14:25:26 +08:00
|
|
|
* Wed Aug 11 2021 weidong <weidong@uniontech.com> - 5.8.0.52-2
|
|
|
|
|
- Fix build failure with gcc-10.
|
|
|
|
|
|
2021-05-08 11:21:46 +08:00
|
|
|
* Sat May 08 2021 weidong <weidong@uniontech.com> - 5.8.0.52-1
|
|
|
|
|
- Initial package.
|