Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
deepin-movie
Fix-library-link.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-library-link.patch of Package deepin-movie
diff -Nur deepin-movie-reborn-6.0.5/src/CMakeLists.txt deepin-movie-reborn-6.0.5-new/src/CMakeLists.txt --- deepin-movie-reborn-6.0.5/src/CMakeLists.txt 2023-02-06 15:06:00.000000000 +0800 +++ deepin-movie-reborn-6.0.5-new/src/CMakeLists.txt 2023-05-01 20:46:10.357621047 +0800 @@ -33,7 +33,10 @@ pkg_check_modules(DBusextended REQUIRED IMPORTED_TARGET dbusextended-qt5) pkg_check_modules(Gst REQUIRED IMPORTED_TARGET gobject-2.0) # IMPORTED_TARGET failed to work for some of libs under flatpak env -pkg_check_modules(Other REQUIRED gsettings-qt) +pkg_check_modules(Other REQUIRED gsettings-qt) +pkg_check_modules(FFMPEG REQUIRED IMPORTED_TARGET libavcodec) + +include_directories(${FFMPEG_INCLUDE_DIRS}) qt5_add_resources(RCS ../assets/resources.qrc) qt5_add_resources(RCS ../assets/icons/theme-icons.qrc) @@ -41,7 +44,6 @@ qt5_add_resources(RCS ../assets/theme.qrc) endif() - file(GLOB_RECURSE SRCS LIST_DIRECTORIES false common/*.cpp widgets/*.cpp libdmr/*.cpp vendor/*.cpp dlna/*.cpp dlna/*.c) list(APPEND SRCS main.cpp) diff -Nur deepin-movie-reborn-6.0.5/src/libdmr/CMakeLists.txt deepin-movie-reborn-6.0.5-new/src/libdmr/CMakeLists.txt --- deepin-movie-reborn-6.0.5/src/libdmr/CMakeLists.txt 2023-02-06 15:06:00.000000000 +0800 +++ deepin-movie-reborn-6.0.5-new/src/libdmr/CMakeLists.txt 2023-05-01 19:36:21.880798408 +0800 @@ -11,6 +11,7 @@ remove_definitions(-D_MOVIE_USE_) pkg_check_modules(Gst REQUIRED IMPORTED_TARGET gstreamer-1.0 glib-2.0) +pkg_check_modules(other REQUIRED gsettings-qt) include_directories(${CMAKE_INCLUDE_CURRENT_DIR}) @@ -27,7 +28,7 @@ ${PROJECT_SOURCE_DIR}/../common ${PROJECT_SOURCE_DIR}/../backends/mediaplayer ${PROJECT_SOURCE_DIR}/../backends/mpv /usr/include/glib-2.0 /usr/include/gstreamer-1.0) target_link_libraries(${CMD_NAME} PkgConfig::Dtk Qt5::Widgets Qt5::Concurrent - Qt5::Network Qt5::X11Extras Qt5::Sql Qt5::Svg Qt5::Multimedia Qt5::MultimediaWidgets Qt5::DBus PkgConfig::Gst GL) + Qt5::Network Qt5::X11Extras Qt5::Sql Qt5::Svg Qt5::Multimedia Qt5::MultimediaWidgets Qt5::DBus PkgConfig::Gst GL gsettings-qt) #target_link_libraries(${CMD_NAME} PkgConfig::Dtk Qt5::Widgets Qt5::Concurrent # Qt5::Network Qt5::X11Extras Qt5::Sql Qt5::DBus PkgConfig::AV GL png jpeg)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor