22 Commits
Author SHA1 Message Date
Daniel Golle 775c87e364 libx264: update to git HEAD of 2025-09-10
Changes since 2024-05-13:
 c24e06c2 configure: Check for SVE support in MS armasm64 via as_check
 3a8b5be2 aarch64: Use elf_aux_info() for CPU feature detection on FreeBSD/OpenBSD
 1243d9ff Provide x264_getauxval() wrapper for getauxvaul() and elf_aux_info()
 80c1c47c configure: Add DragonFly support
 3a21e97b Fix build with Android NDK and API < 24 for 32-bit targets
 b1d2de88 Use getauxval() on Linux and elf_aux_info() on FreeBSD/OpenBSD on arm/ppc
 da14df55 Make use of sysconf(3) _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF
 023112c6 aarch64: defines involving bit shifts should be unsigned
 938601b9 Use sysctlbyname(3) hw.logicalcpu on macOS
 a64111b1 Enable use of __sync_fetch_and_add() wherever detected instead of just X86
 450946f9 ci: Test compiling for Android
 52f7694d Use sched_getaffinity on Android
 373697b4 Bump dates to 2025
 c80f8a28 msvsdepend: Allow using the script for .S sources too
 27d83708 Makefile: Generate dependency information implicitly while compiling
 a0191bd8 configure: Use as_check for checking for aarch64 features
 72ce1cde configure: Use as_check for the main check for whether NEON is supported
 f87ca183 configure: Check for .arch and .arch_extension for enabling aarch64 extensions
 87044b21 aarch64: Use configure detected directives for enabling SVE/SVE2
 fc4012fb configure: Check for the dotprod and i8mm aarch64 extensions
 0e48d072 aarch64: Add flags for runtime detection of dotprod and i8mm
 570f6c70 aarch64: Add runtime detection of extensions on Windows and macOS
 fe9e4a7f Provide implementations for functions using the instructions SDOT/UDOT in the DotProd Armv8 extension.
 32c3b801 lavf: Update the code to work with the latest libavutil API
 4360ac37 ci: Fix ffmpeg build
 40617ddb ci: Remove vlc-contrib dependency
 85b5ccea Update gas-preprocessor.pl to the latest upstream version
 ff620d0c configure: Use MSYSTEM_CARCH for default arch on msys2
 714e07b4 arm: Don't test x264_cpu_fast_neon_mrc_test on Windows
 291476d7 windows: Fix named pipes detection
 b35605ac i8mm & neon hpel_filter optimization
 0480cb05 riscv64: add compile support

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-28 11:20:22 +02:00
Rosen Penev 194bf80ab0 libx264: update to latest master
Use PKG_SORUCE_DATE for apk compatibility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-08-16 15:51:20 -07:00
Robert Marko 9f78055f94 treewide: refresh missed hashes after move to use ZSTD as default
This is a follow-up on the previous treewide refresh of hashes after move
to ZSTD by default for compressing tarballs, as it seems that somehow
CHECK_ALL missed couple of packages.

Fixes: 272f55e87f ("treewide: refresh hashes after move to use ZSTD as default")
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-08 09:30:35 +02:00
krant 0bdec78a8b libx264: update to 2024-01-13 revision
- Fix CPU type detection to enable asm on ARM
- Refresh patches

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-10 14:57:48 -08:00
Bernd Kuhls c9ad594cca libx264: enable parallel build
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
2021-03-14 12:36:32 +01:00
Josef Schlehofer af52f1e439 x264: update to commit from 2020-10-26
Snapshots were discontinued according to
https://downloads.videolan.org/x264/snapshots/x264-snapshot-20191218-README.txt
and users should use source code.

While at it, fix SPDX License Identifier to correct one.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-12-25 10:00:48 +01:00
Josef Schlehofer faac2352e2 x264: add CONFIGURE_VARS and MAKE_FLAGS when NASM is not selected
- Remove dot in TITLE
- Use HTTPS in URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-03-14 03:32:00 +01:00
Daniel Engberg 45c8dcab79 libs/libx264: Update to 20190324 and rework Makefile
* Update (lib)x264 to 20190324
* Stop using GNU Autotools and use libx264's own
  configuration facility
