libvncserver: 0.9.14 -> 0.9.15 (#417844)

This commit is contained in:
7c6f434c
2025-06-20 14:11:37 +00:00
committed by GitHub
2 changed files with 17 additions and 12 deletions

View File

@@ -10,11 +10,14 @@
libpng, libpng,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
systemd, systemd,
enableShared ? !stdenv.hostPlatform.isStatic,
buildExamples ? false,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "libvncserver"; pname = "libvncserver";
version = "0.9.14"; version = "0.9.15";
outputs = [ outputs = [
"out" "out"
@@ -24,8 +27,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LibVNC"; owner = "LibVNC";
repo = "libvncserver"; repo = "libvncserver";
rev = "LibVNCServer-${version}"; tag = "LibVNCServer-${finalAttrs.version}";
sha256 = "sha256-kqVZeCTp+Z6BtB6nzkwmtkJ4wtmjlSQBg05lD02cVvQ="; hash = "sha256-a3acEjJM+ZA9jaB6qZ/czjIfx/L3j71VjJ6mtlqYcSw=";
}; };
patches = [ patches = [
@@ -38,7 +41,9 @@ stdenv.mkDerivation rec {
]; ];
cmakeFlags = [ cmakeFlags = [
"-DWITH_SYSTEMD=${if withSystemd then "ON" else "OFF"}" (lib.cmakeBool "WITH_SYSTEMD" withSystemd)
(lib.cmakeBool "BUILD_SHARED_LIBS" enableShared)
(lib.cmakeBool "WITH_EXAMPLES" buildExamples)
]; ];
buildInputs = buildInputs =
@@ -63,4 +68,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ raskin ]; maintainers = with maintainers; [ raskin ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} })

View File

@@ -1,7 +1,7 @@
diff --git a/libvncclient.pc.cmakein b/libvncclient.pc.cmakein diff --git a/src/libvncclient/libvncclient.pc.cmakein b/src/libvncclient/libvncclient.pc.cmakein
index ceeda39d..2516e643 100644 index ceeda39d..2516e643 100644
--- a/libvncclient.pc.cmakein --- a/src/libvncclient/libvncclient.pc.cmakein
+++ b/libvncclient.pc.cmakein +++ b/src/libvncclient/libvncclient.pc.cmakein
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@ prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=@CMAKE_INSTALL_PREFIX@
@@ -12,10 +12,10 @@ index ceeda39d..2516e643 100644
Name: LibVNCClient Name: LibVNCClient
Description: A library for easy implementation of a VNC client. Description: A library for easy implementation of a VNC client.
diff --git a/libvncserver.pc.cmakein b/libvncserver.pc.cmakein diff --git a/src/libvncserver/libvncserver.pc.cmakein b/src/libvncserver/libvncserver.pc.cmakein
index 33ec6685..57244742 100644 index 33ec6685..57244742 100644
--- a/libvncserver.pc.cmakein --- a/src/libvncserver/libvncserver.pc.cmakein
+++ b/libvncserver.pc.cmakein +++ b/src/libvncserver/libvncserver.pc.cmakein
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@ prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=@CMAKE_INSTALL_PREFIX@