summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Danya Dietrich <kito@gentoo.org>2004-11-14 00:02:18 +0000
committerKito Danya Dietrich <kito@gentoo.org>2004-11-14 00:02:18 +0000
commitfacaea0d5c44d847521d27d9c5186b49246c70ca (patch)
tree440ea4a9226427ec7f93e6cec2844190dbf840f9 /media-libs/libdvdnav/libdvdnav-0.1.9.ebuild
parentuse mozconfig.eclass instead of mozilla.eclass for building (Manifest recommit) (diff)
downloadgentoo-2-facaea0d5c44d847521d27d9c5186b49246c70ca.tar.gz
gentoo-2-facaea0d5c44d847521d27d9c5186b49246c70ca.tar.bz2
gentoo-2-facaea0d5c44d847521d27d9c5186b49246c70ca.zip
added ~ppc-macos keyword as well as vm and btree patches from DarwinPorts
Diffstat (limited to 'media-libs/libdvdnav/libdvdnav-0.1.9.ebuild')
-rw-r--r--media-libs/libdvdnav/libdvdnav-0.1.9.ebuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/media-libs/libdvdnav/libdvdnav-0.1.9.ebuild b/media-libs/libdvdnav/libdvdnav-0.1.9.ebuild
index 60bf5ed238db..53cdd92eaab2 100644
--- a/media-libs/libdvdnav/libdvdnav-0.1.9.ebuild
+++ b/media-libs/libdvdnav/libdvdnav-0.1.9.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-0.1.9.ebuild,v 1.9 2004/11/06 16:29:01 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-0.1.9.ebuild,v 1.10 2004/11/14 00:02:18 kito Exp $
+
+inherit eutils
DESCRIPTION="Library for DVD navigation tools."
HOMEPAGE="http://sourceforge.net/projects/dvd/"
@@ -8,14 +10,20 @@ SRC_URI="mirror://sourceforge/dvd/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ppc sparc alpha amd64"
+KEYWORDS="x86 ppc sparc alpha amd64 ~ppc-macos"
IUSE=""
DEPEND="media-libs/libdvdread"
+src_unpack() {
+ unpack ${A}
+ use ppc-macos && epatch ${FILESDIR}/${P}-darwin.diff
+}
+
src_compile() {
+ use ppc-macos && CFLAGS="${CFLAGS} -D__DARWIN__"
econf || die "./configure failed"
- emake || die
+ emake || die "make failed"
}
src_install () {
@@ -28,4 +36,4 @@ pkg_postinst() {
einfo "Please remove old versions of libdvdnav manually,"
einfo "having multiple versions installed can cause problems."
einfo
-}
+} \ No newline at end of file