Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hillwood:branches:X11:Deepin:Factory
dtkmultimedia
fix-library-link.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-library-link.patch of Package dtkmultimedia
diff -Nur dtkmultimedia-1.0.6/src/multimedia/CMakeLists.txt dtkmultimedia-1.0.6-new/src/multimedia/CMakeLists.txt --- dtkmultimedia-1.0.6/src/multimedia/CMakeLists.txt 2023-09-15 09:03:11.000000000 +0800 +++ dtkmultimedia-1.0.6-new/src/multimedia/CMakeLists.txt 2023-11-14 15:42:55.794204411 +0800 @@ -84,7 +84,9 @@ find_package(Qt${QT_VERSION_MAJOR}Gui) find_package(Qt${QT_VERSION_MAJOR}Multimedia) +find_package(PkgConfig) +pkg_check_modules(FFMPEG REQUIRED IMPORTED_TARGET libavcodec libavformat) set(TARGET_LIBS Qt${QT_VERSION_MAJOR}::Multimedia Qt${QT_VERSION_MAJOR}::Gui) @@ -102,6 +104,7 @@ Qt${QT_VERSION_MAJOR}::Gui ${TARGET_LIBS} ${RSVG2_LIBRARIES} + PkgConfig::FFMPEG ) if (ENABLE_Qt6) diff -Nur dtkmultimedia-1.0.6/src/multimediawidgets/CMakeLists.txt dtkmultimedia-1.0.6-new/src/multimediawidgets/CMakeLists.txt --- dtkmultimedia-1.0.6/src/multimediawidgets/CMakeLists.txt 2023-09-15 09:03:11.000000000 +0800 +++ dtkmultimedia-1.0.6-new/src/multimediawidgets/CMakeLists.txt 2023-11-14 15:46:56.735882470 +0800 @@ -54,7 +54,7 @@ endif() pkg_check_modules(Gst REQUIRED IMPORTED_TARGET gobject-2.0) - +pkg_check_modules(FFMPEG REQUIRED IMPORTED_TARGET libavcodec libavformat) set(TARGET_LIBS Xtst Qt${QT_VERSION_MAJOR}::Widgets @@ -84,6 +84,7 @@ Dtk${DTK_VERSION_MAJOR}::Widget ${TARGET_LIBS} ${RSVG2_LIBRARIES} + PkgConfig::FFMPEG ) if (ENABLE_Qt6)
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