x265 package provides a library for encoding video streams into the H.265/HEVC format.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://anduin.linuxfromscratch.org/BLFS/x265/x265-20230215.tar.xz
Download MD5 sum: e735837f5e3fa95889e0a72eca39fccf
Download size: 1.0 MB
Estimated disk space required: 52 MB
Estimated build time: 0.9 SBU (using parallelism=4)
Install x265 by running the following commands:
mkdir bld && cd bld && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DGIT_ARCHETYPE=1 \ -Wno-dev ../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.
-Wno-dev
: This switch is used to suppress warnings
intended for the package's developers.
rm -vf /usr/lib/libx265.a
: BLFS does not recommend
using static libraries.