diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-16 11:46:22 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-16 12:52:02 +0100 |
commit | 9a0b4a4a873c79847235ed7bf3e0c6c828dda3d6 (patch) | |
tree | 97efd04959cb5835509ce59097818be292e70253 /app-misc/qlcplus | |
parent | dev-qt/qtwebengine: drop 5.15.12_p20231219 (diff) | |
download | gentoo-9a0b4a4a873c79847235ed7bf3e0c6c828dda3d6.tar.gz gentoo-9a0b4a4a873c79847235ed7bf3e0c6c828dda3d6.tar.bz2 gentoo-9a0b4a4a873c79847235ed7bf3e0c6c828dda3d6.zip |
app-misc/qlcplus: add 5.0.0_beta3
Bug: https://bugs.gentoo.org/915785
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-misc/qlcplus')
-rw-r--r-- | app-misc/qlcplus/Manifest | 1 | ||||
-rw-r--r-- | app-misc/qlcplus/qlcplus-5.0.0_beta3.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest index 0749f0de3803..bdd59137b237 100644 --- a/app-misc/qlcplus/Manifest +++ b/app-misc/qlcplus/Manifest @@ -1,2 +1,3 @@ DIST QLC+_4.12.7.tar.gz 11603681 BLAKE2B 52e257842e4892f04f7f45ea7747beb89c95a40d9d55d2e3629d4b3f7eed0e621936ff8af5c3b440e3237569cc0f44856cea9ceda61234e0b8ea35005c529b42 SHA512 26b3f17d25b0f34d41c701d1902e88eceb553f8d35d7d732581523a1066338bc8bd391fbb7b966ab5fe43114f405f9a8cef2d3c0da4d7b76bbe91bf0f64eae49 DIST QLC+_5.0.0_beta2.tar.gz 11486175 BLAKE2B 176368661a09ae523fd111fb7a9b46d5917e91325dea0d1f70973f11bd9bb7de6b3fd57647e56ce8f743b10f28c8883ed3a10fa914aa00be6737541590ec5a88 SHA512 e6e30e7174e0a45d058caa1ed5da9ed2e0b5ab72fe45cf0e70dd42e1528b69c87aeb21dd03770fe24cae83177d26bbe938c8d6e889fa418b753e97d4606534c4 +DIST QLC+_5.0.0_beta3.tar.gz 12088379 BLAKE2B 70695364a214a2aff9d4affc749ea3b969e788f7fc5f6d3b12b804a23ba0ef6d83817341dd4ff3331e4cb53887ca1563668dfef4724a7f12e4c64c7011be7ae3 SHA512 406e6bbf1bf4dd34f799a2fab3b13174cceccb63cc9af438c488028c57aa3bf7b139c0fa94de8e72d0558362b4b92422e1af80896b05a54a6e4a43cbb24bf18c diff --git a/app-misc/qlcplus/qlcplus-5.0.0_beta3.ebuild b/app-misc/qlcplus/qlcplus-5.0.0_beta3.ebuild new file mode 100644 index 000000000000..8c80c434cd41 --- /dev/null +++ b/app-misc/qlcplus/qlcplus-5.0.0_beta3.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils udev xdg + +DESCRIPTION="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="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-embedded/libftdi:= + dev-libs/glib:2 + dev-qt/qt3d:5[qml] + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5[widgets,qml] + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtserialport:5 + dev-qt/qtsvg: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 +" +BDEPEND="dev-qt/linguist-tools:5" +IDEPEND="dev-util/desktop-file-utils" + +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_test() { + local -x QT_QPA_PLATFORM=offscreen + emake check +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + +pkg_postinst() { + udev_reload + + xdg_desktop_database_update + xdg_mimeinfo_database_update + + 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" +} + +pkg_postrm() { + udev_reload + + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |