summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-07-11 03:33:19 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-07-11 03:33:19 +0000
commit80278d54eee486135a86937b092f012849a1ee7f (patch)
treef1fe5a4c9dfe77ba25f2415be11323ab493f7f4a /media-libs
parentBump (diff)
downloadgentoo-2-80278d54eee486135a86937b092f012849a1ee7f.tar.gz
gentoo-2-80278d54eee486135a86937b092f012849a1ee7f.tar.bz2
gentoo-2-80278d54eee486135a86937b092f012849a1ee7f.zip
Bump
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libdvdcss/ChangeLog7
-rw-r--r--media-libs/libdvdcss/Manifest4
-rw-r--r--media-libs/libdvdcss/files/digest-libdvdcss-1.2.71
-rw-r--r--media-libs/libdvdcss/libdvdcss-1.2.7.ebuild70
4 files changed, 79 insertions, 3 deletions
diff --git a/media-libs/libdvdcss/ChangeLog b/media-libs/libdvdcss/ChangeLog
index 8def55772b26..b7d23a7c1d75 100644
--- a/media-libs/libdvdcss/ChangeLog
+++ b/media-libs/libdvdcss/ChangeLog
@@ -1,6 +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.19 2003/07/04 08:55:35 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/ChangeLog,v 1.20 2003/07/11 03:33:15 lostlogic Exp $
+
+*libdvdcss-1.2.7 (10 Jul 2003)
+
+ 10 Jul 2003; Brandon Low <lostlogic@gentoo.org> libdvdcss-1.2.7.ebuild:
+ Bump
04 Jul 2003; Luca Barbato <lu_zero@gentoo.org> :
Added ~ppc keyword.
diff --git a/media-libs/libdvdcss/Manifest b/media-libs/libdvdcss/Manifest
index bf44d7a69a49..4fc1130e5a2c 100644
--- a/media-libs/libdvdcss/Manifest
+++ b/media-libs/libdvdcss/Manifest
@@ -1,11 +1,11 @@
MD5 23b011e8b8dbfc26d1e969e0459d646b libdvdcss-1.2.5.ebuild 1602
-MD5 7392fb376452381df144a44b09a81fb4 libdvdcss-1.2.7.ebuild 1608
+MD5 d2553502c4036a4e746d739bd2e34b5f libdvdcss-1.2.7.ebuild 1610
MD5 c7fb3dbdf068609673ad27136a800153 libdvdcss-1.2.4.ebuild 1580
MD5 3250dd1acf27df285aafc7df048e47e5 libdvdcss-0.0.3.3.ebuild 740
MD5 ac903d9b1d985cc3556a4911ba95a911 libdvdcss-1.1.1-r2.ebuild 1563
MD5 a4a5a4c544ab3047a13a8e572c8e1110 libdvdcss-1.2.6.ebuild 1606
MD5 d0148d91d8b4bf1322f45b6205b62842 libdvdcss-1.2.3.ebuild 1577
-MD5 c591077803ddaf60cb1e77f58e7759b1 ChangeLog 2505
+MD5 c7c8d380bd1e694dba4412f018b6ee18 ChangeLog 2621
MD5 f6d88c49ac4ca7391532a9cbcce0b53c files/digest-libdvdcss-1.1.1-r2 67
MD5 61b20cbdfc22c9584db760c9fb048ee6 files/digest-libdvdcss-0.0.3.3 73
MD5 b8d04090ca4f6e07798a3c10d8080989 files/digest-libdvdcss-1.2.3 67
diff --git a/media-libs/libdvdcss/files/digest-libdvdcss-1.2.7 b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.7
new file mode 100644
index 000000000000..9f85683ca4e7
--- /dev/null
+++ b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.7
@@ -0,0 +1 @@
+MD5 eefdb36e8f4ecef61fb4f8419953f1e9 libdvdcss-1.2.7.tar.bz2 209452
diff --git a/media-libs/libdvdcss/libdvdcss-1.2.7.ebuild b/media-libs/libdvdcss/libdvdcss-1.2.7.ebuild
new file mode 100644
index 000000000000..42bb2cb6e7fc
--- /dev/null
+++ b/media-libs/libdvdcss/libdvdcss-1.2.7.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.7.ebuild,v 1.1 2003/07/11 03:33:15 lostlogic 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.bz2"
+HOMEPAGE="http://developers.videolan.org/pub/videolan/libdvdcss/"
+
+SLOT="1.2"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~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 NEWS README
+
+ ##
+ ## 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
+}
+