{ "name": "X265", "description": "H.265/HEVC encoder", "url": "https://bitbucket.org/multicoreware/x265/downloads/x265_3.0.tar.gz", "mirror": null, "homepage": "http://x265.org", "depends": [ { "depend": "cmake", "build-depend": true }, { "depend": "nasm", "build-depend": true } ], "resource": [], "conflicts": [], "patches": [], "install": [ "args = std_cmake_args + %w[", "-DLINKED_10BIT=ON", "-DLINKED_12BIT=ON", "-DEXTRA_LINK_FLAGS=-L.", "-DEXTRA_LIB=x265_main10.a;x265_main12.a", "]", "high_bit_depth_args = std_cmake_args + %w[", "-DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF", "-DENABLE_SHARED=OFF -DENABLE_CLI=OFF", "]", "(buildpath/\"8bit\").mkpath", "mkdir \"10bit\" do", "system \"cmake\", buildpath/\"source\", *high_bit_depth_args", "system \"make\"", "mv \"libx265.a\", buildpath/\"8bit/libx265_main10.a\"" ], "version": "265_3.0", "file": "x265.rb" }