Projects
Multimedia
turing
turing-shared-libs.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File turing-shared-libs.patch of Package turing (Revision 4)
Currently displaying revision
4
,
Show latest
Index: turing-1.2.git.1499183039.72b085e/havoc/CMakeLists.txt =================================================================== --- turing-1.2.git.1499183039.72b085e.orig/havoc/CMakeLists.txt +++ turing-1.2.git.1499183039.72b085e/havoc/CMakeLists.txt @@ -57,6 +57,10 @@ unset(CMAKE_IMPORT_LIBRARY_SUFFIX) target_link_libraries(havoc-exe havoc) +set_target_properties(havoc PROPERTIES SOVERSION __SOVERSION__ VERSION __VERSION__) + set_target_properties(havoc-exe PROPERTIES OUTPUT_NAME havoc) -install(TARGETS havoc LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) +install(TARGETS havoc-exe DESTINATION bin) + +install(TARGETS havoc LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX}) Index: turing-1.2.git.1499183039.72b085e/turing/CMakeLists.txt =================================================================== --- turing-1.2.git.1499183039.72b085e.orig/turing/CMakeLists.txt +++ turing-1.2.git.1499183039.72b085e/turing/CMakeLists.txt @@ -222,6 +222,8 @@ unset(CMAKE_IMPORT_LIBRARY_SUFFIX) add_executable (turing-exe main.cpp) +set_target_properties(turing PROPERTIES SOVERSION __SOVERSION__ VERSION __VERSION__) + set_target_properties(turing-exe PROPERTIES OUTPUT_NAME turing) target_link_libraries (turing-exe LINK_PUBLIC turing ${LINK_LIBRARIES}) @@ -230,9 +232,10 @@ if(UNIX) include(FindPkgConfig QUIET) if(PKG_CONFIG_FOUND) configure_file("libturing.pc.in" "libturing.pc" @ONLY) - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libturing.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libturing.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig") endif() endif() -install(TARGETS turing LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) +install(TARGETS turing-exe DESTINATION bin) +install(TARGETS turing LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX}) install(FILES turing.h DESTINATION include) Index: turing-1.2.git.1499183039.72b085e/turing/libturing.pc.in =================================================================== --- turing-1.2.git.1499183039.72b085e.orig/turing/libturing.pc.in +++ turing-1.2.git.1499183039.72b085e/turing/libturing.pc.in @@ -1,11 +1,11 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${exec_prefix}/lib +libdir=${exec_prefix}/lib@LIB_SUFFIX@ includedir=${prefix}/include Name: @CMAKE_PROJECT_NAME@ Description: Turing codec library -Version: @GIT_DESCRIBE@ +Version: @TURING_VERSION@ Libs: -L${libdir} -lturing -lhavoc -Libs.private: -lstdc++ -L@CMAKE_INSTALL_PREFIX@/lib/boost -lboost_program_options -lboost_timer -lboost_system -lboost_filesystem -lboost_chrono +Libs.private: -lstdc++ -lboost_program_options -lboost_timer -lboost_system -lboost_filesystem -lboost_chrono Cflags: -I${includedir}
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
.