Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/qlcplus/
Date: Fri, 29 Sep 2017 05:37:52
Message-Id: 1506663460.ef03593d1c5d3bddefee7a90d9417556234dd90c.xmw@gentoo
1 commit: ef03593d1c5d3bddefee7a90d9417556234dd90c
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 05:33:42 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 05:37:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef03593d
7
8 app-misc/qlcplus: inherit xdg for xdg_desktop_database_update, fix sandbox violation https://bugs.gentoo.org/621500#c2.
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 app-misc/qlcplus/qlcplus-4.10.5b-r2.ebuild | 59 ++++++++++++++++++++++++++++++
13 1 file changed, 59 insertions(+)
14
15 diff --git a/app-misc/qlcplus/qlcplus-4.10.5b-r2.ebuild b/app-misc/qlcplus/qlcplus-4.10.5b-r2.ebuild
16 new file mode 100644
17 index 00000000000..9d50c6300aa
18 --- /dev/null
19 +++ b/app-misc/qlcplus/qlcplus-4.10.5b-r2.ebuild
20 @@ -0,0 +1,59 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit qmake-utils udev vcs-snapshot virtualx xdg
27 +
28 +DESCRIPTION="QLC+ - Q Light Controller Plus to control DMX interfaces"
29 +HOMEPAGE="http://www.qlcplus.org/"
30 +SRC_URI="https://github.com/mcallegari/${PN}/archive/QLC+_${PV}.tar.gz -> ${P}.tar.gz"
31 +
32 +LICENSE="Apache-2.0"
33 +SLOT="0"
34 +KEYWORDS="~amd64"
35 +IUSE=""
36 +
37 +RDEPEND="
38 + || ( dev-embedded/libftdi:1 dev-embedded/libftdi:0 )
39 + dev-libs/glib:2
40 + dev-qt/qtcore:5
41 + dev-qt/qtgui:5
42 + dev-qt/qtmultimedia:5[widgets]
43 + dev-qt/qtnetwork:5
44 + dev-qt/qtscript:5
45 + dev-qt/qttest:5
46 + dev-qt/qtwidgets:5
47 + media-libs/alsa-lib
48 + media-libs/libmad
49 + media-libs/libsndfile
50 + sci-libs/fftw:3.0
51 + virtual/libusb:0
52 + virtual/libusb:1
53 + virtual/udev
54 +"
55 +DEPEND="${RDEPEND}"
56 +
57 +src_prepare() {
58 + default
59 + sed -e "s:/etc/udev/rules.d:${EROOT}lib/udev/rules.d:" -i \
60 + plugins/hid/hid.pro \
61 + plugins/udmx/src/src.pro \
62 + plugins/dmxusb/src/src.pro \
63 + plugins/spi/spi.pro \
64 + plugins/peperoni/unix/unix.pro || die
65 + sed -e "/UDEVRULESDIR/s:/etc/udev/rules.d:$(get_udevdir)/rules.d:" \
66 + -i variables.pri || die
67 +}
68 +
69 +src_configure() {
70 + eqmake5
71 +
72 + # sandbox error "mkdir /usr/share/qlcplus"
73 + # see https://bugs.gentoo.org/621500#c2
74 + export INSTALL_ROOT="${D}"
75 +}
76 +
77 +src_test() {
78 + virtx emake check
79 +}