summaryrefslogtreecommitdiff
path: root/media-video/bino
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-08 10:50:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-08 10:50:14 +0100
commit3f71901f8c228f4de570abed1831ce3ee425343e (patch)
treea2dcd300d05ef8a2ec275b44a92a9d85bd3baa24 /media-video/bino
parent12bb627384ddfd47382b9f1b6464481a58d01ebb (diff)
gentoo resync 08.09.2018
Diffstat (limited to 'media-video/bino')
-rw-r--r--media-video/bino/Manifest2
-rw-r--r--media-video/bino/bino-1.6.7.ebuild73
2 files changed, 75 insertions, 0 deletions
diff --git a/media-video/bino/Manifest b/media-video/bino/Manifest
index 15e73ab0408c..cdfbabca381b 100644
--- a/media-video/bino/Manifest
+++ b/media-video/bino/Manifest
@@ -1,4 +1,6 @@
AUX bino.html 658 BLAKE2B 9eab6fd2e14b72928ce0c73c21a61ac26981bb23df9eaf3f89132729debc32a10fa0d703c5f3340aa758d741aa1ac733df3718e5577148609f1ae1e1e5c4e47f SHA512 c4861b4536ebc08fd9a68a9b8d420b323eb16ab057b74a83fd56c5c4e0c1f7c4fc7665a0933eabf58e5eca7c38206597e7b6ddb99722054804a64821950f23be
DIST bino-1.6.6.tar.xz 822680 BLAKE2B c863e16a4f576bffb3abf3ab03d8e4cd4ab9db0b0cc73ef2c255b18f103294a9f7e2bf382b286bb7d1d3cb9278c06965772cfc6241a7f23d2f4edc0a47059d92 SHA512 43a17f390881fcc8b7721b21ff8524b89992cd7fb0cfc467769bdddd0ad0c0d2536d161475a7fce6d4d3e758e017a38f671648dfaa4a345dc02127b7b192c8c0
+DIST bino-1.6.7.tar.xz 825068 BLAKE2B d9019a793838f33ea1315849aa994b20a1c6127995315dc03972fe6c64a742c73434c07ba06402a1e2bd5357781d18aaf3d19ab2d61788745b2aa99ad3f4c6f4 SHA512 ae8f72b200100664b9fd55963371ce64a2f39e240676494d69b422d662f2295560ba458eb04707b82f88d3c6b3fab98a1ecb40d74799300f96b8eb8be680c9b8
EBUILD bino-1.6.6.ebuild 1507 BLAKE2B 55990360ab9bcd21f57d631a88c1ebc82cc98fcfd652d17457e55d29dfe06d92817815babe040b689e44035493f196dafdf32c0ed3ca3dffa8b741b7f9a29b1a SHA512 fca8b2961701fbcf1df421cf0f0e65a3cb78dac56d06aea66fdd1f2a961babf6808aee68839ca12f4370afce7cdd89bda101597c9495e099d332c85daf4980a4
+EBUILD bino-1.6.7.ebuild 1573 BLAKE2B 5fce8361923e30065c970f78f1cbf2c053bba6c84be45f633279373869f9dd40425e8238fc001d61421ccf4d0a3e8ced8f9845800d711fef49021555d5b700ce SHA512 2bd2c283a7983c374263e25b6f46003b3218bdbeb1bc8d26786955c10af6a41587664ccc57cce047a873c55b0412b0b5431d06059f89dcde716a674c791236a7
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
diff --git a/media-video/bino/bino-1.6.7.ebuild b/media-video/bino/bino-1.6.7.ebuild
new file mode 100644
index 000000000000..5a98d40353a7
--- /dev/null
+++ b/media-video/bino/bino-1.6.7.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic xdg-utils
+
+DESCRIPTION="Stereoscopic and multi-display media player"
+HOMEPAGE="https://bino3d.org/"
+SRC_URI="https://bino3d.org/releases/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc libav lirc video_cards_nvidia"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ >=media-libs/glew-1.6.0:0=
+ >=media-libs/libass-0.9.9
+ >=media-libs/openal-1.15.1
+ virtual/libintl
+ 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] )
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ if use video_cards_nvidia; then
+ append-cppflags "-I/usr/include/NVCtrl"
+ append-ldflags "-L/usr/$(get_libdir)/opengl/nvidia/lib -L/usr/$(get_libdir)"
+ append-libs "Xext"
+ fi
+ if use lirc; then
+ append-cppflags "-I/usr/include/lirc"
+ append-libs "lirc_client"
+ fi
+
+ # Fix a compilation error because of a multiple definitions in glew
+ append-ldflags "-zmuldefs"
+
+ 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
+
+}
+
+src_install() {
+ default
+ if ! use doc; then
+ rm -rf "${D}"/usr/share/doc/${PF}/html || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}