File: 0001-use-deb-udevdir-env-var.patch

package info (click to toggle)
qlcplus 4.14.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 58,364 kB
  • sloc: cpp: 182,424; javascript: 7,665; xml: 2,422; ansic: 2,120; sh: 1,671; python: 634; ruby: 606; makefile: 23
file content (29 lines) | stat: -rw-r--r-- 765 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Jerome Lebleu <jerome@maroufle.fr>
Date: Sat, 23 Mar 2024 11:59:29 +0200
Subject: Use deb_udevdir environment variable
Forwarded: not-needed

---
 variables.cmake | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/variables.cmake b/variables.cmake
index 18b45a0..817ef06 100644
--- a/variables.cmake
+++ b/variables.cmake
@@ -425,15 +425,6 @@ elseif (IOS)
     set(USERCOLORFILTERSDIR "${USERDATADIR}/ColorFilters")
 endif ()
 
-# udev rules
-if(UNIX AND NOT APPLE)
-    if (${INSTALL_ROOT} STREQUAL "/")
-        set(UDEVRULESDIR "/etc/udev/rules.d")
-    else()
-        set(UDEVRULESDIR "${INSTALL_ROOT}/etc/udev/rules.d")
-    endif()
-endif()
-
 # AppStream metadata
 if(UNIX AND NOT APPLE)
     set(METAINFODIR "${INSTALLROOT}/share/metainfo")