From 579ad4c8f854dff035e4ed4c8147b179c0d36e82 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Thu, 14 Jul 2005 10:26:17 +0000 Subject: Updated to latest upstream version. Added patch to avoid API docs build. (Portage version: 2.0.51.22-r1) --- media-libs/libdvdcss/ChangeLog | 8 ++- media-libs/libdvdcss/Manifest | 2 + media-libs/libdvdcss/files/digest-libdvdcss-1.2.9 | 1 + .../libdvdcss/files/libdvdcss-1.2.9-doc.patch | 21 +++++++ media-libs/libdvdcss/libdvdcss-1.2.9.ebuild | 73 ++++++++++++++++++++++ 5 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 media-libs/libdvdcss/files/digest-libdvdcss-1.2.9 create mode 100644 media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch create mode 100644 media-libs/libdvdcss/libdvdcss-1.2.9.ebuild (limited to 'media-libs/libdvdcss') diff --git a/media-libs/libdvdcss/ChangeLog b/media-libs/libdvdcss/ChangeLog index c12564ad3edb..db7b4fd6551f 100644 --- a/media-libs/libdvdcss/ChangeLog +++ b/media-libs/libdvdcss/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libdvdcss # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/ChangeLog,v 1.40 2005/02/28 21:18:26 kito Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/ChangeLog,v 1.41 2005/07/14 10:26:17 flameeyes Exp $ + +*libdvdcss-1.2.9 (14 Jul 2005) + + 14 Jul 2005; Diego Pettenò + +files/libdvdcss-1.2.9-doc.patch, +libdvdcss-1.2.9.ebuild: + Updated to latest upstream version. Added patch to avoid API docs build. 28 Feb 2005; Kito libdvdcss-1.2.8.ebuild: stable on ppc-macos diff --git a/media-libs/libdvdcss/Manifest b/media-libs/libdvdcss/Manifest index 25b2d5aeddbe..b2d14388dc80 100644 --- a/media-libs/libdvdcss/Manifest +++ b/media-libs/libdvdcss/Manifest @@ -3,6 +3,8 @@ MD5 d22a6a67a2b48f00282b2f9b336555b6 libdvdcss-0.0.3.3.ebuild 711 MD5 2a308ccd7021cbb6b1ce184f2041fd32 libdvdcss-1.1.1-r2.ebuild 1531 MD5 40795873b99c60902a8770053e91a9af libdvdcss-1.2.8.ebuild 1804 MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225 +MD5 949a90e4a4bd5e6414c1c9bf367a4f38 libdvdcss-1.2.9.ebuild 1509 MD5 61b20cbdfc22c9584db760c9fb048ee6 files/digest-libdvdcss-0.0.3.3 73 MD5 f6d88c49ac4ca7391532a9cbcce0b53c files/digest-libdvdcss-1.1.1-r2 67 MD5 da63484d0425ce9588e97520456a0cf1 files/digest-libdvdcss-1.2.8 68 +MD5 84eef00ec2c7e0b2d30c94c4fb19e453 files/digest-libdvdcss-1.2.9 68 diff --git a/media-libs/libdvdcss/files/digest-libdvdcss-1.2.9 b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.9 new file mode 100644 index 000000000000..7e378da8fed6 --- /dev/null +++ b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.9 @@ -0,0 +1 @@ +MD5 553383d898826c285afb2ee453b07868 libdvdcss-1.2.9.tar.bz2 283329 diff --git a/media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch b/media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch new file mode 100644 index 000000000000..509fcdc928ae --- /dev/null +++ b/media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch @@ -0,0 +1,21 @@ +--- libdvdcss-1.2.9/configure.ac 2005-07-11 14:08:21.000000000 +0200 ++++ libdvdcss-1.2.9-doc/configure.ac 2005-07-14 11:26:22.140795184 +0200 +@@ -191,9 +191,16 @@ + dnl + dnl Shall we build documentation? + dnl +-AC_PATH_PROG(DOXYGEN, doxygen, no) ++AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], [Don't build API documentation with Doxygen])) ++ ++if test "x$enable_doc" != "xno"; then ++ AC_PATH_PROG(DOXYGEN, doxygen, no) ++ AC_PATH_PROG(LATEX, latex, no) ++else ++ DOXYGEN="no" ++ LATEX="no" ++fi + AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no") +-AC_PATH_PROG(LATEX, latex, no) + AM_CONDITIONAL(LATEX, test "${LATEX}" != "no") + + AC_OUTPUT([ diff --git a/media-libs/libdvdcss/libdvdcss-1.2.9.ebuild b/media-libs/libdvdcss/libdvdcss-1.2.9.ebuild new file mode 100644 index 000000000000..dce1e5366c00 --- /dev/null +++ b/media-libs/libdvdcss/libdvdcss-1.2.9.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/libdvdcss-1.2.9.ebuild,v 1.1 2005/07/14 10:26:17 flameeyes Exp $ + +inherit eutils + +DESCRIPTION="A portable abstraction library for DVD decryption" +HOMEPAGE="http://developers.videolan.org/libdvdcss/" +SRC_URI="http://www.videolan.org/pub/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="1.2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" +IUSE="doc static" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +pkg_preinst() { + # these could cause problems if they exist from + # earlier builds + for x in libdvdcss.so.0 libdvdcss.so.1 libdvdcss.0.dylib libdvdcss.1.dylib + do + if [ -f /usr/$(get_libdir)/${x} ] || [ -L /usr/$(get_libdir)/${x} ]; then + rm -f /usr/$(get_libdir)/${x} + fi + done +} + +src_unpack() { + unpack ${A} + cd ${S} + + # add configure switches to enable/disable doc building + epatch ${FILESDIR}/${P}-doc.patch + + autoreconf || die "autoreconf failed" + libtoolize --copy --force || die "libtoolize failed" +} + +src_compile() { + # Dont use custom optimiziations, as it gives problems + # on some archs + unset CFLAGS + unset CXXFLAGS + + econf \ + $(use_enable static) \ + $(use_enable doc) \ + --disable-dependency-tracking || die + emake || die +} + +src_install() { + einstall || die + + dodoc AUTHORS ChangeLog INSTALL NEWS README + use doc && dohtml doc/html/* + + ## + ## 0.0.3.* and 1.0.0 compat + ## + + # NOTE: this should be the last code in src_install() !!! + + if [ -L ${D}/usr/$(get_libdir)/libdvdcss.so ]; then + realname=$(readlink ${D}/usr/$(get_libdir)/libdvdcss.so) + + for x in libdvdcss.so.0 libdvdcss.so.1; do + dosym ${realname} /usr/$(get_libdir)/${x} + done + fi +} -- cgit v1.2.3-65-gdbad