This commit is contained in:
2026-04-30 08:12:32 +08:00
parent 36ce60ecae
commit 2fe0180493
2 changed files with 7 additions and 13 deletions

View File

@@ -16,8 +16,8 @@ URL: https://www.kde.org
VCS: git:https://invent.kde.org/libraries/baloo-widgets.git
#!RemoteAsset: sha256:0b03fc0adfeda46deeb53fb5e22bb9108715ebc1d8f5b19ca4e5c2216332c711
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
BuildSystem: cmake
BuildSystem: cmake
BuildOption(conf): -DBUILD_TESTING=OFF
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}

View File

@@ -21,6 +21,11 @@ URL: https://www.kde.org
VCS: git:https://invent.kde.org/plasma/breeze
#!RemoteAsset: sha256:09b3f7bd2386c4b91c418462f02b203510f2ae88489398ef05e0b6ddea3aa590
Source: https://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz
BuildSystem: cmake
BuildOption(build): -DBUILD_QT6:BOOL=TRUE
BuildOption(build): -DBUILD_QT5:BOOL=FALSE
BuildOption(conf): -DBUILD_TESTING=OFF
BuildRequires: cmake >= 3.16
BuildRequires: fdupes
@@ -98,23 +103,12 @@ Summary: Information about breeze setup
%description devel
This package ships a CMake config file used to get information about Breeze.
%prep
%autosetup -p1 -n %{name}-%{version}
# Empty file used by the breeze packages
cat >> meta_package << EOF
This is a meta package, it does not contain any file
EOF
%build
%cmake_kf6 \
-DBUILD_QT6:BOOL=TRUE \
-DBUILD_QT5:BOOL=FALSE
%kf6_build
%install
%kf6_install
%install -a
# todo: fix the name error.
# Avoid illegal package names