x265 package provides a library for encoding video streams into the H.265/HEVC format.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://anduin.linuxfromscratch.org/BLFS/x265/x265-20220819.tar.xz
Download MD5 sum: d6d470b22dedb72596c459b6204419d2
Download size: 1.0 MB
Estimated disk space required: 56 MB
Estimated build time: 1.4 SBU (using parallelism=4)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/x265
Install x265 by running the following commands:
mkdir bld && cd bld && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DGIT_ARCHETYPE=1 ../source && make
This package does not come with a test suite.
Now, as the root
user:
make install && rm -vf /usr/lib/libx265.a
-DGIT_ARCHETYPE=1: Upstream no longer provides releases. BLFS is using a git snapshot, but if the builder has not installed git the build will not install the shared library or the pkgconfig file without this switch.
rm -vf /usr/lib/libx265.a: BLFS does not recommend using static libraries.