From 52c18b9401ed6d8802452b0db718c73124a97814 Mon Sep 17 00:00:00 2001 From: Arcady Genkin Date: Tue, 11 Mar 2003 21:26:13 +0000 Subject: Version bump. --- media-libs/libdvdcss/ChangeLog | 7 ++- media-libs/libdvdcss/files/digest-libdvdcss-1.2.6 | 1 + media-libs/libdvdcss/libdvdcss-1.2.6.ebuild | 70 +++++++++++++++++++++++ 3 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 media-libs/libdvdcss/files/digest-libdvdcss-1.2.6 create mode 100644 media-libs/libdvdcss/libdvdcss-1.2.6.ebuild (limited to 'media-libs/libdvdcss') diff --git a/media-libs/libdvdcss/ChangeLog b/media-libs/libdvdcss/ChangeLog index 96756eccdc09..f0cc4eb8a00f 100644 --- a/media-libs/libdvdcss/ChangeLog +++ b/media-libs/libdvdcss/ChangeLog @@ -1,8 +1,11 @@ # ChangeLog for media-libs/libdvdcss # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/ChangeLog,v 1.15 2003/03/10 22:36:59 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/ChangeLog,v 1.16 2003/03/11 21:26:13 agenkin Exp $ - 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords +*libdvdcss-1.2.6 (11 Mar 2003) + + 11 Mar 2003; Arcady Genkin : + Version bump. *libdvdcss-1.2.5 (01 Feb 2003) diff --git a/media-libs/libdvdcss/files/digest-libdvdcss-1.2.6 b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.6 new file mode 100644 index 000000000000..dfc093315a80 --- /dev/null +++ b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.6 @@ -0,0 +1 @@ +MD5 2d1cbdd26fb60f84edff708f8277159b libdvdcss-1.2.6.tar.gz 267801 diff --git a/media-libs/libdvdcss/libdvdcss-1.2.6.ebuild b/media-libs/libdvdcss/libdvdcss-1.2.6.ebuild new file mode 100644 index 000000000000..81d74bd670d5 --- /dev/null +++ b/media-libs/libdvdcss/libdvdcss-1.2.6.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/libdvdcss-1.2.6.ebuild,v 1.1 2003/03/11 21:26:13 agenkin Exp $ + +IUSE="" + +S="${WORKDIR}/${P}" +DESCRIPTION="A portable abstraction library for DVD decryption" +SRC_URI="http://developers.videolan.org/pub/videolan/libdvdcss/${PV}/${P}.tar.gz" +HOMEPAGE="http://developers.videolan.org/pub/videolan/libdvdcss/" + +SLOT="1.2" +LICENSE="GPL-2" +KEYWORDS="~x86 ~alpha" + +DEPEND="virtual/glibc" + +src_compile() { + + # Dont use custom optimiziations, as it gives problems + # on some archs + unset CFLAGS + unset CXXFLAGS + econf || die + + make || die +} + +src_install() { + + einstall || die + + dodoc AUTHORS COPYING ChangeLog INSTALL README TODO + + ## + ## 0.0.3.* and 1.0.0 compat + ## + + # NOTE: this should be the last code in src_install() !!! + + if [ -L ${D}/usr/lib/libdvdcss.so ] + then + # on some locales the name of the file a symlink points to, is in the + # tenth field, and not the eleventh (bug #2908) + LC_ALL='C' + local realname="$(ls -l ${D}/usr/lib/libdvdcss.so |gawk '{print $11}')" + [ -z "${realname}" ] && \ + realname="$(ls -l ${D}/usr/lib/libdvdcss.so |gawk '{print $10}')" + [ -z "${realname}" ] && return 0 + + for x in libdvdcss.so.0 libdvdcss.so.1 + do + dosym ${realname} /usr/lib/${x} + done + fi +} + +pkg_preinst() { + + # these could cause problems if they exist from + # earlier builds + for x in libdvdcss.so.0 libdvdcss.so.1 + do + if [ -f /usr/lib/${x} ] || [ -L /usr/lib/${x} ] + then + rm -f /usr/lib/${x} + fi + done +} + -- cgit v1.2.3-65-gdbad