Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -4680,6 +4680,14 @@
"4.0.1-1"
]
},
"x265": {
"dependency_names": [
"x265"
],
"versions": [
"4.1-1"
]
},
"xdelta3": {
"program_names": [
"xdelta3"
Expand Down
28 changes: 28 additions & 0 deletions subprojects/packagefiles/x265/LICENSE.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
BSD 3-Clause License

Copyright (c) 2025 L. E. Segovia (amyspark)

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 changes: 25 additions & 0 deletions subprojects/packagefiles/x265/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
project(
'x265',
'c',
'cpp',
version: '4.1',
meson_version: '>= 1.3.0',

Check failure on line 6 in subprojects/packagefiles/x265/meson.build

View workflow job for this annotation

GitHub Actions / Ubuntu (x86_64)

Minimum Meson version

Could not verify minimum Meson version
license: 'GPL-2.0-or-later',
license_files: 'COPYING',
default_options: ['cpp_std=gnu++14,c++14', 'warning_level=2'],
)

if get_option('optimization') != '3'
message(
'This library expects to be built with -Doptimization=3. If you find any visual artifacts, consider adding this flag.',
)
endif

subdir('source')

x265_dep = declare_dependency(
link_with: x265_lib,
include_directories: include_dirs,
)

meson.override_dependency('x265', x265_dep)
159 changes: 159 additions & 0 deletions subprojects/packagefiles/x265/meson.options
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
option(
'native_build',
type: 'boolean',
value: false,
description: 'Target the build CPU',
)
option(
'10bit',
type: 'boolean',
value: true,
description: 'Build x265 including 10 bit depth support',
)
option(
'hdr10_plus',
type: 'boolean',
value: true,
description: 'Enable dynamic HDR10 compilation',
)
option(
'12bit',
type: 'boolean',
value: true,
description: 'Build x265 including 12 bit depth support',
)
option(
'asm',
type: 'feature',
value: 'auto',
description: 'Enable use of assembly coded primitives',
)

option(
'libnuma',
type: 'feature',
value: 'auto',
description: 'Enable libnuma usage (Linux only)',
)
option(
'no_atomics',
type: 'boolean',
value: false,
description: 'Use a slow mutex to replace atomics',
)
option(
'libvmaf',
type: 'feature',
value: 'disabled',
description: 'Enable VMAF',
)

# Options for manually enabling/disabling AArch64 SIMD extensions.
option(
'aarch64_warnings_as_errors',
type: 'boolean',
description: 'Build with -Werror for AArch64 Intrinsics files',
value: false,
)
option(
'aarch64_runtime_cpu_detect',
type: 'feature',
description: 'Enable AArch64 run-time CPU feature detection',
value: 'auto',
)
option(
'neon',
type: 'feature',
description: 'Enable Neon',
value: 'auto',
)
option(
'neon_dotprod',
type: 'feature',
description: 'Enable Neon DotProd',
value: 'auto',
)
option(
'neon_i8mm',
type: 'feature',
description: 'Enable Neon I8MM',
value: 'auto',
)
option(
'sve',
type: 'feature',
description: 'Enable SVE',
value: 'auto',
)
option(
'sve2',
type: 'feature',
description: 'Enable SVE2',
value: 'auto',
)

option(
'checked_build',
type: 'boolean',
description: 'Enable run-time sanity checks (debugging)',
value: false,
)

option(
'high_bit_depth',
type: 'feature',
description: 'Store pixel samples as 16bit values (Main10/Main12)',
value: 'auto',
)

option(
'altivec',
type: 'boolean',
description: 'Enable ALTIVEC profiling instrumentation',
value: true,
)
option(
'cpu_power8',
type: 'boolean',
description: 'Enable CPU POWER8 profiling instrumentation',
value: true,
)

option(
'detailed_cu_stats',
type: 'boolean',
description: 'Enable internal profiling of encoder work',
value: false,
)
option(
'alpha',
type: 'boolean',
description: 'Enable alpha encoding in x265',
value: false,
)
option(
'multiview',
type: 'boolean',
description: 'Enable Multi-view encoding in HEVC',
value: false,
)
option(
'scc_ext',
type: 'boolean',
description: 'Enable screen content coding extension in HEVC',
value: false,
)

option(
'cli',
type: 'feature',
description: 'Build standalone CLI application',
value: 'auto',
)

option(
'tests',
type: 'feature',
description: 'Enable Unit Tests',
value: 'auto',
)
Loading
Loading