qtav/qtav-avoid-avresample_dependency.patch
peijiankang 066e2086bd Init package for openEuler
(cherry picked from commit 494e06685fa1366a6f94d0bb85da1f43390f69bd)
2023-05-23 17:07:31 +08:00

23 lines
1007 B
Diff

--- a/QtAV.orig.pro 2019-07-11 02:58:59.000000000 +0200
+++ b/QtAV.pro 2021-01-20 14:17:01.603852011 +0100
@@ -36,7 +36,7 @@
#OTHER_FILES += config.test/mktest.sh
EssentialDepends = avutil avcodec avformat swscale
winrt: CONFIG *= no-avdevice no-openal no-portaudio no-dsound no-gdiplus
-OptionalDepends = swresample avresample
+OptionalDepends = swresample
!no-avfilter: OptionalDepends *= avfilter
!no-avdevice: OptionalDepends *= avdevice
# QtOpenGL module. In Qt5 we can disable it and still have opengl support
@@ -78,8 +78,8 @@
!no-videotoolbox: OptionalDepends *= videotoolbox
}
runConfigTests()
-!config_avresample:!config_swresample {
- error("libavresample or libswresample is required. Setup your environment correctly then delete $$BUILD_DIR/.qmake.conf and run qmake again")
+!config_swresample {
+ error("libswresample is required. Setup your environment correctly then delete $$BUILD_DIR/.qmake.conf and run qmake again")
}
PACKAGE_VERSION = $$QTAV_VERSION
PACKAGE_NAME= QtAV