blob: 3aba0e75ce04737e12d0a47eb30c1e306d45d9a7 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmovtar/libmovtar-0.1.3-r1.ebuild,v 1.20 2006/11/05 10:25:55 vapier Exp $
inherit eutils libtool
DESCRIPTION="Movtar tools and library for MJPEG video"
HOMEPAGE="http://mjpeg.sourceforge.net/"
SRC_URI="http://download.sourceforge.net/mjpeg/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 sparc x86"
IUSE=""
DEPEND=">=media-libs/jpeg-6b-r4
>=media-libs/libsdl-1.2.2
=dev-libs/glib-1.2*"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e "s:#include <jinclude.h>::" movtar_play.c
# Fix building with gcc4
epatch "${FILESDIR}"/${P}-gcc4.patch
epatch "${FILESDIR}"/${P}-m4.patch
# bug #101397
epatch "${FILESDIR}"/${P}-asm.patch
elibtoolize
}
src_install() {
einstall || die
dodoc AUTHORS README* NEWS
}
|