diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-07-30 19:11:44 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-07-30 19:11:44 +0000 |
commit | f939ab9c60e93f369e7227e6cee4acc8a7d519d1 (patch) | |
tree | 7dbc3a91a127070db0bd023fb1b33218f06aa2a8 /media-libs/libdvdcss | |
parent | Version bump. Bugfixes only. (diff) | |
download | historical-f939ab9c60e93f369e7227e6cee4acc8a7d519d1.tar.gz historical-f939ab9c60e93f369e7227e6cee4acc8a7d519d1.tar.bz2 historical-f939ab9c60e93f369e7227e6cee4acc8a7d519d1.zip |
Version bump. Bugfixes only.
Diffstat (limited to 'media-libs/libdvdcss')
-rw-r--r-- | media-libs/libdvdcss/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libdvdcss/files/digest-libdvdcss-1.2.8 | 1 | ||||
-rw-r--r-- | media-libs/libdvdcss/libdvdcss-1.2.8.ebuild | 67 |
3 files changed, 70 insertions, 2 deletions
diff --git a/media-libs/libdvdcss/Manifest b/media-libs/libdvdcss/Manifest index 822e089691ae..0ef0d754280d 100644 --- a/media-libs/libdvdcss/Manifest +++ b/media-libs/libdvdcss/Manifest @@ -4,9 +4,9 @@ MD5 60df17aa57298b4c8d8b27470508d999 libdvdcss-1.2.4.ebuild 1577 MD5 3250dd1acf27df285aafc7df048e47e5 libdvdcss-0.0.3.3.ebuild 740 MD5 ac903d9b1d985cc3556a4911ba95a911 libdvdcss-1.1.1-r2.ebuild 1563 MD5 fd647146fb63a52c2214a5ecedc62cf2 libdvdcss-1.2.6.ebuild 1616 -MD5 5a0d834cd546e5efe8bd6248cf6e9f62 libdvdcss-1.2.8.ebuild 1587 +MD5 a3e519892d38eab154e74413373c2d31 libdvdcss-1.2.8.ebuild 1583 MD5 d0148d91d8b4bf1322f45b6205b62842 libdvdcss-1.2.3.ebuild 1577 -MD5 c7c8d380bd1e694dba4412f018b6ee18 ChangeLog 2621 +MD5 0fbd18ff0f3756baa97ba24524da0848 ChangeLog 2774 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.8 b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.8 new file mode 100644 index 000000000000..d568a70a230a --- /dev/null +++ b/media-libs/libdvdcss/files/digest-libdvdcss-1.2.8 @@ -0,0 +1 @@ +MD5 0749d05f4cc14daaf20af9e40fd6a2f0 libdvdcss-1.2.8.tar.bz2 209643 diff --git a/media-libs/libdvdcss/libdvdcss-1.2.8.ebuild b/media-libs/libdvdcss/libdvdcss-1.2.8.ebuild new file mode 100644 index 000000000000..e8790c068c9e --- /dev/null +++ b/media-libs/libdvdcss/libdvdcss-1.2.8.ebuild @@ -0,0 +1,67 @@ +# 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.8.ebuild,v 1.1 2003/07/30 19:11:39 raker Exp $ + +IUSE="" + +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" + +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 +} + +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 +} + |