[vlc-commits] contrib: x265 0.7

Rafaël Carré git at videolan.org
Sat Feb 1 17:02:12 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Feb  1 17:01:22 2014 +0100| [7fd9d4d45a9b56179d1ed963ec9d17394ba82340] | committer: Rafaël Carré

contrib: x265 0.7

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fd9d4d45a9b56179d1ed963ec9d17394ba82340
---

 contrib/src/x265/SHA512SUMS        |    2 +-
 contrib/src/x265/rules.mak         |    3 +--
 contrib/src/x265/static-only.patch |   31 -------------------------------
 3 files changed, 2 insertions(+), 34 deletions(-)

diff --git a/contrib/src/x265/SHA512SUMS b/contrib/src/x265/SHA512SUMS
index 9fe0c12..37cc0f3 100644
--- a/contrib/src/x265/SHA512SUMS
+++ b/contrib/src/x265/SHA512SUMS
@@ -1 +1 @@
-dd58b502d01594d3a7036ff91bfe9bde93914deec91051f15bba4b805cd5f5261ecb58c70b4795f0b83148bd99faf22d4a1cdadd76e25b50aad9668043e894e6  x265-0.6.tar.bz2
+3cabcbe1c2537c9ab83316776a1a7d98aeac3b4f8751422486367f1905b2e96c3755f7f051b9066e4eb5aa6ab0ce1ba6d8807f79df2ed51c6c2b509bac1e888b  x265-0.7.tar.bz2
diff --git a/contrib/src/x265/rules.mak b/contrib/src/x265/rules.mak
index ade71d8..0523b21 100644
--- a/contrib/src/x265/rules.mak
+++ b/contrib/src/x265/rules.mak
@@ -1,7 +1,7 @@
 # x265
 
 #X265_GITURL := https://github.com/videolan/x265
-X265_VERSION := 0.6
+X265_VERSION := 0.7
 X265_SNAPURL := https://bitbucket.org/multicoreware/x265/get/$(X265_VERSION).tar.bz2
 
 ifdef BUILD_ENCODERS
@@ -27,7 +27,6 @@ x265: x265-$(X265_VERSION).tar.bz2 .sum-x265
 	mkdir -p $@-$(X265_VERSION)
 	$(BZCAT) "$<" | (cd $@-$(X265_VERSION) && tar xv --strip-components=1)
 	$(call pkg_static,"source/x265.pc.in")
-	$(APPLY) $(SRC)/x265/static-only.patch
 	$(MOVE)
 
 .x265: x265 toolchain.cmake
diff --git a/contrib/src/x265/static-only.patch b/contrib/src/x265/static-only.patch
deleted file mode 100644
index 4b119e3..0000000
--- a/contrib/src/x265/static-only.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- x265/source/CMakeLists.txt.orig	2014-01-13 22:56:15.441726467 +0100
-+++ x265/source/CMakeLists.txt	2014-01-13 22:56:36.947787400 +0100
-@@ -196,28 +196,15 @@
- endif()
- 
- add_library(x265-static STATIC $<TARGET_OBJECTS:encoder> $<TARGET_OBJECTS:common> ${YASM_OBJS} ${YASM_SRCS})
--add_library(x265-shared SHARED dllmain.cpp "${PROJECT_BINARY_DIR}/x265.def" ${YASM_OBJS}
--                               $<TARGET_OBJECTS:encoder> $<TARGET_OBJECTS:common>)
--target_link_libraries(x265-shared ${PLATFORM_LIBS})
--set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265)
- if(NOT MSVC)
-     set_target_properties(x265-static PROPERTIES OUTPUT_NAME x265)
- endif()
--if(UNIX AND NOT APPLE)
--    set_target_properties(x265-shared PROPERTIES LINK_FLAGS "-Wl,-Bsymbolic")
--endif()
- # WIN32 builds static: x265-static.lib  shared: x265.dll + x265.lib (shim loader)
- # MINGW builds static: libx265-static.a shared: libx265.dll + libx265.dll.a
- # *NIX  builds static: libx265.a        shared: libx265.so
- 
- if(X265_LATEST_TAG)
-     # shared library is not installed if a tag is not found
--    set_target_properties(x265-shared PROPERTIES VERSION ${X265_LATEST_TAG} SOVERSION ${X265_BUILD})
--    install(TARGETS x265-shared
--            RUNTIME DESTINATION bin
--            LIBRARY DESTINATION lib
--            ARCHIVE DESTINATION lib)
--
-     # convert lists of link libraries into -lstdc++ -lm etc..
-     foreach(LIB ${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES} ${PLATFORM_LIBS})
-         set(PRIVATE_LIBS "${PRIVATE_LIBS} -l${LIB}")



More information about the vlc-commits mailing list