diff options
author | Jannis Achstetter <kripton@kripserver.net> | 2022-08-31 23:16:45 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-09-27 15:31:43 +0300 |
commit | f090c3f4a6ad8983c4568e6da5b7f9dd2e58c95b (patch) | |
tree | 8ac7467b9c6c4930cb0856c4bee7c57a57381c60 /app-misc/qlcplus | |
parent | app-misc/qlcplus: Bump to v4.12.6 (diff) | |
download | gentoo-f090c3f4a6ad8983c4568e6da5b7f9dd2e58c95b.tar.gz gentoo-f090c3f4a6ad8983c4568e6da5b7f9dd2e58c95b.tar.bz2 gentoo-f090c3f4a6ad8983c4568e6da5b7f9dd2e58c95b.zip |
app-misc/qlcplus: Remove old v4.12.5
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jannis Achstetter <kripton@kripserver.net>
Closes: https://github.com/gentoo/gentoo/pull/27095
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/qlcplus')
-rw-r--r-- | app-misc/qlcplus/Manifest | 1 | ||||
-rw-r--r-- | app-misc/qlcplus/files/qlcplus-4.12.5-fix-test-issue.patch | 59 | ||||
-rw-r--r-- | app-misc/qlcplus/qlcplus-4.12.5.ebuild | 84 |
3 files changed, 0 insertions, 144 deletions
diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest index 7d3ee6257243..cfa1f1f6dcea 100644 --- a/app-misc/qlcplus/Manifest +++ b/app-misc/qlcplus/Manifest @@ -1,3 +1,2 @@ -DIST QLC+_4.12.5.tar.gz 11331655 BLAKE2B b7d274c0940d0d58486c36abab1c413dca91044e50fa1d6ee6fa2b2c24a8ca52800fa1e2ad20c057b1b32d4f755292ea4c9a360125fc2a2e8b157903d8e4884d SHA512 15c58c694dc5732effc0cfb2705c4540fc377e09b20cc36cb9a94566658b3dbfb759cbddb16cd51b22be889d580d8b45073ae0cff068a10c3dbe796ae1a027eb DIST QLC+_4.12.6.tar.gz 11345674 BLAKE2B 6035f29f22dd214c1190bd13fbdf5e4bd7b4fb3e3cf20f5556fe31aa318dc1490ffe5159f00e3accd88bff8cdb4bb2763e29e318073a3bf2f00ca3676fff266a SHA512 80869bc0c1682aeb81f5463253be595aa4745d3c4b5e20a1c8ae1c3d9ceabbbf251b52bebb723d9e0297bc712cc75fe2dd472182b79bef84b351cd4795231765 DIST QLC+_5.0.0_beta1.tar.gz 11170124 BLAKE2B aebc0ddbd2ee9b4dd242d4766a708a9e83621c1f5ab6a69ab4ad4884f10eae954ad5a7d6aaef908ec4d1c725705231676ec77a3f65f0bcee73099344540bae00 SHA512 f831be1e31a995151768a09d1cdeb8815086d2ce3fc8c4e0abf12aefe6eb02870c6d86ae87cd7061ec353ce1d23ac7f73cd7646f3c2f00ddde45c25ff36ec884 diff --git a/app-misc/qlcplus/files/qlcplus-4.12.5-fix-test-issue.patch b/app-misc/qlcplus/files/qlcplus-4.12.5-fix-test-issue.patch deleted file mode 100644 index d7cffba6ff8c..000000000000 --- a/app-misc/qlcplus/files/qlcplus-4.12.5-fix-test-issue.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 2ee0e053e39587d29789a26a37309445df222a0c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= - <jeromelebleu@users.noreply.github.com> -Date: Fri, 8 Jul 2022 09:41:21 +0200 -Subject: [PATCH] Round values explicitly in FadeChannel and KeyPadParser - -Fix #1344 ---- - engine/src/fadechannel.cpp | 9 +++------ - engine/src/keypadparser.cpp | 6 ++++-- - 2 files changed, 7 insertions(+), 8 deletions(-) - -diff --git a/engine/src/fadechannel.cpp b/engine/src/fadechannel.cpp -index 537b0fd9f..c642360be 100644 ---- a/engine/src/fadechannel.cpp -+++ b/engine/src/fadechannel.cpp -@@ -323,14 +323,11 @@ uchar FadeChannel::calculateCurrent(uint fadeTime, uint elapsedTime) - // 16 bit fading works as long as MSB and LSB channels - // are targeting the same value. E.g. Red and Red Fine both at 158 - float val = (float(m_target - m_start) * (float(elapsedTime) / float(fadeTime))) + float(m_start); -+ long rval = lrintf(val * 256); - if (m_flags & Fine) -- { -- m_current = ((val - floor(val)) * float(UCHAR_MAX)); -- } -+ m_current = rval & 0xff; - else -- { -- m_current = val; -- } -+ m_current = rval / 256; - } - - return uchar(m_current); -diff --git a/engine/src/keypadparser.cpp b/engine/src/keypadparser.cpp -index bc2d64cbc..36a4fe9b9 100644 ---- a/engine/src/keypadparser.cpp -+++ b/engine/src/keypadparser.cpp -@@ -17,6 +17,8 @@ - limitations under the License. - */ - -+#include <cmath> -+ - #include "keypadparser.h" - #include "qlcmacros.h" - -@@ -194,9 +196,9 @@ QList<SceneValue> KeyPadParser::parseCommand(Doc *doc, QString command, - else if (lastCommand == CommandMinus) - scv.value = CLAMP(uniValue - toValue, 0, 255); - else if (lastCommand == CommandPlusPercent) -- scv.value = CLAMP(uniValue * (1.0 + toValue), 0, 255); -+ scv.value = CLAMP(lrintf(uniValue * (1.0 + toValue)), 0, 255); - else if (lastCommand == CommandMinusPercent) -- scv.value = CLAMP(uniValue - (float(uniValue) * toValue), 0, 255); -+ scv.value = CLAMP(lrintf(uniValue - (float(uniValue) * toValue)), 0, 255); - else if (lastCommand == CommandZERO) - scv.value = 0; - else if (lastCommand == CommandFULL) diff --git a/app-misc/qlcplus/qlcplus-4.12.5.ebuild b/app-misc/qlcplus/qlcplus-4.12.5.ebuild deleted file mode 100644 index bdcb55edcf6b..000000000000 --- a/app-misc/qlcplus/qlcplus-4.12.5.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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="~amd64" -IUSE="test" - -RESTRICT="!test? ( test )" - -BDEPEND=" - dev-qt/linguist-tools:5 -" -RDEPEND=" - dev-embedded/libftdi:= - dev-libs/glib:2 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5[widgets] - 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 -" -IDEPEND=" - dev-util/desktop-file-utils -" -DEPEND="${RDEPEND} - dev-qt/qttest:5 -" - -PATCHES=( "${FILESDIR}"/qlcplus-4.12.5-fix-test-issue.patch ) - -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 -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} - -pkg_postinst() { - udev_reload - - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -src_test() { - virtx emake check -} - -pkg_postrm() { - udev_reload - - xdg_desktop_database_update - xdg_mimeinfo_database_update -} |