summaryrefslogtreecommitdiff
path: root/media-libs/libass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-05 04:27:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-05 04:27:10 +0100
commitf3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (patch)
treee67f56736e141f27487331c26096c4c0a51979a8 /media-libs/libass
parentfa275aeb316ed5e68498ca0057b27a1e9c887e26 (diff)
gentoo auto-resync : 05:10:2024 - 04:27:09
Diffstat (limited to 'media-libs/libass')
-rw-r--r--media-libs/libass/Manifest3
-rw-r--r--media-libs/libass/libass-0.17.1-r1.ebuild51
-rw-r--r--media-libs/libass/metadata.xml3
3 files changed, 56 insertions, 1 deletions
diff --git a/media-libs/libass/Manifest b/media-libs/libass/Manifest
index 6ee5c2c908d9..e75b929bf90a 100644
--- a/media-libs/libass/Manifest
+++ b/media-libs/libass/Manifest
@@ -1,4 +1,5 @@
DIST libass-0.17.1.tar.xz 403160 BLAKE2B b191e8910ddb3e41fb9df79b27517a127c0da2ad74c0a81920bc2cf8843ab18b02a60738024fa8d3594b91bd26ec6ea7f87e17ca5e07825a6017dd29d2b72b32 SHA512 437b4b60db2626e48f438b5138ab4dbf2c2ab4c8f0b587a6e554510c6719544ef2235c601ff1e482d020410f9bab95ad1a9b176d19a3bd54880499a576b41f23
DIST libass-0.17.1.tar.xz.asc 228 BLAKE2B 0e70c104438be4409239f435d7872737fde1aba4485816ad0e35f0de743ee303662e66334425d0d511af4974e03443ba6d33ac44f941de9b0da17a56f204edea SHA512 a28c8271b4c5b5756620be9baf81b0262eb71c4f20d1aadb24238d1d0ccba44fdb3b25d788a3f7c9039945431a3d31842a7855660cc28a0a8acc36ff8f0c0298
+EBUILD libass-0.17.1-r1.ebuild 1562 BLAKE2B b85b8f012f1418509f179d3a648ee84b6c7cec60def0fb671d55024f79915119ac4371717a653309193bc845f3c9e501869b07b76b533878fa253c17adcb35e2 SHA512 63a94e8eea431ca7e8eb8a02cd4214fadfca716263de5a2c92263023d473c31d2b8c4356d812a761bada84709c605245bb76708ebb16d359d840024a9006fe03
EBUILD libass-0.17.1.ebuild 1472 BLAKE2B 6c50eb39b4bf41d818fd76463701f3672cd900420803457a936740d10b4ac9cfba6116b79171a4238622e47e7080942602aede0558ad8bc7d6923de0e869c2cb SHA512 c28d93e656d362284b43d3902f3d5bf5c2ae3ca014867d80bf99211d27bfd953f977670432d0283d76a9cbb92cd7d89d06da0d94691b1739d25d24dc7be6c41c
-MISC metadata.xml 310 BLAKE2B 32f2b0eb7f05223e3d092b3d75b7b1095afdac6dc322bd21fc8d32b6089cfccdc46300801e9d7566269fc0fb54780b6c1efff6e41be8de0aa31b26bdc52a44fd SHA512 97c76a4e387bbf43b14bf7799fe889c27e74e8e0b18c2027fc0c365e25ec5186ead530afe6d8e4d6b95440f0cb781d7ebc46e1eae1cc7b2161a199d38bd2a186
+MISC metadata.xml 435 BLAKE2B 28ce115edcd9e3cd8a50a75a83395b4d2d9c7b8c88a7a4f3fba3f6037c7754376fb2736c1a4b61161f7656647f6c1b518e7f31c0da07d7a03647da9908033ae8 SHA512 f7873c6c98fc5e39eec3e7709065b680e313a54ab3e1570499371ede7e1c80aa433e509b63dd68ddcaadd6dc9ef5d8e95be01e53fd92edb6665ba63f3a817cad
diff --git a/media-libs/libass/libass-0.17.1-r1.ebuild b/media-libs/libass/libass-0.17.1-r1.ebuild
new file mode 100644
index 000000000000..ea718aecd975
--- /dev/null
+++ b/media-libs/libass/libass-0.17.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~amd64-linux ~x86-linux ~ppc-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 )
+"
+
+DOCS=( Changelog )
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable fontconfig) \
+ $(use_enable libunibreak) \
+ $(use_enable test) \
+ --disable-require-system-font-provider
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ find "${ED}" -name '*.la' -type f -delete || die
+}
diff --git a/media-libs/libass/metadata.xml b/media-libs/libass/metadata.xml
index 589ec7043bf8..62a5b8661a6a 100644
--- a/media-libs/libass/metadata.xml
+++ b/media-libs/libass/metadata.xml
@@ -4,6 +4,9 @@
<maintainer type="project">
<email>media-video@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="libunibreak">Use <pkg>dev-libs/libunibreak</pkg> for Unicode line breaking algorithm</flag>
+ </use>
<upstream>
<remote-id type="github">libass/libass</remote-id>
</upstream>