Init
This commit is contained in:
parent
d6d80d675e
commit
1d20015785
100
qt6-qtvirtualkeyboard.spec
Normal file
100
qt6-qtvirtualkeyboard.spec
Normal file
@ -0,0 +1,100 @@
|
||||
%global qt_module qtvirtualkeyboard
|
||||
|
||||
%define short_version 6.5
|
||||
|
||||
Summary: Qt6 - VirtualKeyboard component
|
||||
Name: qt6-%{qt_module}
|
||||
Version: 6.5.0
|
||||
Release: 1
|
||||
|
||||
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||
Url: http://qt.io
|
||||
Source0: https://download.qt.io/official_releases/qt/%{short_version}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: qt6-qtbase-devel >= %{version}
|
||||
BuildRequires: qt6-qtbase-private-devel
|
||||
%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
|
||||
BuildRequires: qt6-qtdeclarative-devel >= %{version}
|
||||
BuildRequires: qt6-qtsvg-devel >= %{version}
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
# version unknown
|
||||
Provides: bundled(libpinyin)
|
||||
|
||||
%description
|
||||
The Qt Virtual Keyboard project provides an input framework and reference keyboard frontend
|
||||
for Qt 6. Key features include:
|
||||
* Customizable keyboard layouts and styles with dynamic switching.
|
||||
* Predictive text input with word selection.
|
||||
* Character preview and alternative character view.
|
||||
* Automatic capitalization and space insertion.
|
||||
* Scalability to different resolutions.
|
||||
* Support for different character sets (Latin, Simplified/Traditional Chinese, Hindi, Japanese, Arabic, Korean, and others).
|
||||
* Support for most common input languages, with possibility to easily extend the language support.
|
||||
* Left-to-right and right-to-left input.
|
||||
* Hardware key support for 2-way and 5-way navigation.
|
||||
* Handwriting support, with gestures for fullscreen input.
|
||||
* Audio feedback.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: qt6-qtbase-devel%{?_isa}
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package examples
|
||||
Summary: Programming examples for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description examples
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
|
||||
|
||||
|
||||
%build
|
||||
%cmake_qt6
|
||||
cmake --build . %{?_smp_mflags} --verbose
|
||||
|
||||
%install
|
||||
DESTDIR="%{buildroot}" cmake --install .
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%{_qt6_libdir}/libQt6VirtualKeyboard.so.6*
|
||||
%{_qt6_plugindir}/platforminputcontexts/libqtvirtualkeyboardplugin.so
|
||||
%{_qt6_qmldir}/QtQuick/VirtualKeyboard/
|
||||
|
||||
%files devel
|
||||
%{_qt6_headerdir}/QtVirtualKeyboard/
|
||||
%{_qt6_libdir}/libQt6VirtualKeyboard.prl
|
||||
%{_qt6_libdir}/libQt6VirtualKeyboard.so
|
||||
%{_qt6_libdir}/cmake/Qt6/
|
||||
%{_qt6_libdir}/cmake/Qt6VirtualKeyboard/
|
||||
%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtVirtualKeyboardTestsConfig.cmake
|
||||
%{_qt6_libdir}/cmake/Qt6BundledOpenwnn/Qt6BundledOpenwnnDependencies.cmake
|
||||
%{_qt6_libdir}/cmake/Qt6BundledPinyin/Qt6BundledPinyinDependencies.cmake
|
||||
%{_qt6_libdir}/cmake/Qt6BundledTcime/Qt6BundledTcimeDependencies.cmake
|
||||
%{_qt6_libdir}/cmake/Qt6Gui/Qt6QVirtualKeyboardPlugin*.cmake
|
||||
%{_qt6_libdir}/cmake/Qt6Qml/QmlPlugins/*.cmake
|
||||
%{_qt6_mkspecsdir}/modules/qt_lib_virtualkeyboard*.pri
|
||||
%{_qt6_archdatadir}/modules/VirtualKeyboard.json
|
||||
%{_qt6_archdatadir}/metatypes/qt6*_metatypes.json
|
||||
%{_qt6_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files examples
|
||||
%{_qt6_examplesdir}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 5 2023 EastDong <xudong23@iscas.ac.cn> - 6.5.0-1
|
||||
- update package
|
||||
|
||||
* Thu Dec 01 2022 Jingwiw <wangjingwei@iscas.ac.cn> - 6.4.0-1
|
||||
- init package
|
||||
4
qt6-qtvirtualkeyboard.yaml
Normal file
4
qt6-qtvirtualkeyboard.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://code.qt.io/qt/qtvirtualkeyboard.git
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
BIN
qtvirtualkeyboard-everywhere-src-6.5.0.tar.xz
Normal file
BIN
qtvirtualkeyboard-everywhere-src-6.5.0.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user