You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.4 KiB
83 lines
1.4 KiB
2 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
2 years ago
|
EAPI=8
|
||
5 years ago
|
|
||
|
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
|
||
|
"
|
||
2 years ago
|
IDEPEND="
|
||
|
dev-util/desktop-file-utils
|
||
|
"
|
||
5 years ago
|
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
|
||
|
}
|
||
|
|
||
2 years ago
|
pkg_postinst() {
|
||
|
udev_reload
|
||
|
|
||
|
xdg_desktop_database_update
|
||
|
xdg_mimeinfo_database_update
|
||
|
}
|
||
|
|
||
5 years ago
|
src_test() {
|
||
|
virtx emake check
|
||
|
}
|
||
2 years ago
|
|
||
|
pkg_postrm() {
|
||
|
udev_reload
|
||
|
|
||
|
xdg_desktop_database_update
|
||
|
xdg_mimeinfo_database_update
|
||
|
}
|