diff options
author | Jannis Achstetter <kripton@kripserver.net> | 2019-07-17 08:02:53 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-12-07 21:38:14 +0200 |
commit | 9e7b8fe47d80e7b74f5085147d2d08f98ee74dfa (patch) | |
tree | 37b07863cb6ebb29a5d83446986b60a63b1a2602 /app-misc | |
parent | app-misc/qlcplus: Bump version to 4.12.2 (diff) | |
download | gentoo-9e7b8fe47d80e7b74f5085147d2d08f98ee74dfa.tar.gz gentoo-9e7b8fe47d80e7b74f5085147d2d08f98ee74dfa.tar.bz2 gentoo-9e7b8fe47d80e7b74f5085147d2d08f98ee74dfa.zip |
app-misc/qlcplus: Also add version 5.0.0_alpha3
Signed-off-by: Jannis Achstetter <kripton@kripserver.net>
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Closes: https://github.com/gentoo/gentoo/pull/12418
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/qlcplus/Manifest | 1 | ||||
-rw-r--r-- | app-misc/qlcplus/qlcplus-5.0.0_alpha3.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest index 3f45e4f268f1..d7cd59f28ee2 100644 --- a/app-misc/qlcplus/Manifest +++ b/app-misc/qlcplus/Manifest @@ -1,2 +1,3 @@ DIST qlcplus-4.11.1.tar.gz 9394093 BLAKE2B 0b91359217b723ed184f6a609ee0ef0a39f5f08aa8933abc7a3c429e4d5a3b2d1dc8ef454c00a172bc0e7b8f7fb0779d7fbba96ed5fafe403853f2a3bb8ce7b8 SHA512 14efdbe5cd53da592a58b48efb1daf7dda2a4e19d7d20792d34674af2aa1b9c287cfd58673db7838885642bb2ebfaf9b462be41d33f8d89497cb61dfab7246df DIST QLC+_4.12.2.tar.gz 10804401 BLAKE2B 95b005985da99d1d1f557b4ac5d6ae7d844ea4f69a7cfa63d79b288ce654b5a70f9e6168f6fd4144496d3cff59a721972acd3ba47fd1477ab4bfd0218f5aeeda SHA512 b274f0559ce15e045d653f4c034dc083922a13c6f9c5e7ba11026b3be9bb85fe447bb489d536dd24bb99bd4b08433f24f1713b73701afff99fa845fcef2547af +DIST QLC+_5.0.0_alpha3.tar.gz 10016411 BLAKE2B 51c0885f6e2e286f9f63830bcd269db699946c0969cb0f0a0139f82a421a9a4957ab07612db7aa047fe6650a642479282f6cfe0d124a41a935dd853d09b7253f SHA512 e703747aa243bc4c6b2e9fc3cf1a4e67524fa13fa64a59054e66164e879073b1bd69756a42bb423ff05dcb7da946cbcd99bb9edc3fde9a70d75b8a9f164a71d0 diff --git a/app-misc/qlcplus/qlcplus-5.0.0_alpha3.ebuild b/app-misc/qlcplus/qlcplus-5.0.0_alpha3.ebuild new file mode 100644 index 000000000000..763f2788db86 --- /dev/null +++ b/app-misc/qlcplus/qlcplus-5.0.0_alpha3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils udev virtualx xdg + +DESCRIPTION="A software to control DMX or analog lighting systems" +HOMEPAGE="https://www.qlcplus.org/" +SRC_URI="https://github.com/mcallegari/${PN}/archive/QLC+_${PV}.tar.gz" +S="${WORKDIR}/qlcplus-QLC-_${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="" +IUSE="" + +BDEPEND=" + dev-qt/linguist-tools:5 +" +RDEPEND=" + dev-embedded/libftdi:= + dev-libs/glib:2 + dev-qt/qt3d:5[qml] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5[widgets,qml] + dev-qt/qtnetwork:5 + dev-qt/qtscript:5 + dev-qt/qtwidgets:5 + media-libs/alsa-lib + media-libs/libmad + media-libs/libsndfile + sci-libs/fftw:3.0 + virtual/libusb:0 + virtual/libusb:1 + virtual/udev +" +DEPEND="${RDEPEND} + dev-qt/qttest:5 +" + +src_prepare() { + default + + sed -e "/UDEVRULESDIR/s:/etc/udev/rules.d:$(get_udevdir)/rules.d:" \ + -i variables.pri || die + + ## Remove Werror-flag since there are some warnings with gcc-9.x + sed -e "s/QMAKE_CXXFLAGS += -Werror/#&/g" \ + -i variables.pri || die +} + +src_configure() { + eqmake5 CONFIG+=qmlui +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + +src_test() { + virtx emake check +} + +pkg_postinst() { + elog "Some configurations of KDE Plasma break the layout of" + elog "QLC+ 5's QML UI." + elog "As a workaround, try those environment variables:" + elog " export XDG_CURRENT_DESKTOP=GNOME" + elog "OR" + elog " export QT_QPA_PLATFORMTHEME=gtk3" +} |