blob: 967326c4ed9eabe57cca6792ec64a0a80127ad35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-video/ogle/ogle-0.8.3.ebuild,v 1.1 2002/06/15 00:26:02 seemant Exp $
inherit libtool
S=${WORKDIR}/${P}
DESCRIPTION="Ogle is a full featured DVD player that supports DVD menus"
SRC_URI="http://www.dtek.chalmers.se/groups/dvd/dist/${P}.tar.gz"
HOMEPAGE="http://www.dtek.chalmers.se/groups/dvd/"
DEPEND="media-libs/libdvdcss
media-libs/jpeg
media-libs/libdvdread
x11-base/xfree
>=dev-libs/libxml2-2.4.19
>=media-libs/a52dec-0.7.2
alsa? ( media-libs/alsa-lib )"
SLOT=""
LICENSE="GPL-2"
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 mmx || myconf="--disable-mmx"
use oss || myconf="${myconf} --disable-oss"
use alsa || myconf="${myconf} --disable-alsa"
elibtoolize
# configure needs access to the updated CFLAGS
CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml -I/usr/include/libxml2"
econf || die
emake CFLAGS="${CFLAGS}" || die
}
src_install() {
einstall || die
dodoc AUTHORS COPYING ChangeLog HISTORY INSTALL NEWS README TODO
dodoc doc/liba52.txt
}
|