summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-10-16 08:15:48 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-10-16 08:15:48 +0000
commita994f2efea4df540cfbcbd3afeac38d2fefa76a6 (patch)
treef5142f3553879ad2ff8091e01965049111c650bc /media-libs
parentslotification notice (diff)
downloadgentoo-2-a994f2efea4df540cfbcbd3afeac38d2fefa76a6.tar.gz
gentoo-2-a994f2efea4df540cfbcbd3afeac38d2fefa76a6.tar.bz2
gentoo-2-a994f2efea4df540cfbcbd3afeac38d2fefa76a6.zip
new version
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libdvdcss/ChangeLog7
-rw-r--r--media-libs/libdvdcss/files/digest-libdvdcss-1.2.31
-rw-r--r--media-libs/libdvdcss/libdvdcss-1.2.3.ebuild68
3 files changed, 75 insertions, 1 deletions
diff --git a/media-libs/libdvdcss/ChangeLog b/media-libs/libdvdcss/ChangeLog
index 78535619937d..61fbd98feb7e 100644
--- a/media-libs/libdvdcss/ChangeLog
+++ b/media-libs/libdvdcss/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libdvdcss
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/ChangeLog,v 1.8 2002/08/13 04:01:39 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/ChangeLog,v 1.9 2002/10/16 08:15:48 azarah Exp $
+
+*libdvdcss-1.2.3 (16 Oct 2002)
+
+ 16 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
+ Update version.
*libdvdcss-1.2.2 (11 Aug 2002)
diff --git a/media-libs/libdvdcss/files/digest-libdvdcss-1.2.3 b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.3
new file mode 100644
index 000000000000..46bde058346f
--- /dev/null
+++ b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.3
@@ -0,0 +1 @@
+MD5 667bde93484c9efe8c6c0d8d37edfda0 libdvdcss-1.2.3.tar.gz 255049
diff --git a/media-libs/libdvdcss/libdvdcss-1.2.3.ebuild b/media-libs/libdvdcss/libdvdcss-1.2.3.ebuild
new file mode 100644
index 000000000000..15784c998f86
--- /dev/null
+++ b/media-libs/libdvdcss/libdvdcss-1.2.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2002 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.3.ebuild,v 1.1 2002/10/16 08:15:48 azarah Exp $
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="A portable abstraction library for DVD decryption"
+SRC_URI="http://www.videolan.org/pub/videolan/libdvdcss/${PV}/${P}.tar.gz"
+HOMEPAGE="http://www.videolan.org/libdvdcss/"
+
+SLOT="1.2"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc sparc64"
+
+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
+}
+