summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Achstetter <kripton@kripserver.net>2024-05-31 23:59:30 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-07-04 16:43:53 +0300
commit9af5d30b6af451ca44a3addd7c5fb5ccba457d89 (patch)
tree61b06069cd7feee24ca642df915feaa677dc19fb /app-misc/qlcplus
parentdev-util/rt-tests: Fix musl build (diff)
downloadgentoo-9af5d30b6af451ca44a3addd7c5fb5ccba457d89.tar.gz
gentoo-9af5d30b6af451ca44a3addd7c5fb5ccba457d89.tar.bz2
gentoo-9af5d30b6af451ca44a3addd7c5fb5ccba457d89.zip
app-misc/qlcplus: add 4.13.1
Signed-off-by: Jannis Achstetter <kripton@kripserver.net> Closes: https://github.com/gentoo/gentoo/pull/36934 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/qlcplus')
-rw-r--r--app-misc/qlcplus/Manifest1
-rw-r--r--app-misc/qlcplus/qlcplus-4.13.1.ebuild86
2 files changed, 87 insertions, 0 deletions
diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest
index 92ce53cd94b3..a0d3a0fc8759 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+_4.13.1.tar.gz 12361431 BLAKE2B 26016aa1d6451573a0bdd7a7a3c6b41c10734ccf23efafb31a8f8cb32186da94a41d8bbedb24758f12ba3b9d13eb4d76a20ed9e0ab3b277e131ee6ed5ffcf456 SHA512 63403d92ea7abeee9b3c8fdd71c64a906b04ea76fe4805087a34ce6b8a57be99725eab93bbe95b2793977ef3a3dd8803bcf9771decc00ec3d8514da7f0e82598
DIST QLC+_5.0.0_beta3.tar.gz 12088379 BLAKE2B 70695364a214a2aff9d4affc749ea3b969e788f7fc5f6d3b12b804a23ba0ef6d83817341dd4ff3331e4cb53887ca1563668dfef4724a7f12e4c64c7011be7ae3 SHA512 406e6bbf1bf4dd34f799a2fab3b13174cceccb63cc9af438c488028c57aa3bf7b139c0fa94de8e72d0558362b4b92422e1af80896b05a54a6e4a43cbb24bf18c
diff --git a/app-misc/qlcplus/qlcplus-4.13.1.ebuild b/app-misc/qlcplus/qlcplus-4.13.1.ebuild
new file mode 100644
index 000000000000..651213b34d7b
--- /dev/null
+++ b/app-misc/qlcplus/qlcplus-4.13.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 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
+
+ ## Remove Werror-flag since there are some warnings with gcc-9.x
+ sed -e "s/unix:QMAKE_CFLAGS += -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
+}