加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nfs-screen-recorder.spec 3.00 KB
一键复制 编辑 原始数据 按行查看 历史
DuanRay 提交于 2023-08-24 21:08 . first commit
#
# spec file for package flameshot on fedora, rehl, opensuse leap 15.x
#
Name: nfs-screen-recorder
Version: 0.4.2
Release: 1
License: GPLv3+
Summary: Powerful yet simple to use screenshot software
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.13.0
BuildRequires: gcc-c++ >= 7
BuildRequires: fdupes
BuildRequires: libappstream-glib
BuildRequires: ninja-build
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: qt5-qtbase-devel
BuildRequires: dbus-devel
BuildRequires: qt5-qtbase-gui
BuildRequires: qt5-linguist
BuildRequires: qt5-qtbase-gui
BuildRequires: ffmpeg-devel
#BuildRequires: v4l-utils-devel
BuildRequires: libv4l-devel libavformat58-devel libswscale5-devel vulkan-loader-devel
BuildRequires: alsa-lib-devel
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: qt5-qtx11extras-devel
Requires: hicolor-icon-theme
Requires: qt5-qtbase >= 5.9.0
Requires: qt5-qttools >= 5.9.0
Requires: qt5-qtsvg%{?_isa} >= 5.9.0
Requires: xdg-desktop-portal%{?_isa}
Requires: (xdg-desktop-portal-gnome%{?_isa} if gnome-shell%{?_isa})
Requires: (xdg-desktop-portal-kde%{?_isa} if plasma-workspace%{?_isa})
%description
Powerful and simple to use screenshot software with built-in
editor with advanced features.
Features:
* Customizable appearance.
* Easy to use.
* In-app screenshot edition.
* DBus interface.
* Upload to Imgur
%prep
pwd
%setup -q
qmake-qt5 src/SimpleScreenRecorder.pro
%build
pwd
make
#%cmake -G Ninja -DCMAKE_BUILD_TYPE=Release
#%cmake_build
%install
%cmake_install
#%find_lang Internationalization --with-qt
%fdupes %{buildroot}%{_datadir}/icons
%check
#appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
#desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%files
#%files -f Internationalization.lang
#%doc README.md
#%license LICENSE
/usr/share/simplescreenrecorder/translations/*.qm
/usr/share/icons/hicolor/scalable/apps/*
/usr/bin/ssr-glinject
/usr/share/simplescreenrecorder/output-profiles/*
/usr/share/man/man1/*
/usr/share/applications/simplescreenrecorder.desktop
/usr/share/metainfo/simplescreenrecorder.metainfo.xml
/usr/share/icons/hicolor/16x16/apps/*
/usr/share/icons/hicolor/24x24/apps/*
/usr/share/icons/hicolor/32x32/apps/*
/usr/share/icons/hicolor/48x48/apps/*
/usr/share/icons/hicolor/64x64/apps/*
/usr/share/icons/hicolor/96x96/apps/*
/usr/share/icons/hicolor/128x128/apps/*
/usr/share/icons/hicolor/192x192/apps/*
/usr/share/icons/hicolor/256x256/apps/*
/usr/lib64/*
/usr/bin/simplescreenrecorder
/usr/share/icons/hicolor/22x22/apps/simplescreenrecorder-error.png
/usr/share/icons/hicolor/22x22/apps/simplescreenrecorder-idle.png
/usr/share/icons/hicolor/22x22/apps/simplescreenrecorder-paused.png
/usr/share/icons/hicolor/22x22/apps/simplescreenrecorder-recording.png
/usr/share/icons/hicolor/22x22/apps/simplescreenrecorder.png
%changelog
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化