summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-05 18:56:04 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-05 18:56:04 +0000
commita4bffa9bc08b908b242055f4c17c5b7d367ce5be (patch)
tree0c56566941b52481c94ff7b5e03af5ca27f2c74b /media-libs/libass
parentremove unused media-tv/mythtv use flags (diff)
downloadhistorical-a4bffa9bc08b908b242055f4c17c5b7d367ce5be.tar.gz
historical-a4bffa9bc08b908b242055f4c17c5b7d367ce5be.tar.bz2
historical-a4bffa9bc08b908b242055f4c17c5b7d367ce5be.zip
Initial import, ebuild by Juan Aguado <juantxorena@gmail.com>, bug #213559
Package-Manager: portage-2.2_rc6/cvs/Linux 2.6.25.7 x86_64
Diffstat (limited to 'media-libs/libass')
-rw-r--r--media-libs/libass/ChangeLog10
-rw-r--r--media-libs/libass/Manifest15
-rw-r--r--media-libs/libass/files/libass-0.9.5_automagic.patch36
-rw-r--r--media-libs/libass/libass-0.9.5.ebuild43
-rw-r--r--media-libs/libass/metadata.xml11
5 files changed, 115 insertions, 0 deletions
diff --git a/media-libs/libass/ChangeLog b/media-libs/libass/ChangeLog
new file mode 100644
index 000000000000..818138ada9af
--- /dev/null
+++ b/media-libs/libass/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/libass
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libass/ChangeLog,v 1.1 2008/08/05 18:56:03 aballier Exp $
+
+*libass-0.9.5 (05 Aug 2008)
+
+ 05 Aug 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/libass-0.9.5_automagic.patch, +metadata.xml, +libass-0.9.5.ebuild:
+ Initial import, ebuild by Juan Aguado <juantxorena@gmail.com>, bug #213559
+
diff --git a/media-libs/libass/Manifest b/media-libs/libass/Manifest
new file mode 100644
index 000000000000..f4fdacf7ec62
--- /dev/null
+++ b/media-libs/libass/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX libass-0.9.5_automagic.patch 1556 RMD160 7e6c3ff6c102a7ac1d291968fc7022b932c059f2 SHA1 3f13efd1839397ebc851555b5225796ffdd5cf16 SHA256 a7aec8d558c9f75a8b0957079a521ca41b9b1d94efd73f90846d236c2bf4a46b
+DIST libass-0.9.5.tar.bz2 275168 RMD160 923b8b48a0d7762801594f3eae7b8709716e3c38 SHA1 9f519180e5548fd7e4e7dbcc8bd0b067bc7bf7e0 SHA256 3b9459ec9b5e07e0a2e0ca041141232587cce16e20f6af7c6d8a33f5971b6098
+EBUILD libass-0.9.5.ebuild 984 RMD160 ea6a0ee2a8ee95d59ed50fdc63d26e615d1efec0 SHA1 6eba80845680757b023e70d3b2ca50780baaa595 SHA256 f2b7756b95ba562c8329774c380f78ca3adffb286e0915f2ebbdb06d3c2ba1e8
+MISC ChangeLog 444 RMD160 66bc541071d3c7af54046d7f1965160ad6235378 SHA1 85d940f3e6953885aaf2ab8a77dd11d28f093cb6 SHA256 37fdc76e63139125e608e789151092fc136b520de7f37be4b65d65d598940702
+MISC metadata.xml 318 RMD160 04fbbbc2659e57cca01100801950aab20582f96f SHA1 e15ee10875cdaf0253ee9c11e8b1173a62fb0685 SHA256 3969751760d92f50b10c0e6379a34103d92d9e04baba5530d2f64093771b5717
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkiYok4ACgkQvFcC4BYPU0qfnwCfUp+ZHI1LeuNOMLYMh8HczwUX
+D7AAn18tBVZc80Ut8hUsBhxcsGwMLEw1
+=qFj8
+-----END PGP SIGNATURE-----
diff --git a/media-libs/libass/files/libass-0.9.5_automagic.patch b/media-libs/libass/files/libass-0.9.5_automagic.patch
new file mode 100644
index 000000000000..3bfd9419ea20
--- /dev/null
+++ b/media-libs/libass/files/libass-0.9.5_automagic.patch
@@ -0,0 +1,36 @@
+--- libass-0.9.4/configure.ac.orig 2008-03-16 09:23:39.000000000 +0100
++++ libass-0.9.4/configure.ac 2008-03-16 10:42:17.000000000 +0100
+@@ -11,13 +11,29 @@
+ AC_PROG_CPP
+
+ # Checks for libraries.
+-AC_CHECK_LIB([png], [png_create_write_struct], AC_DEFINE(HAVE_LIBPNG, 1, [use libpng]))
+-AC_SEARCH_LIBS([iconv_open], [iconv], AC_DEFINE(USE_ICONV, 1, [use iconv]))
+-AC_CHECK_LIB([enca], [enca_analyser_alloc], [AC_DEFINE(HAVE_ENCA, 1, [use enca]) LIBS="$LIBS -lenca"])
++
++
++
++AC_ARG_WITH([png], AS_HELP_STRING([--without-png], [Build without png library (default: test)]))
++if test "x$with_png" != "xno"; then
++ AC_CHECK_LIB([png], [png_create_write_struct], AC_DEFINE(HAVE_LIBPNG, 1, [use libpng]))
++fi
++
++AC_ARG_WITH([iconv], AS_HELP_STRING([--without-iconv], [Build without iconv library (default: test)]))
++if test "x$with_iconv" != "xno"; then
++ AC_SEARCH_LIBS([iconv_open], [iconv], AC_DEFINE(USE_ICONV, 1, [use iconv]))
++ AC_CHECK_HEADER([iconv.h])
++fi
++
++AC_ARG_WITH([enca], AS_HELP_STRING([--without-enca], [Build without enca library (default: test)]))
++if test "x$with_enca" != "xno"; then
++ AC_CHECK_LIB([enca], [enca_analyser_alloc], [AC_DEFINE(HAVE_ENCA, 1, [use enca]) LIBS="$LIBS -lenca"])
++ AC_CHECK_HEADER([enca.h])
++fi
+
+ # Checks for header files.
+ AC_HEADER_STDC
+-AC_CHECK_HEADERS([inttypes.h stdint.h stdlib.h string.h sys/time.h unistd.h iconv.h enca.h])
++AC_CHECK_HEADERS([inttypes.h stdint.h stdlib.h string.h sys/time.h unistd.h])
+
+ PKG_CHECK_MODULES([FONTCONFIG], fontconfig >= 2.2.0, [
+ CFLAGS="$CFLAGS $FONTCONFIG_CFLAGS"
diff --git a/media-libs/libass/libass-0.9.5.ebuild b/media-libs/libass/libass-0.9.5.ebuild
new file mode 100644
index 000000000000..97be3b71b987
--- /dev/null
+++ b/media-libs/libass/libass-0.9.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libass/libass-0.9.5.ebuild,v 1.1 2008/08/05 18:56:03 aballier Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="Library for SSA/ASS subtitles rendering"
+HOMEPAGE="http://sourceforge.net/projects/libass/"
+SRC_URI="mirror://sourceforge/libass/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="enca iconv png"
+
+RDEPEND=">=media-libs/fontconfig-2.2.0
+ >=media-libs/freetype-2.1.10
+ png? ( >=media-libs/libpng-1.2.15 )
+ iconv? ( virtual/libiconv )
+ enca? ( app-i18n/enca )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}_automagic.patch"
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_with enca) \
+ $(use_with iconv) \
+ $(use_with png)
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc Changelog
+}
diff --git a/media-libs/libass/metadata.xml b/media-libs/libass/metadata.xml
new file mode 100644
index 000000000000..7c9f56e2c90e
--- /dev/null
+++ b/media-libs/libass/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+</use>
+</pkgmetadata>