Skip to content

Commit

Permalink
Merge pull request #9 from koron393/for-vlc
Browse files Browse the repository at this point in the history
For vlc
  • Loading branch information
tsukumijima authored Apr 13, 2024
2 parents a276d56 + 0b8de61 commit e773ce8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ if(UNIX AND NOT CYGWIN)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/symlink-${ARIBB25_LIB_NAME} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} RENAME arib25)
install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -DLDCONFIG_EXECUTABLE=${LDCONFIG_EXECUTABLE} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/PostInstall.cmake)")

configure_file(aribb25/${ARIBB25_LIB_NAME}.pc.in ${ARIBB25_LIB_NAME}.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${ARIBB25_LIB_NAME}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)

add_custom_target(uninstall ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Uninstall.cmake)

# ---------- install (Windows) ----------
Expand Down
2 changes: 2 additions & 0 deletions aribb25/arib_std_b25.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ typedef struct {

} ARIB_STD_B25;

#define ARIB_STD_B25_TS_PROBING_MIN_DATA (320 * 9 - 1)

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
11 changes: 11 additions & 0 deletions aribb25/aribb25.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=${prefix}/include

Name: @ARIBB25_LIB_NAME@
Description: @ARIBB25_DESCRIPTION@
URL: @ARIBB25_URL@
Version: @ARIBB25_VERSION_STRING@
Libs: -L${libdir} -l@ARIBB25_LIB_NAME@
Cflags: -I${includedir}

0 comments on commit e773ce8

Please sign in to comment.