summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-05-26 18:08:24 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-05-26 18:08:24 +0000
commit9a8ca28e5616ef705df584ebf4003e57ddeb9700 (patch)
treea4eebeb37c42f3057cf926d3db362d8f6f2257fb
parentfix dups (diff)
downloadhistorical-9a8ca28e5616ef705df584ebf4003e57ddeb9700.tar.gz
historical-9a8ca28e5616ef705df584ebf4003e57ddeb9700.tar.bz2
historical-9a8ca28e5616ef705df584ebf4003e57ddeb9700.zip
new version
-rw-r--r--media-libs/libdvdcss/ChangeLog8
-rw-r--r--media-libs/libdvdcss/files/digest-libdvdcss-1.2.01
-rw-r--r--media-libs/libdvdcss/libdvdcss-1.2.0.ebuild72
3 files changed, 80 insertions, 1 deletions
diff --git a/media-libs/libdvdcss/ChangeLog b/media-libs/libdvdcss/ChangeLog
index 631f6a2c35b2..0989a3ab8c3e 100644
--- a/media-libs/libdvdcss/ChangeLog
+++ b/media-libs/libdvdcss/ChangeLog
@@ -1,6 +1,12 @@
# 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.4 2002/05/23 21:35:34 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/ChangeLog,v 1.5 2002/05/26 18:08:24 azarah Exp $
+
+*libdvdcss-1.2.0 (26 May 2002)
+
+ 26 May 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+ Update to latest version.
*libdvdcss-1.1.1-r2 (23 May 2002)
diff --git a/media-libs/libdvdcss/files/digest-libdvdcss-1.2.0 b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.0
new file mode 100644
index 000000000000..4d36c67e7d91
--- /dev/null
+++ b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.0
@@ -0,0 +1 @@
+MD5 7dc1a6c714363d28c379e13bbf1412f0 libdvdcss-1.2.0.tar.gz 200493
diff --git a/media-libs/libdvdcss/libdvdcss-1.2.0.ebuild b/media-libs/libdvdcss/libdvdcss-1.2.0.ebuild
new file mode 100644
index 000000000000..6bd0733468a6
--- /dev/null
+++ b/media-libs/libdvdcss/libdvdcss-1.2.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Martin Schlemmer <azarah@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/libdvdcss-1.2.0.ebuild,v 1.1 2002/05/26 18:08:24 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="0"
+
+DEPEND="virtual/glibc"
+
+
+src_compile() {
+
+ # Dont use custom optimiziations, as it gives problems
+ # on some archs
+ CFLAGS="" \
+ CXXFLAGS="" \
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info ||die
+
+ make || die
+}
+
+src_install() {
+
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || 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
+}
+