diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-11-09 03:13:47 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-11-09 03:13:47 +0000 |
commit | 5dcc78b3c20759e6356402631cd16720d3df17d1 (patch) | |
tree | bc0651d3a98b4f98db652c741b521de91f7a064e /media-video/ogle/ogle-0.9.2.ebuild | |
parent | version bump (diff) | |
download | historical-5dcc78b3c20759e6356402631cd16720d3df17d1.tar.gz historical-5dcc78b3c20759e6356402631cd16720d3df17d1.tar.bz2 historical-5dcc78b3c20759e6356402631cd16720d3df17d1.zip |
version bump
Diffstat (limited to 'media-video/ogle/ogle-0.9.2.ebuild')
-rw-r--r-- | media-video/ogle/ogle-0.9.2.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/media-video/ogle/ogle-0.9.2.ebuild b/media-video/ogle/ogle-0.9.2.ebuild new file mode 100644 index 000000000000..6360457c2ad6 --- /dev/null +++ b/media-video/ogle/ogle-0.9.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ogle/ogle-0.9.2.ebuild,v 1.1 2003/11/09 03:13:45 seemant Exp $ + +inherit libtool + +DESCRIPTION="Full featured DVD player that supports DVD menus." +HOMEPAGE="http://www.dtek.chalmers.se/groups/dvd/" +SRC_URI="http://www.dtek.chalmers.se/groups/dvd/dist/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~x86 ~ppc" +LICENSE="GPL-2" +IUSE="oss mmx alsa xv" + +DEPEND=">=media-libs/libdvdcss-1.2.2 + media-libs/jpeg + >=media-libs/libdvdread-0.9.4 + media-sound/mad + x11-base/xfree + >=dev-libs/libxml2-2.4.19 + >=media-libs/a52dec-0.7.3 + alsa? ( media-libs/alsa-lib )" + +src_compile() { + # STOP! If you make any changes, make sure to unmerge all copies + # of ogle and ogle-gui from your system and merge ogle-gui using your + # new version of ogle... Changes in this package can break ogle-gui + # very very easily -- blocke + + local myconf="`use_enable mmx` `use_enable oss` `use_enable alsa`" + + use xv && myconf="${myconf} --enable-xv" || myconf="${myconf} --disable-xv" + + if [ "${ARCH}" = "ppc" ] ; then + # if this user doesn't want altivec, don't compile it in + # fixes #14939 + if [ `echo ${CFLAGS} | grep -e "-maltivec" | wc -l` = "0" ] + then + einfo "Disabling alitvec support" + myconf="${myconf} --disable-altivec" + else + einfo "Enabling altivec support" + myconf="${myconf} --enable-altivec" + fi + fi + + elibtoolize + + # configure needs access to the updated CFLAGS + CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml -I/usr/include/libxml2" + + econf ${myconf} || die + emake CFLAGS="${CFLAGS}" || die +} + +src_install() { + einstall || die + dodoc AUTHORS COPYING ChangeLog HISTORY INSTALL NEWS README TODO + dodoc doc/liba52.txt +} |