Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/bino/
Date: Sun, 02 Sep 2018 09:39:46
Message-Id: 1535881166.cf7f3d42d79ca94eb40bb83cf08dc2fb1f574d05.asturm@gentoo
1 commit: cf7f3d42d79ca94eb40bb83cf08dc2fb1f574d05
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 2 09:38:13 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 2 09:39:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf7f3d42
7
8 media-video/bino: 1.6.7 version bump, improve everywhere
9
10 https, use if instead ugly && chains, sort/missing deps, xdg-utils
11
12 Package-Manager: Portage-2.3.48, Repoman-2.3.10
13
14 media-video/bino/Manifest | 1 +
15 media-video/bino/bino-1.6.7.ebuild | 73 ++++++++++++++++++++++++++++++++++++++
16 2 files changed, 74 insertions(+)
17
18 diff --git a/media-video/bino/Manifest b/media-video/bino/Manifest
19 index 5666c546f2f..44a1084a061 100644
20 --- a/media-video/bino/Manifest
21 +++ b/media-video/bino/Manifest
22 @@ -1 +1,2 @@
23 DIST bino-1.6.6.tar.xz 822680 BLAKE2B c863e16a4f576bffb3abf3ab03d8e4cd4ab9db0b0cc73ef2c255b18f103294a9f7e2bf382b286bb7d1d3cb9278c06965772cfc6241a7f23d2f4edc0a47059d92 SHA512 43a17f390881fcc8b7721b21ff8524b89992cd7fb0cfc467769bdddd0ad0c0d2536d161475a7fce6d4d3e758e017a38f671648dfaa4a345dc02127b7b192c8c0
24 +DIST bino-1.6.7.tar.xz 825068 BLAKE2B d9019a793838f33ea1315849aa994b20a1c6127995315dc03972fe6c64a742c73434c07ba06402a1e2bd5357781d18aaf3d19ab2d61788745b2aa99ad3f4c6f4 SHA512 ae8f72b200100664b9fd55963371ce64a2f39e240676494d69b422d662f2295560ba458eb04707b82f88d3c6b3fab98a1ecb40d74799300f96b8eb8be680c9b8
25
26 diff --git a/media-video/bino/bino-1.6.7.ebuild b/media-video/bino/bino-1.6.7.ebuild
27 new file mode 100644
28 index 00000000000..5a98d40353a
29 --- /dev/null
30 +++ b/media-video/bino/bino-1.6.7.ebuild
31 @@ -0,0 +1,73 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit flag-o-matic xdg-utils
38 +
39 +DESCRIPTION="Stereoscopic and multi-display media player"
40 +HOMEPAGE="https://bino3d.org/"
41 +SRC_URI="https://bino3d.org/releases/${P}.tar.xz"
42 +
43 +LICENSE="GPL-3"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="debug doc libav lirc video_cards_nvidia"
47 +
48 +RDEPEND="
49 + dev-qt/qtcore:5
50 + dev-qt/qtgui:5
51 + dev-qt/qtopengl:5
52 + dev-qt/qtwidgets:5
53 + >=media-libs/glew-1.6.0:0=
54 + >=media-libs/libass-0.9.9
55 + >=media-libs/openal-1.15.1
56 + virtual/libintl
57 + libav? ( >=media-video/libav-0.7:0= )
58 + !libav? ( >=media-video/ffmpeg-0.7:0= )
59 + lirc? ( app-misc/lirc )
60 + video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )
61 +"
62 +DEPEND="${RDEPEND}
63 + sys-devel/gettext
64 + virtual/pkgconfig
65 +"
66 +
67 +src_configure() {
68 + if use video_cards_nvidia; then
69 + append-cppflags "-I/usr/include/NVCtrl"
70 + append-ldflags "-L/usr/$(get_libdir)/opengl/nvidia/lib -L/usr/$(get_libdir)"
71 + append-libs "Xext"
72 + fi
73 + if use lirc; then
74 + append-cppflags "-I/usr/include/lirc"
75 + append-libs "lirc_client"
76 + fi
77 +
78 + # Fix a compilation error because of a multiple definitions in glew
79 + append-ldflags "-zmuldefs"
80 +
81 + econf \
82 + $(use_with video_cards_nvidia xnvctrl) \
83 + $(use_with lirc) \
84 + $(use_enable debug) \
85 + --without-equalizer \
86 + --with-qt-version=5 \
87 + --htmldir=/usr/share/doc/${PF}/html
88 +
89 +}
90 +
91 +src_install() {
92 + default
93 + if ! use doc; then
94 + rm -rf "${D}"/usr/share/doc/${PF}/html || die
95 + fi
96 +}
97 +
98 +pkg_postinst() {
99 + xdg_desktop_database_update
100 +}
101 +
102 +pkg_postrm() {
103 + xdg_desktop_database_update
104 +}