Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:LXQt
qvkbd
qvkbd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qvkbd.spec of Package qvkbd
# # spec file for package qvkbd # # Copyright (c) 2020 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 https://bugs.opensuse.org/ # %define _ver1 3.1.4 Name: qvkbd Version: @SERVICE@ Release: 0 Summary: Virtual keyboard written in Qt License: GPL-3.0-or-later Group: System/GUI/Other URL: https://github.com/KivApple/qvkbd Source: %{name}-%{version}.tar.xz Source1: superkey-opensuse.svg Patch1: color.diff Patch2: install_svg.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5QuickWidgets) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xtst) %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 BuildRequires: rsvg-convert %else BuildRequires: rsvg-view %endif %description A virtual keyboard written in C++ and QML. %prep %autosetup -p1 cp %{SOURCE1} icons/ sed -i 's/path/path fill=\"\#eff0f1\"/' icons/keyboard.svg rsvg-convert -a -h 24 -f png icons/keyboard.svg -o icons/keyboard.svg.png %build %qmake5 %make_build %install %qmake5_install for i in 16 24 32 48 64 72 96 128 256 512; do install -dm 0755 %{buildroot}%{_datadir}/icons/hicolor/$i\x$i/apps rsvg-convert -a -w $i icons/keyboard.svg -o %{buildroot}%{_datadir}/icons/hicolor/$i\x$i/apps/%{name}.png done install -dm 0755 %{buildroot}%{_sysconfdir}/xdg/autostart cat > %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop <<-EOF [Desktop Entry] Version=1.0 Name=QVKbd Exec=%{_bindir}/%{name} --hide Hidden=true Type=Application X-LXQt-Need-Tray=true EOF %files %doc README.md %{_sysconfdir}/xdg/autostart/%{name}.desktop %{_bindir}/%{name} %attr(644,root,root) %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.??g %license COPYING %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor