|
1 | 1 | cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
|
2 | 2 |
|
3 | 3 | project(fastfetch
|
4 |
| - VERSION 2.46.0 |
| 4 | + VERSION 2.47.0 |
5 | 5 | LANGUAGES C
|
6 | 6 | DESCRIPTION "Fast neofetch-like system information tool"
|
7 | 7 | HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
|
@@ -76,13 +76,13 @@ cmake_dependent_option(ENABLE_EGL "Enable egl" ON "LINUX OR FreeBSD OR OpenBSD O
|
76 | 76 | cmake_dependent_option(ENABLE_GLX "Enable glx" ON "LINUX OR FreeBSD OR OpenBSD OR NetBSD OR ANDROID OR SunOS" OFF)
|
77 | 77 | cmake_dependent_option(ENABLE_OPENCL "Enable opencl" ON "LINUX OR FreeBSD OR OpenBSD OR NetBSD OR WIN32 OR ANDROID OR SunOS OR Haiku" OFF)
|
78 | 78 | cmake_dependent_option(ENABLE_FREETYPE "Enable freetype" ON "ANDROID" OFF)
|
79 |
| -cmake_dependent_option(ENABLE_PULSE "Enable pulse" ON "LINUX OR SunOS" OFF) |
| 79 | +cmake_dependent_option(ENABLE_PULSE "Enable pulse" ON "LINUX" OFF) |
80 | 80 | cmake_dependent_option(ENABLE_DDCUTIL "Enable ddcutil" ON "LINUX" OFF)
|
81 | 81 | cmake_dependent_option(ENABLE_DIRECTX_HEADERS "Enable DirectX headers for WSL" ON "LINUX" OFF)
|
82 | 82 | cmake_dependent_option(ENABLE_ELF "Enable libelf" ON "LINUX OR ANDROID OR DragonFly OR Haiku" OFF)
|
83 | 83 | cmake_dependent_option(ENABLE_THREADS "Enable multithreading" ON "Threads_FOUND" OFF)
|
84 | 84 | cmake_dependent_option(ENABLE_LIBZFS "Enable libzfs" ON "LINUX OR FreeBSD OR SunOS" OFF)
|
85 |
| -cmake_dependent_option(ENABLE_PCIACCESS "Enable libpciaccess" ON "NetBSD OR OpenBSD OR SunOS" OFF) |
| 85 | +cmake_dependent_option(ENABLE_PCIACCESS "Enable libpciaccess" ON "NetBSD OR OpenBSD" OFF) |
86 | 86 |
|
87 | 87 | option(ENABLE_SYSTEM_YYJSON "Use system provided (instead of fastfetch embedded) yyjson library" OFF)
|
88 | 88 | option(ENABLE_ASAN "Build fastfetch with ASAN (address sanitizer)" OFF)
|
@@ -326,11 +326,6 @@ endif()
|
326 | 326 | fastfetch_encode_c_string("${DATATEXT_JSON_HELP}" DATATEXT_JSON_HELP)
|
327 | 327 | fastfetch_load_text(src/data/structure.txt DATATEXT_STRUCTURE)
|
328 | 328 |
|
329 |
| -if(APPLE) |
330 |
| - # See src/detection/media/media_apple.m |
331 |
| - fastfetch_load_text(src/data/nowPlaying.scptd DATATEXT_NOWPLAYING) |
332 |
| -endif() |
333 |
| - |
334 | 329 | configure_file(src/fastfetch_config.h.in fastfetch_config.h @ONLY)
|
335 | 330 | configure_file(src/fastfetch_datatext.h.in fastfetch_datatext.h @ONLY)
|
336 | 331 | if(APPLE)
|
@@ -1062,7 +1057,7 @@ elseif(SunOS)
|
1062 | 1057 | src/detection/bluetoothradio/bluetoothradio_nosupport.c
|
1063 | 1058 | src/detection/disk/disk_sunos.c
|
1064 | 1059 | src/detection/dns/dns_linux.c
|
1065 |
| - src/detection/physicaldisk/physicaldisk_nosupport.c |
| 1060 | + src/detection/physicaldisk/physicaldisk_sunos.c |
1066 | 1061 | src/detection/physicalmemory/physicalmemory_linux.c
|
1067 | 1062 | src/detection/diskio/diskio_sunos.c
|
1068 | 1063 | src/detection/displayserver/linux/displayserver_linux.c
|
@@ -1102,7 +1097,7 @@ elseif(SunOS)
|
1102 | 1097 | src/detection/poweradapter/poweradapter_nosupport.c
|
1103 | 1098 | src/detection/processes/processes_linux.c
|
1104 | 1099 | src/detection/gtk_qt/qt.c
|
1105 |
| - src/detection/sound/sound_linux.c |
| 1100 | + src/detection/sound/sound_sunos.c |
1106 | 1101 | src/detection/swap/swap_sunos.c
|
1107 | 1102 | src/detection/terminalfont/terminalfont_linux.c
|
1108 | 1103 | src/detection/terminalshell/terminalshell_linux.c
|
@@ -1637,6 +1632,7 @@ elseif(SunOS)
|
1637 | 1632 | PRIVATE "proc"
|
1638 | 1633 | PRIVATE "zfs"
|
1639 | 1634 | PRIVATE "nvpair"
|
| 1635 | + PRIVATE "devinfo" |
1640 | 1636 | )
|
1641 | 1637 | elseif(ANDROID)
|
1642 | 1638 | CHECK_LIBRARY_EXISTS(-l:libandroid-wordexp.a wordexp "" HAVE_LIBANDROID_WORDEXP_STATIC)
|
|
0 commit comments