media-libs/libass: add 0.17.5

This includes two security fixes for
  - CVE-2026-61627 / GHSA-pjjp-65r7-ppgm
  - CVE-2026-61626 / GHSA-5gf7-wjfm-vmvm

Bug: https://bugs.gentoo.org/982219
Signed-off-by: Oneric <oneric@oneric.stub>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1814
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Oneric
2026-09-07 00:00:00 +00:00
committed by Sam James
parent 02ef594b63
commit 6b3fe0196d
2 changed files with 60 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST libass-0.17.1.tar.xz 403160 BLAKE2B b191e8910ddb3e41fb9df79b27517a127c0da2a
DIST libass-0.17.1.tar.xz.asc 228 BLAKE2B 0e70c104438be4409239f435d7872737fde1aba4485816ad0e35f0de743ee303662e66334425d0d511af4974e03443ba6d33ac44f941de9b0da17a56f204edea SHA512 a28c8271b4c5b5756620be9baf81b0262eb71c4f20d1aadb24238d1d0ccba44fdb3b25d788a3f7c9039945431a3d31842a7855660cc28a0a8acc36ff8f0c0298
DIST libass-0.17.4.tar.xz 452648 BLAKE2B bf9cb990253c912036657c9a2e64a7b6fc51bc8bd1729fe00ac8556eafb8bb872b4665575ee654a3910ee528d471cd413e55c68c8b4618b979afc23b04c12069 SHA512 0dd9a869644a7898531c9cb40a05e41fe6a7a9105e95f723af3a9801f7b98d34970e296247894256c8bac1d01c9e2a8113dd4e3d485fdcca70343931e6e40dd0
DIST libass-0.17.4.tar.xz.asc 858 BLAKE2B b7d637f1742961c22db689f4c22d369a14480d0c60a527001a4701c98752ae362f92be6e19efe7bbd7e5ce505825ff9e804af3238288e28eec3eae7bf7a99445 SHA512 245e5f3896bcd7cbf8ea9f98fd9979b4af8c8ccc2835075593c1c5970fb6fb01311233056c7ff2caee54acf372e01d85e4dfb7feecef2211c8b39016b86472fd
DIST libass-0.17.5.tar.xz 460148 BLAKE2B e5c20d841c91f36f77c208a1c70b601aa39c579f3fd461c75db7f36c35bbcca0c84db6563520bc6e4214d51bc5d8fff93460db282d71de920ec0b94d3ae72386 SHA512 b9e06023e9f5760ba1946f8dbcd8c411908bc6c77030099098f8252edabd31c98a6523cffb7cccf7b62e12bb374d136600a98e29a7916ccc218100ff694bfb7c
DIST libass-0.17.5.tar.xz.asc 931 BLAKE2B d5aec8d196df7876adb60ad7a4fd396fc40659d282667fdf7f9217accf236394fdfe9fa000d71c773abb68a03fa5cca590e23adb35abf370df8c8f5f193c6a25 SHA512 501662c8181503c67fafa0f3d153d8ba4d86edeb569d33b010b200e274f3b8de51ea35c27a3da10cb8fcfb3eea0152251aee8850220a681bf8a0a87f3fdaefcd

View File

@@ -0,0 +1,58 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# meson support exists but README suggests not using it for packaging yet
# https://github.com/libass/libass/blob/master/README.md#building
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libass.asc
inherit multilib-minimal verify-sig
DESCRIPTION="Library for SSA/ASS subtitles rendering"
HOMEPAGE="https://github.com/libass/libass"
SRC_URI="https://github.com/libass/libass/releases/download/${PV}/${P}.tar.xz"
SRC_URI+=" verify-sig? ( https://github.com/libass/libass/releases/download/${PV}/${P}.tar.xz.asc )"
LICENSE="ISC"
SLOT="0/9" # subslot = libass soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos"
IUSE="+fontconfig libunibreak test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/fribidi-0.19.5-r1[${MULTILIB_USEDEP}]
>=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}]
>=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
>=media-libs/harfbuzz-1.2.3:=[truetype,${MULTILIB_USEDEP}]
fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
libunibreak? ( dev-libs/libunibreak:= )
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
amd64? ( dev-lang/nasm )
x86? ( dev-lang/nasm )
test? ( media-libs/libpng[${MULTILIB_USEDEP}] )
verify-sig? ( >=sec-keys/openpgp-keys-libass-20250608 )
"
DOCS=( Changelog )
multilib_src_configure() {
local myeconfargs=(
$(use_enable fontconfig)
$(multilib_native_use_enable libunibreak)
$(use_enable test)
--disable-require-system-font-provider
# https://github.com/libass/libass/blob/bbb3c7f1570a4a021e52683f3fbdf74fe492ae84/Changelog#L111
--with-pic
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_install_all() {
einstalldocs
find "${ED}" -name '*.la' -type f -delete || die
}