17
0
Files
deepin-music-player/Fix-library-link.patch
Hillwood Yang 4a98f3910f Accepting request 891483 from X11:Deepin:Factory
- Update version to 6.1.2
  * Add help documents
  * Fix bug
  * Use mpris-qt5
- Add Patches: fix-return-type.patch and recompile-with-fPIC.patch
- Drop deepin-music-Qt-5_15.patch, merged by upstream.

OBS-URL: https://build.opensuse.org/request/show/891483
OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/deepin-music-player?expand=0&rev=47
2021-05-08 13:10:14 +00:00

18 lines
897 B
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
diff -Nur deepin-music-6.1.2/src/libdmusic/CMakeLists.txt deepin-music-6.1.2-new/src/libdmusic/CMakeLists.txt
--- deepin-music-6.1.2/src/libdmusic/CMakeLists.txt 2021-03-18 19:27:28.000000000 +0800
+++ deepin-music-6.1.2-new/src/libdmusic/CMakeLists.txt 2021-04-14 16:55:51.923159586 +0800
@@ -19,11 +19,11 @@
set_target_properties(dmusic PROPERTIES VERSION 1.0.0 SOVERSION 1.0)
#使用第三方库需要用到的一个包
-find_package(PkgConfig REQUIRED)
+find_package(PkgConfig REQUIRED libavcodec)
#检查第三方库(这里检查了名字为dtkwidget的库和名字为dtkgui的库)然后取名3rd_lib
pkg_check_modules(3rd_lib REQUIRED
- dtkwidget dtkgui dtkcore
+ dtkwidget dtkgui dtkcore libavcodec
)
#添加第三方库的所有文件夹路径到工程中来(注意 *_INCLUDE_DIRS)
target_include_directories(${CMD_NAME} PUBLIC ${3rd_lib_INCLUDE_DIRS})