From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1045027-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 83924138334
	for <garchives@archives.gentoo.org>; Sun,  2 Sep 2018 09:39:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 67A0AE07EF;
	Sun,  2 Sep 2018 09:39:45 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 246A1E07EF
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Sep 2018 09:39:44 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 302EA335C94
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Sep 2018 09:39:43 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6802C3A7
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Sep 2018 09:39:41 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1535881166.cf7f3d42d79ca94eb40bb83cf08dc2fb1f574d05.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/bino/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-video/bino/Manifest media-video/bino/bino-1.6.7.ebuild
X-VCS-Directories: media-video/bino/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: cf7f3d42d79ca94eb40bb83cf08dc2fb1f574d05
X-VCS-Branch: master
Date: Sun,  2 Sep 2018 09:39:41 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 15725c51-65a9-421f-8708-a6dcd77cee5d
X-Archives-Hash: 6d9e1e3189a2bff04878b00fd999ab71

commit:     cf7f3d42d79ca94eb40bb83cf08dc2fb1f574d05
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  2 09:38:13 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Sep  2 09:39:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf7f3d42

media-video/bino: 1.6.7 version bump, improve everywhere

https, use if instead ugly && chains, sort/missing deps, xdg-utils

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 media-video/bino/Manifest          |  1 +
 media-video/bino/bino-1.6.7.ebuild | 73 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/media-video/bino/Manifest b/media-video/bino/Manifest
index 5666c546f2f..44a1084a061 100644
--- a/media-video/bino/Manifest
+++ b/media-video/bino/Manifest
@@ -1 +1,2 @@
 DIST bino-1.6.6.tar.xz 822680 BLAKE2B c863e16a4f576bffb3abf3ab03d8e4cd4ab9db0b0cc73ef2c255b18f103294a9f7e2bf382b286bb7d1d3cb9278c06965772cfc6241a7f23d2f4edc0a47059d92 SHA512 43a17f390881fcc8b7721b21ff8524b89992cd7fb0cfc467769bdddd0ad0c0d2536d161475a7fce6d4d3e758e017a38f671648dfaa4a345dc02127b7b192c8c0
+DIST bino-1.6.7.tar.xz 825068 BLAKE2B d9019a793838f33ea1315849aa994b20a1c6127995315dc03972fe6c64a742c73434c07ba06402a1e2bd5357781d18aaf3d19ab2d61788745b2aa99ad3f4c6f4 SHA512 ae8f72b200100664b9fd55963371ce64a2f39e240676494d69b422d662f2295560ba458eb04707b82f88d3c6b3fab98a1ecb40d74799300f96b8eb8be680c9b8

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 00000000000..5a98d40353a
--- /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
+}