summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-07-01 15:12:45 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-07-01 15:12:45 +0000
commit467b1e7bebd77fd34c5e9c8b7bdc2483041a7ec0 (patch)
treef3886e45e79caae88de51740752aa76d09e2cf5d /media-libs
parentAdded missing scrollkeeper dependence (fixes bug #4349). Updated deps. (diff)
downloadhistorical-467b1e7bebd77fd34c5e9c8b7bdc2483041a7ec0.tar.gz
historical-467b1e7bebd77fd34c5e9c8b7bdc2483041a7ec0.tar.bz2
historical-467b1e7bebd77fd34c5e9c8b7bdc2483041a7ec0.zip
gcc-3.1 refix
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libdvdnav/ChangeLog9
-rw-r--r--media-libs/libdvdnav/files/digest-libdvdnav-0.1.2-r21
-rw-r--r--media-libs/libdvdnav/libdvdnav-0.1.2-r2.ebuild52
3 files changed, 61 insertions, 1 deletions
diff --git a/media-libs/libdvdnav/ChangeLog b/media-libs/libdvdnav/ChangeLog
index 6e0490936e3d..31d188230ff9 100644
--- a/media-libs/libdvdnav/ChangeLog
+++ b/media-libs/libdvdnav/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-lib/libdvdnav
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/ChangeLog,v 1.4 2002/07/01 07:45:55 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/ChangeLog,v 1.5 2002/07/01 15:12:45 lostlogic Exp $
+
+*libdvdnav-0.1.2-r2 (1 Jul 2002)
+
+ 1 Jul 2002; Brandon Low <lostlogic@gentoo.org> libdvdnav-0.1.2-r2.ebuild
+
+ One more try, patch is now compiler dependant so that this will comile
+ successfully on gcc 2.95.3 and 3.1 systems.
*libdvdnav-0.1.2-r1 (1 Jul 2002)
diff --git a/media-libs/libdvdnav/files/digest-libdvdnav-0.1.2-r2 b/media-libs/libdvdnav/files/digest-libdvdnav-0.1.2-r2
new file mode 100644
index 000000000000..c4f909b4ba89
--- /dev/null
+++ b/media-libs/libdvdnav/files/digest-libdvdnav-0.1.2-r2
@@ -0,0 +1 @@
+MD5 07530ff242f90485f0aba9a85dad2836 libdvdnav-0.1.2.tar.gz 237104
diff --git a/media-libs/libdvdnav/libdvdnav-0.1.2-r2.ebuild b/media-libs/libdvdnav/libdvdnav-0.1.2-r2.ebuild
new file mode 100644
index 000000000000..ef27361f0649
--- /dev/null
+++ b/media-libs/libdvdnav/libdvdnav-0.1.2-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2002 Arcady Genkin <agenkin@thpoon.com>
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-0.1.2-r2.ebuild,v 1.1 2002/07/01 15:12:45 lostlogic Exp $
+
+DESCRIPTION="Library for DVD navigation tools."
+HOMEPAGE="http://sourceforge.net/projects/dvd/"
+
+SRC_URI="mirror://sourceforge/dvd/${P}.tar.gz"
+S=${WORKDIR}/${P}
+
+LICENSE="GPL"
+SLOT="0"
+
+DEPEND="media-libs/libdvdread"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/src
+
+ # This nice little patch that makes compilation work on gcc2
+ # breaks compilation on gcc-3.1 so, don't use it if we are
+ # going to be running gcc-3.1
+ [ -z "${CC}" ] && export CC=gcc
+ [[ "`${CC} -dumpversion`" != "3.1" ]] && \
+ ( patch < ${FILESDIR}/${P}-gentoo.patch || die )
+
+}
+
+src_compile() {
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING INSTALL NEWS README
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please remove old versions of libdvdnav manually,"
+ einfo "having multiple versions installed can cause problems."
+ einfo
+}
+