summaryrefslogtreecommitdiff
path: root/media-video/bino
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/bino')
-rw-r--r--media-video/bino/Manifest2
-rw-r--r--media-video/bino/bino-1.6.8.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/media-video/bino/Manifest b/media-video/bino/Manifest
index 6b2ae142af7d..a2fb05864f18 100644
--- a/media-video/bino/Manifest
+++ b/media-video/bino/Manifest
@@ -1,4 +1,6 @@
AUX bino-1.6.7-gcc11.patch 883 BLAKE2B 612ff39d9294567d65809f88c4dc9d77011f2dbf5aa318a827299a7323f6706bbc4d82f8834ad8dd180fdef47de8d7fa0b861e93b91f2e2b2016cc09a522ca53 SHA512 3cf037566f6cb1d3eb2eeaf332e657e9eb088627c70752da2c27e5e22956a803fde3bca9071e75ede097c348e0f0e013e9c6d2cd0c15ff80f8b2059cfcab4646
DIST bino-1.6.7.tar.xz 825068 BLAKE2B d9019a793838f33ea1315849aa994b20a1c6127995315dc03972fe6c64a742c73434c07ba06402a1e2bd5357781d18aaf3d19ab2d61788745b2aa99ad3f4c6f4 SHA512 ae8f72b200100664b9fd55963371ce64a2f39e240676494d69b422d662f2295560ba458eb04707b82f88d3c6b3fab98a1ecb40d74799300f96b8eb8be680c9b8
+DIST bino-1.6.8.tar.xz 836712 BLAKE2B 801d6f1ffbf1a7fbaabcdbb2c4bd649662d3b14b08189431a418702177f5de28a8961763c83962fd72cbf6f762fad34ed0b616efc68a723f65b6c72823618897 SHA512 d8cf5be356add4ed3fb36673038b5ffd92d0dc840798cc616fa4b11fec221c7f114347dfc7cdb7a3a24c5599b56301cddc99f84d3862d8e874612960281319cc
EBUILD bino-1.6.7.ebuild 1480 BLAKE2B f7841fc972fa8ae1f69fd8cd5c6fe7deffa9deebc12de70df06a7468f90cfcccc50f505a0399d430e537a695dc4e38c9542a13c66b18aa41959fa8cdc0debb09 SHA512 1600712530afc3cdef216324decb214f2c1a907b8dbb195c41c7a83456d60cae130efd94b442b60d1bce6efa19423302368cfa2d76f3bbf9248af591df49ba59
+EBUILD bino-1.6.8.ebuild 1515 BLAKE2B c53f5230459a32bc4d2c63f2232471cbe9f462e2dbdb8f7c5c2965d34b7e8e63064c87c7e6b015334278675edd846fe751a151b343c1a3a5cad6114dc9af9b0d SHA512 d4e684d64a8e8427bdba68ba78fb2b978993619a735fe6c9c74fde6fb733991f5adea74a667e2ce24ef15adcc4f3f59bf8cfce4f668f4006f249ff6d10855d09
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
diff --git a/media-video/bino/bino-1.6.8.ebuild b/media-video/bino/bino-1.6.8.ebuild
new file mode 100644
index 000000000000..0cdd8ab1a37c
--- /dev/null
+++ b/media-video/bino/bino-1.6.8.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic qmake-utils xdg
+
+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 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
+ >=media-video/ffmpeg-0.7:0=
+ lirc? ( app-misc/lirc )
+ video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/gettext
+ virtual/pkgconfig"
+
+src_configure() {
+ if use video_cards_nvidia; then
+ append-cppflags "-I${ESYSROOT}/usr/include/NVCtrl"
+ append-ldflags "-L${ESYSROOT}/usr/$(get_libdir)/opengl/nvidia/lib -L${ESYSROOT}/usr/$(get_libdir)"
+ append-libs "Xext"
+ fi
+
+ if use lirc; then
+ append-cppflags "-I${ESYSROOT}/usr/include/lirc"
+ append-libs "lirc_client"
+ fi
+
+ # Fix a compilation error because of a multiple definitions error in glew
+ append-ldflags "-zmuldefs"
+
+ export MOC="$(qt5_get_bindir)"/moc
+ export RCC="$(qt5_get_bindir)"/rcc
+
+ econf \
+ $(use_with video_cards_nvidia xnvctrl) \
+ $(use_with lirc) \
+ $(use_enable debug) \
+ --without-equalizer \
+ --with-qt-version=5
+}
+
+src_install() {
+ default
+
+ if ! use doc; then
+ rm -rf "${ED}"/usr/share/doc/${PF}/html || die
+ fi
+}