diff options
author | Jannis Achstetter <kripton@kripserver.net> | 2023-09-05 19:03:09 +0200 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-10-11 13:03:26 +0300 |
commit | 635cc83528acd667c25e3a135d2e689425f7518d (patch) | |
tree | 2811111c7d1a2b85607640f68477ce82a2961c81 /app-misc | |
parent | net-misc/curl: Stabilize 8.4.0 arm, #915569 (diff) | |
download | gentoo-635cc83528acd667c25e3a135d2e689425f7518d.tar.gz gentoo-635cc83528acd667c25e3a135d2e689425f7518d.tar.bz2 gentoo-635cc83528acd667c25e3a135d2e689425f7518d.zip |
app-misc/qlcplus: add 4.12.7
Bug: https://bugs.gentoo.org/863323
Bug: https://bugs.gentoo.org/863557
Signed-off-by: Jannis Achstetter <kripton@kripserver.net>
Closes: https://github.com/gentoo/gentoo/pull/32638
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/qlcplus/Manifest | 1 | ||||
-rw-r--r-- | app-misc/qlcplus/qlcplus-4.12.7.ebuild | 82 |
2 files changed, 83 insertions, 0 deletions
diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest index cfa1f1f6dcea..12ffd18650b4 100644 --- a/app-misc/qlcplus/Manifest +++ b/app-misc/qlcplus/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-misc/qlcplus/qlcplus-4.12.7.ebuild b/app-misc/qlcplus/qlcplus-4.12.7.ebuild new file mode 100644 index 000000000000..63d949d616d7 --- /dev/null +++ b/app-misc/qlcplus/qlcplus-4.12.7.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 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 +" + +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 +} |