summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-06-27 09:23:54 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-06-27 09:23:54 +0000
commit49d7cf59a70c197f365c171382d17edec6f73e21 (patch)
tree936276bca781b8da9acca3fcd32c2983fbbe8c12 /media-libs/libass
parentStable on alpha, bug #254616 (diff)
downloadgentoo-2-49d7cf59a70c197f365c171382d17edec6f73e21.tar.gz
gentoo-2-49d7cf59a70c197f365c171382d17edec6f73e21.tar.bz2
gentoo-2-49d7cf59a70c197f365c171382d17edec6f73e21.zip
version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libass')
-rw-r--r--media-libs/libass/ChangeLog8
-rw-r--r--media-libs/libass/files/libass-0.9.6_automagic.patch35
-rw-r--r--media-libs/libass/libass-0.9.6.ebuild43
3 files changed, 85 insertions, 1 deletions
diff --git a/media-libs/libass/ChangeLog b/media-libs/libass/ChangeLog
index 4589393f9eba..c60ab3edfe16 100644
--- a/media-libs/libass/ChangeLog
+++ b/media-libs/libass/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libass
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libass/ChangeLog,v 1.12 2009/04/04 18:57:22 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libass/ChangeLog,v 1.13 2009/06/27 09:23:54 aballier Exp $
+
+*libass-0.9.6 (27 Jun 2009)
+
+ 27 Jun 2009; Alexis Ballier <aballier@gentoo.org> +libass-0.9.6.ebuild,
+ +files/libass-0.9.6_automagic.patch:
+ version bump
04 Apr 2009; <solar@gentoo.org> libass-0.9.5.ebuild:
- Keyword ~arm
diff --git a/media-libs/libass/files/libass-0.9.6_automagic.patch b/media-libs/libass/files/libass-0.9.6_automagic.patch
new file mode 100644
index 000000000000..6529b74c1443
--- /dev/null
+++ b/media-libs/libass/files/libass-0.9.6_automagic.patch
@@ -0,0 +1,35 @@
+Index: libass-0.9.6/configure.ac
+===================================================================
+--- libass-0.9.6.orig/configure.ac
++++ libass-0.9.6/configure.ac
+@@ -11,13 +11,26 @@ AC_PROG_CC
+ AC_PROG_CPP
+
+ # Checks for libraries.
+-AC_CHECK_LIB([png], [png_create_write_struct], AC_DEFINE(CONFIG_LIBPNG, 1, [use libpng]))
+-AC_SEARCH_LIBS([iconv_open], [iconv], AC_DEFINE(CONFIG_ICONV, 1, [use iconv]))
+-AC_CHECK_LIB([enca], [enca_analyser_alloc], [AC_DEFINE(CONFIG_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(CONFIG_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(CONFIG_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(CONFIG_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.6.ebuild b/media-libs/libass/libass-0.9.6.ebuild
new file mode 100644
index 000000000000..c9d6875f5cd3
--- /dev/null
+++ b/media-libs/libass/libass-0.9.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libass/libass-0.9.6.ebuild,v 1.1 2009/06/27 09:23:54 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="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+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
+}