mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* add: hypridle
* builddeps
* Update update.rhai
* gcc
* Update hypridle.spec
---------
(cherry picked from commit 25d6e18c69)
Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "hypridle.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
Name: hypridle
|
||||
Version: 0.1.6
|
||||
Release: 1%?dist
|
||||
Summary: Hyprland's idle daemon
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/hyprwm/hypridle
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
BuildRequires: cmake gcc gcc-c++
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: (pkgconfig(hyprland-protocols) with hyprland-protocols.nightly-devel)
|
||||
BuildRequires: (pkgconfig(hyprlang) with hyprlang.nightly-devel)
|
||||
BuildRequires: pkgconfig(sdbus-c++)
|
||||
BuildRequires: (pkgconfig(hyprwayland-scanner) with hyprwayland-scanner.nightly-devel)
|
||||
BuildRequires: (pkgconfig(hyprutils) with hyprutils.nightly-devel)
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE:STRING=Release
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%post
|
||||
%systemd_user_post %name.service
|
||||
|
||||
%preun
|
||||
%systemd_user_preun %name.service
|
||||
|
||||
%postun
|
||||
%systemd_user_postun_with_restart %name.service
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%_bindir/hypridle
|
||||
%_datadir/hypr/hypridle.conf
|
||||
%_userunitdir/%name.service
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_rawfile("hyprwm/hypridle", "main", "VERSION"));
|
||||
Reference in New Issue
Block a user