Projects
Multimedia
bento4
bento4-shared_library.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bento4-shared_library.patch of Package bento4 (Revision 13)
Currently displaying revision
13
,
Show latest
Index: Bento4-1.5.1-628/CMakeLists.txt =================================================================== --- Bento4-1.5.1-628.orig/CMakeLists.txt +++ Bento4-1.5.1-628/CMakeLists.txt @@ -27,13 +27,21 @@ file(GLOB AP4_SOURCES ${SOURCE_SYSTEM}/StdC/*.cpp ) +# SDK includes +file(GLOB SDK_INCLUDES + ${SOURCE_ROOT}/Core/*.h + ${SOURCE_ROOT}/MetaData/*.h + ${SOURCE_ROOT}/Crypto/*.h + ${SOURCE_ROOT}Codecs/*.h +) + if(WIN32) set(AP4_SOURCES ${AP4_SOURCES} ${SOURCE_SYSTEM}/Win32/Ap4Win32Random.cpp) else() set(AP4_SOURCES ${AP4_SOURCES} ${SOURCE_SYSTEM}/Posix/Ap4PosixRandom.cpp) endif() -add_library(ap4 STATIC ${AP4_SOURCES}) +add_library(ap4-__VERSION__ SHARED ${AP4_SOURCES}) # Includes include_directories( @@ -47,6 +55,11 @@ include_directories( file(GLOB BENTO4_APPS RELATIVE ${SOURCE_ROOT}/Apps ${SOURCE_ROOT}/Apps/*) foreach(app ${BENTO4_APPS}) string(TOLOWER ${app} binary_name) + string(CONCAT binary_name "bento4-" ${binary_name}) add_executable(${binary_name} ${SOURCE_ROOT}/Apps/${app}/${app}.cpp) - target_link_libraries(${binary_name} ap4) + target_link_libraries(${binary_name} ap4-__VERSION__) + INSTALL(TARGETS ${binary_name} DESTINATION bin) endforeach() + +INSTALL (TARGETS ap4-__VERSION__ DESTINATION lib${LIB_SUFFIX}) +INSTALL(FILES ${SDK_INCLUDES} DESTINATION include/ap4)
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
.