diff options
Diffstat (limited to 'media-video/bino/bino-1.1.2.ebuild')
-rw-r--r-- | media-video/bino/bino-1.1.2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-video/bino/bino-1.1.2.ebuild b/media-video/bino/bino-1.1.2.ebuild new file mode 100644 index 0000000..327d4f4 --- /dev/null +++ b/media-video/bino/bino-1.1.2.ebuild @@ -0,0 +1,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 +} |