package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
823 B

6 years ago
package("x265")
set_homepage("http://x265.org")
set_description("A free software library and application for encoding video streams into the H.265/MPEG-H HEVC compression format.")
add_urls("https://bitbucket.org/multicoreware/x265/downloads/x265_$(version).tar.gz")
add_versions("2.9", "ebae687c84a39f54b995417c52a2fdde65a4e2e7ebac5730d251471304b91024")
add_deps("cmake", "nasm")
on_load("linux", "macosx", function (package)
package:add("syslinks", "c++")
end)
6 years ago
on_install("linux", "macosx", function (package)
os.cd("build/linux")
os.vrun("./multilib.sh")
os.cp("8bit/libx265.a", package:installdir("lib"))
os.cp("8bit/x265_config.h", package:installdir("include"))
os.cp("../../source/x265.h", package:installdir("include"))
end)