Projects
Multimedia
nordlicht
nordlicht-ffmpeg-deps.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nordlicht-ffmpeg-deps.patch of Package nordlicht (Revision 6)
Currently displaying revision
6
,
Show latest
Index: nordlicht-0.3.5/CMakeLists.txt =================================================================== --- nordlicht-0.3.5.orig/CMakeLists.txt +++ nordlicht-0.3.5/CMakeLists.txt @@ -8,7 +8,7 @@ set(LIB_SUFFIX "" CACHE STRING "Suffix o set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Directory where library will be installed") find_package(Threads REQUIRED) -find_package(FFmpeg COMPONENTS AVUTIL AVFORMAT AVCODEC SWSCALE REQUIRED) +find_package(FFmpeg COMPONENTS AVFORMAT AVCODEC SWSCALE REQUIRED) find_package(PNG REQUIRED) find_package(Popt REQUIRED) Index: nordlicht-0.3.5/cmake/FindFFmpeg.cmake =================================================================== --- nordlicht-0.3.5.orig/cmake/FindFFmpeg.cmake +++ nordlicht-0.3.5/cmake/FindFFmpeg.cmake @@ -1,5 +1,5 @@ # vim: ts=2 sw=2 -# - Try to find the required ffmpeg components(default: AVFORMAT, AVUTIL, AVCODEC) +# - Try to find the required ffmpeg components(default: AVFORMAT, AVCODEC) # # Once done this will define # FFMPEG_FOUND - System has the all required components. @@ -9,10 +9,7 @@ # # For each of the components it will additionally set. # - AVCODEC -# - AVDEVICE # - AVFORMAT -# - AVUTIL -# - POSTPROCESS # - SWSCALE # the following variables will be defined # <component>_FOUND - System has <component> @@ -32,7 +29,7 @@ include(FindPackageHandleStandardArgs) # The default components were taken from a survey over other FindFFMPEG.cmake files if (NOT FFmpeg_FIND_COMPONENTS) - set(FFmpeg_FIND_COMPONENTS AVCODEC AVFORMAT AVUTIL) + set(FFmpeg_FIND_COMPONENTS AVCODEC AVFORMAT) endif () # @@ -100,10 +97,7 @@ if (NOT FFMPEG_LIBRARIES) # Check for all possible component. find_component(AVCODEC libavcodec avcodec libavcodec/avcodec.h) find_component(AVFORMAT libavformat avformat libavformat/avformat.h) - find_component(AVDEVICE libavdevice avdevice libavdevice/avdevice.h) - find_component(AVUTIL libavutil avutil libavutil/avutil.h) find_component(SWSCALE libswscale swscale libswscale/swscale.h) - find_component(POSTPROC libpostproc postproc libpostproc/postprocess.h) # Check if the required components were found and add their stuff to the FFMPEG_* vars. foreach (_component ${FFmpeg_FIND_COMPONENTS}) @@ -134,7 +128,7 @@ if (NOT FFMPEG_LIBRARIES) endif () # Now set the noncached _FOUND vars for the components. -foreach (_component AVCODEC AVDEVICE AVFORMAT AVUTIL POSTPROCESS SWSCALE) +foreach (_component AVCODEC AVFORMAT SWSCALE) set_component_found(${_component}) endforeach ()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.