mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00

This patch makes it so that we view clips by dropping them on an open VideoPlayer window.
20 lines
465 B
CMake
20 lines
465 B
CMake
serenity_component(
|
|
VideoPlayer
|
|
TARGETS VideoPlayer
|
|
DEPENDS AudioServer
|
|
)
|
|
|
|
compile_gml(VideoPlayerWindow.gml VideoPlayerWindowGML.h videoplayer_window_gml)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
VideoFrameWidget.cpp
|
|
VideoPlayerWidget.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
VideoPlayerWindowGML.h
|
|
)
|
|
|
|
serenity_app(VideoPlayer ICON app-video-player)
|
|
target_link_libraries(VideoPlayer PRIVATE LibVideo LibAudio LibCore LibGfx LibGUI LibMain LibFileSystemAccessClient)
|