blob: 09b20c7571dceb8919942eec7f44314581d66f22 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/freepv/freepv-0.3.0-r1.ebuild,v 1.2 2009/09/29 09:25:14 maekke Exp $
EAPI=2
inherit cmake-utils nsplugins
DESCRIPTION="Panorama viewer and browser plugin (Quicktime, PangeaVR, GLPanoView)"
HOMEPAGE="http://freepv.sourceforge.net/"
SRC_URI="mirror://sourceforge/freepv/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-libs/libxml2
media-libs/jpeg
media-libs/libpng
net-libs/xulrunner:1.9
virtual/glut
sys-libs/zlib
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXxf86vm"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${P/_beta?/}
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc44.patch
epatch "${FILESDIR}"/${P}-xulrunner-1.9.1.patch
}
src_install() {
cmake-utils_src_install
# Remove plugin and install it in the correct place
src_mv_plugins /usr/$(get_libdir)/mozilla/plugins
}
|