summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libass/Manifest1
-rw-r--r--media-libs/libass/libass-0.13.5.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/media-libs/libass/Manifest b/media-libs/libass/Manifest
index eab494405016..b84f445a91fc 100644
--- a/media-libs/libass/Manifest
+++ b/media-libs/libass/Manifest
@@ -5,3 +5,4 @@ DIST libass-0.13.1.tar.xz 318840 SHA256 4aa36b1876a61cab46fc9284fee84224b9e2840f
DIST libass-0.13.2.tar.xz 348444 SHA256 d698d0a6adca7c36c5a86b540d67b05bfd36cebc3c351ab7646497c43fe1face SHA512 71d495c02ea478b8632c177cef8605d23377e2da2c56dd3a1fa59f9a2d01cc642d4d9dc383083ef1dee8ccf2a6e6f25a4ad9bb7dff3618e7646161731b7312c7 WHIRLPOOL 0c5517fc0cae9ae775300b9c03eb1f141b607b6e43413e56f2dc5de490f5cbe57fd9acc2caa9b6dc5505d7c7b2aec0ae4426fbe2e75010e0c9ffaf2f7a0f7fed
DIST libass-0.13.3.tar.xz 351012 SHA256 a641b653d7c9f2f3b9d6a5e5a906a004ac3e110487ad485d9dd029e944bb3f6d SHA512 a6c9ba5579e3dbd6da21866c533e32ebdeb53dbafd5850a85b514927f3a89cec1c19da247616b76950a753ba091c49a7bf8069b9112fe4ca3411573d0a3430b3 WHIRLPOOL b8116d3ffce9c3713b6b8ab5286b35e1afd704c40bab78e60d46c2ddf9910ce21c51046b3738d3901f97a234b60360929d6959b159e29fd2cf0da7995cebf7ca
DIST libass-0.13.4.tar.xz 350840 SHA256 d84a2fc89011b99d87fc47af91906622707c165d1860e9f774825ebbbc9c9fb6 SHA512 a46712069684755193df423753216bb4584e561ebec2202f059d8a206616d936b74b401cc53e62040f06c42b4840033003deac39d1b4bae7655b465fcab24f9d WHIRLPOOL 7727e21724c884ea71a4c03cd554ac0fa6a26bbd37c0eeee9e146b7b80ae7a757e8e3fe6075cc68879dd71ce196116daa49741e91a859867c9c44cbcca48c3c0
+DIST libass-0.13.5.tar.xz 350196 SHA256 9387a2421b6e6a132c7d473de594b9f0367aa85af64aa103b66f0861431b1596 SHA512 4fc0965dc930c7e74fd2938080dd10d74ee2484c2650cd623c80aed5ed0852022c7c3b5b1a17501620af22bcffd0cbdc9ddbd1697f23213e7b5f431699d1e23f WHIRLPOOL a4b3747601781b27b012fa23943663e29c699d26f2e71c5a8707f23f7a1bb64ca58af64c3af3e32989f0894f940e2bd2214b0137901e0efcb4c7dba939fbb1fb
diff --git a/media-libs/libass/libass-0.13.5.ebuild b/media-libs/libass/libass-0.13.5.ebuild
new file mode 100644
index 000000000000..2414f0c53922
--- /dev/null
+++ b/media-libs/libass/libass-0.13.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils multilib-minimal
+
+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"
+
+LICENSE="ISC"
+SLOT="0/5" # subslot = libass soname version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="+fontconfig +harfbuzz static-libs"
+
+RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
+ >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}]
+ >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+ >=dev-libs/fribidi-0.19.5-r1[${MULTILIB_USEDEP}]
+ harfbuzz? ( >=media-libs/harfbuzz-0.9.12[truetype,${MULTILIB_USEDEP}] )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+X86_CPU_OPTS="abi_x86_32 abi_x86_64"
+for i in ${X86_CPU_OPTS} ; do
+ DEPEND="${DEPEND}
+ ${i}? ( dev-lang/yasm )"
+done
+
+DOCS="Changelog"
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable fontconfig) \
+ $(use_enable harfbuzz) \
+ $(use_enable static-libs static) \
+ --disable-require-system-font-provider
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files
+}