summaryrefslogtreecommitdiff
path: root/media-libs/libass
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2014-05-03 15:20:15 +0200
committerBertrand Jacquin <beber@meleeweb.net>2014-05-03 16:57:59 +0200
commit441e3fe6121d34744b432a1bd97aa177d1da6286 (patch)
tree228f57a0808dbb8e2d992cb1c318d680a86486a4 /media-libs/libass
parentprofiles/server/scabb: Add i586 and split (diff)
downloadportage-441e3fe6121d34744b432a1bd97aa177d1da6286.tar.xz
media-libs/libass: Fix building for x32, bug #509460
Package-Manager: portage-2.2.10
Diffstat (limited to 'media-libs/libass')
-rw-r--r--media-libs/libass/ChangeLog5
-rw-r--r--media-libs/libass/Manifest4
-rw-r--r--media-libs/libass/libass-0.11.2.ebuild56
-rw-r--r--media-libs/libass/metadata.xml12
4 files changed, 77 insertions, 0 deletions
diff --git a/media-libs/libass/ChangeLog b/media-libs/libass/ChangeLog
new file mode 100644
index 00000000..cb6609e5
--- /dev/null
+++ b/media-libs/libass/ChangeLog
@@ -0,0 +1,5 @@
+*libass-0.11.2 (03 May 2014)
+
+ 03 May 2014; Bertrand Jacquin <beber@meleeweb.net>
+ +files/11.2-MEDIUM-Handle-x32-ABI.patch, +libass-0.11.2.ebuild, +metadata.xml:
+ media-libs/libass: Fix building for x32, bug #509460
diff --git a/media-libs/libass/Manifest b/media-libs/libass/Manifest
new file mode 100644
index 00000000..b9467330
--- /dev/null
+++ b/media-libs/libass/Manifest
@@ -0,0 +1,4 @@
+DIST libass-0.11.2.tar.xz 297172 SHA256 499dbaf14d7743e5899c9ca918988e81a9894f674b22d4682922f2e5d095ff9e WHIRLPOOL 9c0e0b869efc815e9ecd0e0dfa0488b9643404bd8fc33fe4be2cbf7c026989b27ee7eeb6d8f11218d903881629d864b52bdb0f3a7433325f03b0a6c5a21d1d23
+EBUILD libass-0.11.2.ebuild 1653 SHA256 6467b38deccd83d7dec2c9c1e4a2f0e53af7f6c5a5a900472b23089128f52846 WHIRLPOOL 4be33c8ceee158c71ac40f4dfe6b4264bfe2d3e647c57d44c62414735f7a35d90604c12d945e9f6ed1fb76989931c94515e54ec6dbcfbbf350681eb9714c1b46
+MISC ChangeLog 219 SHA256 68389cb4deda0a44d1e1c1687eb6b3623740ccabf027d04536b618c898c87a50 WHIRLPOOL c69a1ffa29d80572b4872b07dcd010881ec897a7d4402a47d085b1da4b0f882634f9c2f62aab975a9de37f5e8f726081441669158928b57382a09240447f0042
+MISC metadata.xml 409 SHA256 1c11ee8622d14f7e37288db8b5ebaf9e5aaa1d8bcaf850cdcad5883bfa99edf5 WHIRLPOOL 66701d01ca2029e0155b741fba4f82467d078404cb1eaf0a74b5e496f508d06dae123c7befb8f2837601286a6b68caf5acc1f9aeda5381d40f113cc9a02bc2e8
diff --git a/media-libs/libass/libass-0.11.2.ebuild b/media-libs/libass/libass-0.11.2.ebuild
new file mode 100644
index 00000000..f1b94e00
--- /dev/null
+++ b/media-libs/libass/libass-0.11.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libass/libass-0.11.2.ebuild,v 1.1 2014/04/30 04:54:02 radhermit Exp $
+
+EAPI=5
+inherit eutils multilib-minimal
+
+DESCRIPTION="Library for SSA/ASS subtitles rendering"
+HOMEPAGE="http://github.com/libass/libass"
+SRC_URI="http://github.com/libass/libass/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="ISC"
+SLOT="0/5" # subslot = libass soname version
+KEYWORDS="~alpha ~amd64 ~arm ~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="+enca +fontconfig +harfbuzz static-libs"
+
+RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.4.2[${MULTILIB_USEDEP}] )
+ >=media-libs/freetype-2.4:2[${MULTILIB_USEDEP}]
+ virtual/libiconv[${MULTILIB_USEDEP}]
+ >=dev-libs/fribidi-0.19.0[${MULTILIB_USEDEP}]
+ harfbuzz? ( >=media-libs/harfbuzz-0.9.11[truetype,${MULTILIB_USEDEP}] )
+ enca? ( app-i18n/enca[${MULTILIB_USEDEP}] )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+ASM_MULTILIB_ABIS="x86 amd64"
+ASM_MULTILIB_IUSE_ABIS="abi_x86_32 abi_x86_64"
+for i in ${ASM_MULTILIB_IUSE_ABIS} ; do
+ DEPEND="${DEPEND}
+ ${i}? ( dev-lang/yasm )"
+done
+
+DOCS="Changelog"
+
+multilib_src_configure() {
+ local myconf
+
+ if has ${ABI} ${ASM_MULTILIB_ABIS} ; then
+ myconf="--enable-asm"
+ else
+ myconf="--disable-asm"
+ fi
+
+ ECONF_SOURCE="${S}" econf \
+ ${myconf} \
+ $(use_enable enca) \
+ $(use_enable fontconfig) \
+ $(use_enable harfbuzz) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files
+}
diff --git a/media-libs/libass/metadata.xml b/media-libs/libass/metadata.xml
new file mode 100644
index 00000000..235d662c
--- /dev/null
+++ b/media-libs/libass/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+ <email>media-video@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='enca'>Enables support for charset discovery and conversion.</flag>
+ <flag name='harfbuzz'>Enables OpenType shaping via <pkg>media-libs/harfbuzz</pkg>.</flag>
+</use>
+</pkgmetadata>