forked from LizardByte/Sunshine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/nightly' into unpair-single-cl…
…ient
- Loading branch information
Showing
106 changed files
with
2,865 additions
and
955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# - Try to find Systemd | ||
# Once done this will define | ||
# | ||
# SYSTEMD_FOUND - system has systemd | ||
# SYSTEMD_USER_UNIT_INSTALL_DIR - the systemd system unit install directory | ||
# SYSTEMD_SYSTEM_UNIT_INSTALL_DIR - the systemd user unit install directory | ||
|
||
IF (NOT WIN32) | ||
|
||
find_package(PkgConfig QUIET) | ||
if(PKG_CONFIG_FOUND) | ||
pkg_check_modules(SYSTEMD "systemd") | ||
endif() | ||
|
||
if (SYSTEMD_FOUND) | ||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} | ||
--variable=systemduserunitdir systemd | ||
OUTPUT_VARIABLE SYSTEMD_USER_UNIT_INSTALL_DIR) | ||
|
||
string(REGEX REPLACE "[ \t\n]+" "" SYSTEMD_USER_UNIT_INSTALL_DIR | ||
"${SYSTEMD_USER_UNIT_INSTALL_DIR}") | ||
|
||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} | ||
--variable=systemdsystemunitdir systemd | ||
OUTPUT_VARIABLE SYSTEMD_SYSTEM_UNIT_INSTALL_DIR) | ||
|
||
string(REGEX REPLACE "[ \t\n]+" "" SYSTEMD_SYSTEM_UNIT_INSTALL_DIR | ||
"${SYSTEMD_SYSTEM_UNIT_INSTALL_DIR}") | ||
|
||
mark_as_advanced(SYSTEMD_USER_UNIT_INSTALL_DIR SYSTEMD_SYSTEM_UNIT_INSTALL_DIR) | ||
|
||
endif () | ||
|
||
ENDIF () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# - Try to find Udev | ||
# Once done this will define | ||
# | ||
# UDEV_FOUND - system has udev | ||
# UDEV_RULES_INSTALL_DIR - the udev rules install directory | ||
|
||
IF (NOT WIN32) | ||
|
||
find_package(PkgConfig QUIET) | ||
if(PKG_CONFIG_FOUND) | ||
pkg_check_modules(UDEV "udev") | ||
endif() | ||
|
||
if (UDEV_FOUND) | ||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} | ||
--variable=udevdir udev | ||
OUTPUT_VARIABLE UDEV_RULES_INSTALL_DIR) | ||
|
||
string(REGEX REPLACE "[ \t\n]+" "" UDEV_RULES_INSTALL_DIR | ||
"${UDEV_RULES_INSTALL_DIR}") | ||
|
||
set(UDEV_RULES_INSTALL_DIR "${UDEV_RULES_INSTALL_DIR}/rules.d") | ||
|
||
mark_as_advanced(UDEV_RULES_INSTALL_DIR) | ||
|
||
endif () | ||
|
||
ENDIF () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.