Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 465172 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-video/bino/bino-1.3.0.ebuild (-21 / +45 lines)
Lines 1-9 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-video/bino/bino-1.3.0.ebuild,v 1.3 2013/03/02 22:30:11 hwoarang Exp $
3
# $Header: $
4
4
5
EAPI=3
5
EAPI=5
6
inherit eutils
6
7
AUTOTOOLS_AUTORECONF="1"
8
9
inherit autotools-utils flag-o-matic
7
10
8
DESCRIPTION="Stereoscopic and multi-display media player"
11
DESCRIPTION="Stereoscopic and multi-display media player"
9
HOMEPAGE="http://bino3d.org/"
12
HOMEPAGE="http://bino3d.org/"
Lines 12-47 Link Here
12
LICENSE="GPL-3"
15
LICENSE="GPL-3"
13
SLOT="0"
16
SLOT="0"
14
KEYWORDS="~amd64 ~x86"
17
KEYWORDS="~amd64 ~x86"
15
IUSE="lirc"
18
IUSE="doc lirc"
16
19
17
RDEPEND=">=media-libs/glew-1.5.0
20
IUSE_VIDEO_CARDS="
21
	video_cards_nvidia"
22
IUSE+="${IUSE_VIDEO_CARDS}"
23
24
LANGS="en bg de fr ru"
25
for X in ${LANGS} ; do
26
	IUSE+=" linguas_${X}"
27
done
28
29
RDEPEND=">=media-libs/glew-1.6.0
18
	media-libs/openal
30
	media-libs/openal
19
	dev-qt/qtgui:4
31
	dev-qt/qtgui:4
20
	dev-qt/qtcore:4
32
	dev-qt/qtcore:4
21
	dev-qt/qtopengl:4
33
	dev-qt/qtopengl:4
22
	>=media-libs/libass-0.9.9
34
	>=media-libs/libass-0.9.9
23
	>=virtual/ffmpeg-0.6.90
35
	>=virtual/ffmpeg-0.6.90
24
	lirc? ( app-misc/lirc )"
36
	lirc? ( app-misc/lirc )
25
37
	video_cards_nvidia? ( media-video/nvidia-settings )
26
DEPEND="${RDEPEND}"
38
	virtual/libintl"
39
40
DEPEND="${RDEPEND}
41
	sys-devel/gettext
42
	virtual/pkgconfig"
43
44
DOCS=( AUTHORS ChangeLog NEWS README README.Linux )
45
46
PATCHES=(
47
	"${FILESDIR}/${P}-lirc-detect.patch" # detect lirc
48
	)
27
49
28
src_configure() {
50
src_configure() {
29
	if use lirc; then
51
	local myeconfargs=(
30
		export liblircclient_CFLAGS="-I/usr/include/lirc" liblircclient_LIBS="-llirc_client"
52
		$(use_with video_cards_nvidia xnvctrl)
31
	fi
53
		$(use_with lirc liblircclient)
54
		--without-equalizer
55
		--htmldir=/usr/share/doc/${PF}/html
56
	)
32
57
33
	default
58
	use video_cards_nvidia && append-cppflags "-I/usr/include/NVCtrl" && append-ldflags "-I/usr/$(get_libdir)"
59
	use lirc && append-cppflags "-I/usr/include/lirc"  && append-libs "lirc_client"
60
61
	# Fix a compilation error because of a multiple definitions in glew
62
	append-ldflags "-zmuldefs"
63
64
	autotools-utils_src_configure
34
}
65
}
35
66
36
src_install() {
67
src_install() {
37
	emake DESTDIR="${D}" install || die "emake install failed"
68
	autotools-utils_src_install
38
39
	# remove installed doc
40
	rm -rf "${D}/usr/share/doc/bino"
41
69
42
	# documentation
70
	use doc || ( rm -rf "${D}"/usr/share/doc/${PF}/html && dohtml "${FILESDIR}/${PN}.html" )
43
	dodoc AUTHORS ChangeLog INSTALL NEWS README doc/*.png doc/*.jpg
44
	dohtml doc/bino.html
45
	doman doc/bino.1
46
	doinfo doc/bino.info
47
}
71
}

Return to bug 465172