mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added flag to disable dispmanx from build
Former-commit-id: 6630f588a739a08601c0db79abd2cdf0b1c1839c
This commit is contained in:
@@ -4,10 +4,13 @@ SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include)
|
||||
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc)
|
||||
|
||||
add_subdirectory(bootsequence)
|
||||
add_subdirectory(dispmanx-grabber)
|
||||
add_subdirectory(hyperion)
|
||||
add_subdirectory(jsonserver)
|
||||
add_subdirectory(protoserver)
|
||||
add_subdirectory(boblightserver)
|
||||
add_subdirectory(utils)
|
||||
add_subdirectory(xbmcvideochecker)
|
||||
|
||||
if (ENABLE_DISPMANX)
|
||||
add_subdirectory(dispmanx-grabber)
|
||||
endif (ENABLE_DISPMANX)
|
||||
|
@@ -24,7 +24,7 @@ BootSequence * BootSequenceFactory::createBootSequence(Hyperion * hyperion, cons
|
||||
const unsigned duration_ms = jsonConfig["duration_ms"].asUInt();
|
||||
return new RainbowBootSequence(hyperion, duration_ms);
|
||||
}
|
||||
else if (type == "knightrider" || type == "knight rider")
|
||||
else if (type == "knightrider" || type == "knight rider" || "knight_rider")
|
||||
{
|
||||
std::cout << "SELECTED BOOT SEQUENCE: " << "KITT" << std::endl;
|
||||
const unsigned duration_ms = jsonConfig["duration_ms"].asUInt();
|
||||
@@ -34,5 +34,3 @@ BootSequence * BootSequenceFactory::createBootSequence(Hyperion * hyperion, cons
|
||||
std::cerr << "Unknown boot-sequence selected; boot-sequence disabled." << std::endl;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -79,4 +79,5 @@ target_link_libraries(hyperion
|
||||
hyperion-utils
|
||||
serialport
|
||||
${QT_LIBRARIES}
|
||||
${LIBUSB_1_LIBRARIES})
|
||||
${LIBUSB_1_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT})
|
||||
|
@@ -168,7 +168,7 @@ void JsonClientConnection::handleServerInfoCommand(const Json::Value &message)
|
||||
item["priority"] = priority;
|
||||
if (priorityInfo.timeoutTime_ms != -1)
|
||||
{
|
||||
item["duration_ms"] = priorityInfo.timeoutTime_ms - now;
|
||||
item["duration_ms"] = Json::Value::UInt(priorityInfo.timeoutTime_ms - now);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user