hyprlock: 0.3.0 -> 0.3.0-unstable-2024-04-24
this adds support for jpeg and webp wallpapers
remove cmake.patch as it is no longer needed
add dependencies as per 415262065f
This commit is contained in:
parent
c26eaa2650
commit
a6bd31fa2c
|
@ -1,15 +0,0 @@
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 07e2338..720810b 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -83,9 +83,4 @@ protocol("unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" "linux-dmabuf-unst
|
|
||||||
# Installation
|
|
||||||
install(TARGETS hyprlock)
|
|
||||||
|
|
||||||
-install(CODE "
|
|
||||||
- if (NOT EXISTS \"${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d/hyprlock\")
|
|
||||||
- install(FILES \"${CMAKE_SOURCE_DIR}/pam/hyprlock\" DESTINATION \"${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d\")
|
|
||||||
- endif()
|
|
||||||
-")
|
|
||||||
-
|
|
||||||
+install(FILES "${CMAKE_SOURCE_DIR}/pam/hyprlock" DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d")
|
|
|
@ -10,6 +10,9 @@
|
||||||
, wayland
|
, wayland
|
||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
, cairo
|
, cairo
|
||||||
|
, file
|
||||||
|
, libjpeg
|
||||||
|
, libwebp
|
||||||
, pango
|
, pango
|
||||||
, libdrm
|
, libdrm
|
||||||
, mesa
|
, mesa
|
||||||
|
@ -18,20 +21,16 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "hyprlock";
|
pname = "hyprlock";
|
||||||
version = "0.3.0";
|
version = "0.3.0-unstable-2024-04-24";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hyprwm";
|
owner = "hyprwm";
|
||||||
repo = "hyprlock";
|
repo = "hyprlock";
|
||||||
rev = "v${finalAttrs.version}";
|
# FIXME: Change to a stable release once available
|
||||||
hash = "sha256-rbzVe2WNdHynJrnyJsKOOrV8yuuJ7QIuah3ZHWERSnA=";
|
rev = "415262065fff0a04b229cd00165f346a86a0a73a";
|
||||||
|
hash = "sha256-jla5Wo0Qt3NEnD0OjNj85BGw0pR4Zlz5uy8AqHH7tuE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# remove PAM file install check
|
|
||||||
./cmake.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -41,9 +40,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cairo
|
cairo
|
||||||
|
file
|
||||||
hyprlang
|
hyprlang
|
||||||
libdrm
|
libdrm
|
||||||
libGL
|
libGL
|
||||||
|
libjpeg
|
||||||
|
libwebp
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
mesa
|
mesa
|
||||||
pam
|
pam
|
||||||
|
|
Loading…
Reference in New Issue
Block a user