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: Sat, 20 Feb 2016 12:45:35
Message-Id: 1455971514.fc935d9243f9716b4d6ebb3a86cbb6daeef34598.xmw@gentoo
1 commit: fc935d9243f9716b4d6ebb3a86cbb6daeef34598
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 20 12:29:30 2016 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 20 12:31:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc935d92
7
8 app-misc/qlcplus: Initial import (fixes bug 492426, thanks jannis).
9
10 Package-Manager: portage-2.2.27
11
12 app-misc/qlcplus/Manifest | 1 +
13 app-misc/qlcplus/metadata.xml | 8 +++++
14 app-misc/qlcplus/qlcplus-4.10.2b.ebuild | 61 +++++++++++++++++++++++++++++++++
15 3 files changed, 70 insertions(+)
16
17 diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest
18 new file mode 100644
19 index 0000000..ba5576c
20 --- /dev/null
21 +++ b/app-misc/qlcplus/Manifest
22 @@ -0,0 +1 @@
23 +DIST qlcplus_4.10.2b.tar.gz 9711691 SHA256 1bcd2eef3e327714b3a83d0f0ff4695caa81bc1336f35abce29a047232b1a780 SHA512 d9716bcdd7289a0d5b94482ae3a7a4a047dc548c0a0b0b488c1f5af50280921a6769fe6479810862291d08508884a1403327be7722681a3a367ee3f77b895eab WHIRLPOOL 5b08afb4cac96926220140dba7283666829dc46e0fdcc517f28442c0b311febce81d0127adc3eaeb7bb3b7a570662558daa98a661acecd9b889e3669d8105ef8
24
25 diff --git a/app-misc/qlcplus/metadata.xml b/app-misc/qlcplus/metadata.xml
26 new file mode 100644
27 index 0000000..3c3d5ce
28 --- /dev/null
29 +++ b/app-misc/qlcplus/metadata.xml
30 @@ -0,0 +1,8 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>xmw@g.o</email>
36 + <name>Michael Weber</name>
37 + </maintainer>
38 +</pkgmetadata>
39
40 diff --git a/app-misc/qlcplus/qlcplus-4.10.2b.ebuild b/app-misc/qlcplus/qlcplus-4.10.2b.ebuild
41 new file mode 100644
42 index 0000000..059430a
43 --- /dev/null
44 +++ b/app-misc/qlcplus/qlcplus-4.10.2b.ebuild
45 @@ -0,0 +1,61 @@
46 +# Copyright 1999-2016 Gentoo Foundation
47 +# Distributed under the terms of the GNU General Public License v2
48 +# $Id$
49 +
50 +EAPI=5
51 +
52 +inherit qmake-utils qt4-r2 eutils virtualx
53 +
54 +DESCRIPTION="QLC+ - Q Light Controller Plus to control DMX interfaces"
55 +HOMEPAGE="http://www.qlcplus.org/"
56 +SRC_URI="http://www.${PN}.org/downloads/${PV/b/}/${PN}_${PV}.tar.gz"
57 +
58 +LICENSE="Apache-2.0"
59 +SLOT="0"
60 +KEYWORDS="~amd64"
61 +IUSE="qt4 qt5"
62 +
63 +REQUIRED_USE="?? ( qt4 qt5 )"
64 +
65 +RDEPEND="dev-libs/glib:2
66 + virtual/libusb:0
67 + virtual/libusb:1
68 + media-libs/alsa-lib
69 + media-libs/libmad
70 + media-libs/libsndfile
71 + sci-libs/fftw:3.0
72 + virtual/udev
73 + || ( dev-embedded/libftdi:1 dev-embedded/libftdi:0 )
74 + qt4? ( dev-qt/qtcore:4
75 + dev-qt/qtgui:4
76 + dev-qt/qtscript:4
77 + dev-qt/qttest:4 )
78 + qt5? ( dev-qt/qtcore:5
79 + dev-qt/qtgui:5
80 + dev-qt/qtmultimedia:5[widgets]
81 + dev-qt/qtnetwork
82 + dev-qt/qtscript:5
83 + dev-qt/qttest:5
84 + dev-qt/qtwidgets:5 )"
85 +
86 +DEPEND="${RDEPEND}"
87 +
88 +S=${WORKDIR}/${P/b/}
89 +
90 +src_prepare() {
91 + sed -e "s:/etc/udev/rules.d:${EROOT}lib/udev/rules.d:" -i \
92 + plugins/hid/hid.pro \
93 + plugins/udmx/src/src.pro \
94 + plugins/dmxusb/src/src.pro \
95 + plugins/spi/spi.pro \
96 + plugins/peperoni/unix/unix.pro || die
97 +}
98 +
99 +src_configure() {
100 + use qt5 && eqmake5
101 + use qt4 && eqmake4
102 +}
103 +
104 +src_test() {
105 + Xemake check
106 +}