Add various packages and patches for build system improvements

- Introduced valgrind with a patch to respect flags and updated its configuration.
- Added Vulkan ICD loader with CMake build configuration.
- Implemented Waf build system with a custom build script and configuration.
- Included Wayland protocols with Meson build system.
- Added xcb-util-keysyms with autotools configuration.
- Introduced Yasm with multiple patches for compatibility and improvements.
- Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
This commit is contained in:
2026-03-22 23:25:50 -05:00
parent a0e45c65d3
commit bf96e50e44
144 changed files with 7131 additions and 45 deletions
@@ -0,0 +1,19 @@
Description: CBR: High quality settings (e.g, -q 0) degrade quality over -q 4
Origin: https://sourceforge.net/p/lame/bugs/516/#a26d
Forwarded: https://sourceforge.net/p/lame/bugs/516/
--- a/libmp3lame/lame.c
+++ b/libmp3lame/lame.c
@@ -1050,6 +1050,11 @@ lame_init_params(lame_global_flags * gfp
if (gfp->quality < 0)
gfp->quality = LAME_DEFAULT_QUALITY;
+ /* VBR and ABR don't give good results with noise shaping
+ * settings used in quality levels below 4.
+ */
+ if (gfp->quality < 4)
+ gfp->quality = 4;
if (cfg->vbr == vbr_off)
(void) lame_set_VBR_mean_bitrate_kbps(gfp, gfp->brate);
+15
View File
@@ -0,0 +1,15 @@
Description: Add missing symbol(s) to library symbol file
Author: Fabian Greffrath <fabian@debian.org>
Forwarded: https://sourceforge.net/p/lame/bugs/515/
--- a/include/libmp3lame.sym
+++ b/include/libmp3lame.sym
@@ -193,6 +193,7 @@ hip_decode_headers
hip_decode1
hip_decode1_headers
hip_decode1_headersB
+hip_finish_pinfo
lame_decode_init
lame_decode
lame_decode_headers
+36
View File
@@ -0,0 +1,36 @@
[build]
type = "autotools"
[build.flags]
configure = [
"--enable-nasm",
"--enable-shared",
"--disable-mp3rtp",
]
[dependencies]
build = ["nasm"]
runtime = [
"glibc",
"ncurses",
]
[package]
description = "high quality MPEG Audio Layer III (MP3) encoder"
homepage = "http://lame.sourceforge.net/"
license = "LGPL-2.0-only"
name = "lame"
version = "3.100"
[[source]]
extract_dir = "$name-$version"
sha256 = "b2:6954d30cfd3951ea07762ba5dd7ff27038b78455f423099a225ebf748abddf9970e444456ca5a6179bd381e2205b32293392cb757c203901674860710fe2c183"
url = "https://sourceforge.net/projects/lame/files/lame/$version/lame-$version.tar.gz"
patches = [ "lame-symbols.patch", "lame-cbr-abr-quality-settings-clamp.patch" ]
post_extract = [
"sed -i -e '/^lame_init_old$/d' -e '/^hip_finish_pinfo$/d' include/libmp3lame.sym"
]
[[manual_sources]]
files = [ "lame-symbols.patch", "lame-cbr-abr-quality-settings-clamp.patch" ]