feat: add kde-liquidshell (#449)

This commit is contained in:
cat-master21
2023-05-21 15:30:19 -07:00
committed by GitHub
parent f9bec8302d
commit bcfdeae096
2 changed files with 79 additions and 0 deletions
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "kde-liquidshell.spec"
}
}
@@ -0,0 +1,74 @@
%global forgeurl https://invent.kde.org/system/liquidshell
%global commit 9b14b9766f5d8db2b81c9bc7d4163dc07534402c
%global scm git
%forgemeta
Name: kde-liquidshell
Version: 1.8.1
Release: %autorelease
Summary: Basic desktop shell using QtWidgets
Provides: liquidshell
License: GPL-3.0
URL: %{forgeurl}
Source0: %{forgeurl}/-/archive/%{commit}/liquidshell-%{commit}.tar.gz
BuildRequires: cmake
BuildRequires: libappstream-glib
BuildRequires: pkgconfig(Qt5)
BuildRequires: kf5-rpm-macros
BuildRequires: extra-cmake-modules
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qtbase-static
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5ItemViews)
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5NetworkManagerQt)
BuildRequires: cmake(KF5Service)
BuildRequires: cmake(KF5Solid)
BuildRequires: cmake(KF5BluezQt)
BuildRequires: cmake(KF5KCMUtils)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5NewStuff)
BuildRequires: pkgconfig(packagekitqt5)
Requires: kwin
Requires: plasma-workspace-x11
Requires: plasma-workspace
Recommends: polkit-kde
%description
liquidshell is a basic Desktop Shell implemented using QtWidgets.
%prep
%autosetup -n liquidshell-%{commit}
%build
%cmake_kf5 -DWITH_PACKAGEKIT=true
%cmake_build
%install
%cmake_install
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
%files
%doc README
%license COPYING
%{_bindir}/liquidshell
%{_bindir}/start_liquidshell
%{_datadir}/applications/org.kde.liquidshell.desktop
%{_datadir}/icons/hicolor/48x48/apps/liquidshell.png
%{_datadir}/knotifications5/liquidshell.notifyrc
%{_metainfodir}/org.kde.liquidshell.appdata.xml
%{_datadir}/xsessions/liquidshell-session.desktop
%changelog
%autochangelog