blob: 327d4f467cfacd170bca2e3b7db5b47a060e7f59 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit eutils
DESCRIPTION="Stereoscopic and multi-display media player"
HOMEPAGE="http://www.nongnu.org/bino/index.html"
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="lirc"
RDEPEND=">=media-libs/glew-1.5.0
media-libs/openal
x11-libs/qt-gui:4
x11-libs/qt-core:4
x11-libs/qt-opengl:4
>=media-libs/libass-0.9.9
>=media-video/ffmpeg-0.8
lirc? ( app-misc/lirc )"
DEPEND="${RDEPEND}"
src_configure() {
if use lirc; then
export liblircclient_CFLAGS="-I/usr/include/lirc" liblircclient_LIBS="-llirc_client"
fi
econf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
# remove installed doc
rm -rf "${D}/usr/share/doc/bino"
# documentation
dodoc AUTHORS ChangeLog INSTALL NEWS README doc/*.png doc/*.jpg
dohtml doc/bino.html
doman doc/bino.1
doinfo doc/bino.info
}
|