commit: a3de22efbb513b6e354f05e171b8d3ffb826dbc4 Author: Michael Weber <michael <AT> xmw <DOT> de> AuthorDate: Fri Feb 12 16:31:16 2016 +0000 Commit: Michael Weber <xmw <AT> gentoo <DOT> org> CommitDate: Fri Feb 12 16:31:16 2016 +0000 URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=a3de22ef
app-misc/qlcplus: Initial import based on work by jannis (bug 492426). Package-Manager: portage-2.2.27 Manifest-Sign-Key: 0x71D573A82F434065 app-misc/qlcplus/Manifest | 21 ++++++++++++ app-misc/qlcplus/metadata.xml | 8 +++++ app-misc/qlcplus/qlcplus-4.10.2b.ebuild | 61 +++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest new file mode 100644 index 0000000..ba240d2 --- /dev/null +++ b/app-misc/qlcplus/Manifest @@ -0,0 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST qlcplus_4.10.2b.tar.gz 9711691 SHA256 1bcd2eef3e327714b3a83d0f0ff4695caa81bc1336f35abce29a047232b1a780 SHA512 d9716bcdd7289a0d5b94482ae3a7a4a047dc548c0a0b0b488c1f5af50280921a6769fe6479810862291d08508884a1403327be7722681a3a367ee3f77b895eab WHIRLPOOL 5b08afb4cac96926220140dba7283666829dc46e0fdcc517f28442c0b311febce81d0127adc3eaeb7bb3b7a570662558daa98a661acecd9b889e3669d8105ef8 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJWvgjSAAoJEHHVc6gvQ0BldvEP/jEr+1J1VuGzgNCgHiwCKXkU +iuHk8PA9ZZ/Fkqwsg+nX/lAlB74Owt6rIg4fkQ/A3Vb+e867QBL2SM1FQO3RUQ7P +bBBRH+d4pOER5wB5HaW730j71UnRaFkob8Mv1ELq934irUCzC/qJrlLj88ow5rNz +Q42ZzYUth6bb/eGtttz8C7gLTDYM+2ghnmuEDi38TbExGFyO/LY6dFP1GflYPZ9/ +oojgzSQz575d0sfcySEsxlF1cCBKULEzEtSjQ+NkCINeNXVeBguogNLnsTsB4HPA ++mM0PK/RXtVVxvb/9WdIdSuJDTTxPdvZvZ/XL202Y0MBUdSyZWBoyxq5GoRfqMKK +miLxjJJc2Wdz1YQ+KfUumhyO4WWmWFgevbw7Fr+Yfduk7VZ7X8lcGWP5SO1kS6lv ++U6Q90TQeDXDKKm0hzHddPmPcCj1svuQ9ekG9q+fZ+D4UKCfjVFpSBaeDTFEW+3r +Xrh2apN0pyTELhuLuoQflTBgaeDiXdrh7qu6VjzW7x784KH3ek9maz7rztvwrvl1 +HXH1NZ7gjdoex8A9bI/U/dskh0IL81L1Gs4qkVshFeC7yqElddEkAc51ksGa9kxt +taeMDkd5HOLGJ8ReIuwALlBAbTV4H6xerS7fYA0lDl2YvuyqAni6qOZtAo7wTE/p +edSnFtajsDubZFHR9XZ9 +=CobC +-----END PGP SIGNATURE----- diff --git a/app-misc/qlcplus/metadata.xml b/app-misc/qlcplus/metadata.xml new file mode 100644 index 0000000..5b80fb9 --- /dev/null +++ b/app-misc/qlcplus/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>x...@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> diff --git a/app-misc/qlcplus/qlcplus-4.10.2b.ebuild b/app-misc/qlcplus/qlcplus-4.10.2b.ebuild new file mode 100644 index 0000000..31dc87a --- /dev/null +++ b/app-misc/qlcplus/qlcplus-4.10.2b.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils qt4-r2 eutils virtualx + +DESCRIPTION="QLC+ - Q Light Controller Plus to control DMX interfaces" +HOMEPAGE="http://www.qlcplus.org/" +SRC_URI="http://www.${PN}.org/downloads/${PV/b/}/${PN}_${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="qt4 qt5" + +REQUIRED_USE="?? ( qt4 qt5 )" + +RDEPEND="dev-libs/glib:2 + dev-libs/libusb + dev-libs/libusb-compat + media-libs/alsa-lib + media-libs/libmad + media-libs/libsndfile + sci-libs/fftw:3.0 + virtual/udev + || ( dev-embedded/libftdi:1 dev-embedded/libftdi:0 ) + qt4? ( dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtscript:4 + dev-qt/qttest:4 ) + qt5? ( dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5[widgets] + dev-qt/qtnetwork + dev-qt/qtscript:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 )" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P/b/} + +src_prepare() { + sed -e "s:/etc/udev/rules.d:${EROOT}lib/udev/rules.d" -i \ + plugins/hid/hid.pro \ + plugins/udmx/src/src.pro \ + plugins/dmxusb/src/src.pro \ + plugins/spi/spi.pro \ + plugins/peperoni/unix/unix.pro || die +} + +src_configure() { + use qt5 && eqmake5 + use qt4 && eqmake4 +} + +src_test() { + Xemake check +}