* Drop hardcoded CFLAGS, x264 will handle those fine on its own
  This will override toolchain optimizaion and set -O3
  irregardless of setting.
* Rework LTO and ASM optmization selection to make it more
  compact and readable. This drops optimization for x86 32-bit
  which is being deprecated in favour of x86_64 in general and
  the very few systems still in use that doesn't support 64-bit
  are too slow to be usable anyway.
* Import patches to fix compilation on ARM and x86 (32-bit)
  from OpenEmbedded
* Minor style fixes to Makefile

Source: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-multimedia/x264/x264

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-05-06 09:05:22 +00:00
Daniel Engberg e6599366e5 libs/libx264: Update to snapshot 20181006
Update libx264 to snapshot 20181006
Add 464fp to ASM blacklist (doesn't support AltiVec instructions)
Enable LTO by default for platforms that uses ASM
Remove a few whitespaces (cosmetic)

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-10-09 07:58:37 +02:00
Ted Hess 75f0499469 ffmpeg/libx264: Replacing YASM with NASM and fixing ffmpeg/x264 module dependency
Both libraries on X86 platforms require NASM instead of YASM going forward.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-06-28 19:54:09 -04:00
Daniel Engberg b386c497e1 libs/libx264: Update to snapshot 20180401
Update libx264 to snapshot 20180401
Scrub any previous set -O flags, cosmetic change.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-04-14 09:35:35 +02:00
Daniel Engberg 4faeef52ea libs/libx264: Update to snapshot 20170623
Update libx264 to snapshot 20170623

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-06-24 13:46:18 +02:00
Florian Fainelli 39b2c6f2f5 libx264: Blacklist all MIPS CPUs for assembly optimizations
None of the CPUs supported in OpenWrt/LEDE are MSA capable (requires
MIPS32r5/r6 for that) which would lead to this error during configure:

You specified a pre-MSA CPU in your CFLAGS.
If you really want to run on such a CPU, configure with --disable-asm.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-01 17:52:34 -07:00
Ted Hess a41be403e6 libx264: Add AMD Geode and i486 to ASM blacklist, fix CPU type test
Signed-off-by: Ted Hess <thess@kitschensync.net>
2016-12-08 15:21:57 -05:00
Daniel Golle 4c58f29d4d libx264: more build fixes
Introduce blacklist for CPU_TYPEs without ASM support in libx264
Add libpthread dependency required on non-musl builds

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-10-01 05:34:08 +02:00
Ted Hess 6131f24861 libx264: Re-enable powerpc (SOFT_FLOAT builds OK)
Signed-off-by: Ted Hess <thess@kitschensync.net>
2016-09-30 13:02:37 -04:00
Daniel Golle 71160d214a libx264: mark as broken on powerpc
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-23 00:45:36 +02:00
Daniel Golle ab010288da libx264: fix build on soft-float targets
--disable-asm isn't enough to disable building assembly code on ARM.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-23 00:31:23 +02:00
Daniel Golle 58a4ee2c79 libx264: allow building with yasm
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-03 14:49:57 +02:00
Ted Hess f628fa9f83 libx264: Fix build errors on x86 targets due to missing ASM features (yasm)
minor cleanup of CFLAGS, remove COPTS warnings
	yasm needs to be added to x86 toolchain
	(LEDE updated: https://github.com/lede-project/source/commit/c08651226f5645204f91f79d247801033f6015d1)

Signed-off-by: Daniel Golle daniel@makrotopia.org
Signed-off-by: Ted Hess <thess@kitschensync.net>
2016-08-19 17:48:33 -04:00
Adrian Panella 118a0c8510 libx264: update version
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
2016-08-15 22:42:36 -05:00
Adrian Panella 71a4f450bb libx264: create package
libx264: create package

Signed-off-by: Adrian Panella <ianchi74@outlook.com>

add BUILD_PATENTED
2016-04-28 21:49:21 -05:00