diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-10-21 20:16:22 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-10-21 23:04:18 +0200 |
commit | de73af3b97023aeb77e961b81aff8256364671c2 (patch) | |
tree | 90c89d5f1ed55e18431de1c0f81af028101d3fa2 /app-misc/qlcplus | |
parent | app-editors/texworks: drop 0.6.7 (diff) | |
download | gentoo-de73af3b97023aeb77e961b81aff8256364671c2.tar.gz gentoo-de73af3b97023aeb77e961b81aff8256364671c2.tar.bz2 gentoo-de73af3b97023aeb77e961b81aff8256364671c2.zip |
app-misc/qlcplus: add 5.0.0_beta2, fix dependencies, drop virtualx
- add missing pkg_postrm() phase
Bug: https://bugs.gentoo.org/915785
See also: https://github.com/gentoo/gentoo/pull/26074
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_beta2.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest index 12ffd18650b4..cc4f2b713c44 100644 --- a/app-misc/qlcplus/Manifest +++ b/app-misc/qlcplus/Manifest @@ -1,3 +1,4 @@ DIST QLC+_4.12.6.tar.gz 11345674 BLAKE2B 6035f29f22dd214c1190bd13fbdf5e4bd7b4fb3e3cf20f5556fe31aa318dc1490ffe5159f00e3accd88bff8cdb4bb2763e29e318073a3bf2f00ca3676fff266a SHA512 80869bc0c1682aeb81f5463253be595aa4745d3c4b5e20a1c8ae1c3d9ceabbbf251b52bebb723d9e0297bc712cc75fe2dd472182b79bef84b351cd4795231765 DIST QLC+_4.12.7.tar.gz 11603681 BLAKE2B 52e257842e4892f04f7f45ea7747beb89c95a40d9d55d2e3629d4b3f7eed0e621936ff8af5c3b440e3237569cc0f44856cea9ceda61234e0b8ea35005c529b42 SHA512 26b3f17d25b0f34d41c701d1902e88eceb553f8d35d7d732581523a1066338bc8bd391fbb7b966ab5fe43114f405f9a8cef2d3c0da4d7b76bbe91bf0f64eae49 DIST QLC+_5.0.0_beta1.tar.gz 11170124 BLAKE2B aebc0ddbd2ee9b4dd242d4766a708a9e83621c1f5ab6a69ab4ad4884f10eae954ad5a7d6aaef908ec4d1c725705231676ec77a3f65f0bcee73099344540bae00 SHA512 f831be1e31a995151768a09d1cdeb8815086d2ce3fc8c4e0abf12aefe6eb02870c6d86ae87cd7061ec353ce1d23ac7f73cd7646f3c2f00ddde45c25ff36ec884 +DIST QLC+_5.0.0_beta2.tar.gz 11486175 BLAKE2B 176368661a09ae523fd111fb7a9b46d5917e91325dea0d1f70973f11bd9bb7de6b3fd57647e56ce8f743b10f28c8883ed3a10fa914aa00be6737541590ec5a88 SHA512 e6e30e7174e0a45d058caa1ed5da9ed2e0b5ab72fe45cf0e70dd42e1528b69c87aeb21dd03770fe24cae83177d26bbe938c8d6e889fa418b753e97d4606534c4 diff --git a/app-misc/qlcplus/qlcplus-5.0.0_beta2.ebuild b/app-misc/qlcplus/qlcplus-5.0.0_beta2.ebuild new file mode 100644 index 000000000000..127614c92bcf --- /dev/null +++ b/app-misc/qlcplus/qlcplus-5.0.0_beta2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2023 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/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 +} |