!1 Init Package 6.5.1
From: @peijiankang Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
dceb664c24
69
qt6-qtquickeffectmaker.spec
Normal file
69
qt6-qtquickeffectmaker.spec
Normal file
@ -0,0 +1,69 @@
|
||||
|
||||
%global qt_module qtquickeffectmaker
|
||||
|
||||
%global examples 1
|
||||
|
||||
%define short_version 6.5
|
||||
|
||||
Summary: Tool for creating shader effects for Qt Quick
|
||||
Name: qt6-%{qt_module}
|
||||
Version: 6.5.1
|
||||
Release: 1
|
||||
|
||||
License: GPL-3.0-only
|
||||
URL: https://www.qt.io
|
||||
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||
%global qt_version %(echo %{version} | cut -d~ -f1)
|
||||
|
||||
Source0: https://download.qt.io/official_releases/qt/%{short_version}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
|
||||
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: qt6-qtbase-devel >= %{version}
|
||||
BuildRequires: qt6-qtbase-private-devel
|
||||
BuildRequires: qt6-qtdeclarative-devel
|
||||
BuildRequires: qt6-qtquick3d-devel
|
||||
BuildRequires: qt6-qtshadertools-devel
|
||||
BuildRequires: pkgconfig(xkbcommon) >= 0.5.0
|
||||
|
||||
%description
|
||||
Qt Quick Effect Maker is a hybrid editor for creating shader effects for Qt
|
||||
Quick applications and offers both a node editor and a code editor.
|
||||
|
||||
%if 0%{?examples}
|
||||
%package examples
|
||||
Summary: Programming examples for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
# BuildRequires: qt6-qtremoteobjects-devel >= %{version}
|
||||
%description examples
|
||||
%{summary}.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
|
||||
|
||||
|
||||
%build
|
||||
%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF}
|
||||
|
||||
cmake --build . %{?_smp_mflags} --verbose
|
||||
|
||||
%install
|
||||
DESTDIR="%{buildroot}" cmake --install .
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license LICENSES/* tools/qqem/qml/fonts/SourceCodePro.txt
|
||||
%{_qt6_bindir}/qqem
|
||||
%{_qt6_qmldir}/QtQuickEffectMaker/
|
||||
|
||||
%if 0%{?examples}
|
||||
%files examples
|
||||
%{_qt6_examplesdir}/
|
||||
%endif
|
||||
%changelog
|
||||
* Thu Aug 17 2023 peijiankang <peijiankang@kylinos.cn> - 6.5.1-1
|
||||
- 6.5.1
|
||||
4
qt6-qtquickeffectmaker.yaml
Normal file
4
qt6-qtquickeffectmaker.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://code.qt.io/qt/quickeffectmaker.git
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
BIN
qtquickeffectmaker-everywhere-src-6.5.1.tar.xz
Normal file
BIN
qtquickeffectmaker-everywhere-src-6.5.1.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user