summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-02-28 21:26:07 +0100
committerPacho Ramos <pacho@gentoo.org>2018-02-28 21:36:15 +0100
commit8477a5457c543f6100efc410b0d992796d16b446 (patch)
tree193ada17b130754942effc98161cc3d159ca6188 /media-video/bino
parentapp-crypt/libb2: marked ~sparc-solaris (diff)
downloadgentoo-8477a5457c543f6100efc410b0d992796d16b446.tar.gz
gentoo-8477a5457c543f6100efc410b0d992796d16b446.tar.bz2
gentoo-8477a5457c543f6100efc410b0d992796d16b446.zip
media-video/bino: Version bump
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-video/bino')
-rw-r--r--media-video/bino/Manifest1
-rw-r--r--media-video/bino/bino-1.6.6.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-video/bino/Manifest b/media-video/bino/Manifest
index 6b1669cd979d..1260846d044b 100644
--- a/media-video/bino/Manifest
+++ b/media-video/bino/Manifest
@@ -1 +1,2 @@
DIST bino-1.6.1.tar.xz 814212 BLAKE2B 7edd4b33a432e6476c54bcb0202549b18255cb68f90d07f164175650716f5ebcda37e82f2b73f42ff49f1d14f6ff0bb81ba95d5c354dfdfb6c4154b664040f3c SHA512 5c0951f17cf9db37a4bd759aacbd4f3ef1a865499c893ca9c4c3a3775193560234aff9a5b12bc6fc012b987d3bd73264c5a5dcead562a6719f6a1019650e19af
+DIST bino-1.6.6.tar.xz 822680 BLAKE2B c863e16a4f576bffb3abf3ab03d8e4cd4ab9db0b0cc73ef2c255b18f103294a9f7e2bf382b286bb7d1d3cb9278c06965772cfc6241a7f23d2f4edc0a47059d92 SHA512 43a17f390881fcc8b7721b21ff8524b89992cd7fb0cfc467769bdddd0ad0c0d2536d161475a7fce6d4d3e758e017a38f671648dfaa4a345dc02127b7b192c8c0
diff --git a/media-video/bino/bino-1.6.6.ebuild b/media-video/bino/bino-1.6.6.ebuild
new file mode 100644
index 000000000000..e73529bb07f9
--- /dev/null
+++ b/media-video/bino/bino-1.6.6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic
+
+DESCRIPTION="Stereoscopic and multi-display media player"
+HOMEPAGE="http://bino3d.org/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc libav lirc video_cards_nvidia"
+
+RDEPEND="
+ >=media-libs/glew-1.6.0:0=
+ >=media-libs/openal-1.15.1
+ dev-qt/qtgui:5
+ dev-qt/qtcore:5
+ dev-qt/qtopengl:5
+ >=media-libs/libass-0.9.9
+ libav? ( >=media-video/libav-0.7:0= )
+ !libav? ( >=media-video/ffmpeg-0.7:0= )
+ lirc? ( app-misc/lirc )
+ video_cards_nvidia? ( || ( x11-drivers/nvidia-drivers[tools,static-libs] media-video/nvidia-settings ) )
+ virtual/libintl
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ econf \
+ $(use_with video_cards_nvidia xnvctrl) \
+ $(use_with lirc) \
+ $(use_enable debug) \
+ --without-equalizer \
+ --with-qt-version=5 \
+ --htmldir=/usr/share/doc/${PF}/html
+
+ use video_cards_nvidia && append-cppflags "-I/usr/include/NVCtrl" \
+ && append-ldflags "-L/usr/$(get_libdir)/opengl/nvidia/lib \
+ -L/usr/$(get_libdir)" && append-libs "Xext"
+ use lirc && append-cppflags "-I/usr/include/lirc" \
+ && append-libs "lirc_client"
+
+ # Fix a compilation error because of a multiple definitions in glew
+ append-ldflags "-zmuldefs"
+}
+
+src_install() {
+ default
+ use doc || ( rm -rf "${D}"/usr/share/doc/${PF}/html && dohtml "${FILESDIR}/${PN}.html" )
+}