mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 07:22:38 +01:00
- app-misc/qlcplus: Initial import.
This commit is contained in:
4
app-misc/qlcplus/Manifest
Normal file
4
app-misc/qlcplus/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX qlcplus-4.9.1_fix-desktop-files.patch 1363 SHA256 c34379d0f3a17224412e5ebe921eb6bab1b7ea2ec2af6d0e54555794419de0f0 SHA512 a011b2504a2d6cc7a5c127293ec772752a0b2da35bcd3c0f7816e791892338cd30b0344b0006508ca1c2b45cd42cd462e97f7cc4da0b8e8191799f15cbc08725 WHIRLPOOL edab2f4f2b3565909ff3eafb7a0d5b69ceba044f741be6eb00819c9a97fdc7901ce1e8abf1cbfa2eaa0b9143f72b1b336c909384507343bc9708028ad23bbefa
|
||||
AUX qlcplus-4.9.1_remove-webaccess.patch 1779 SHA256 fad2039bcf1a4fdf438824203915af9d1cf7a429019a88721497ca091a1ce4ab SHA512 aef90c136aba67fa05e7f30cffd4b88d2b4c80bc3ddfde7a6c8070f3769ffdd1ccafd1ad8ae3a3ed71c4bf34976309d5ebd1d88658eef8c2c69dd3588b343324 WHIRLPOOL bfd2dff559d5347886e64992490536b674137b661e79a35d25fb8fbb40f9b4a0c7003526b5e0a64ca33ad8d4cbd362779dad368efb5c756d434b0048592d8a5d
|
||||
DIST qlcplus_4.9.1.tar.gz 9491748 SHA256 fedc9c5bc09134106f52370f8a9381455114be9e1901dc844c702e07b86ab90e SHA512 a766f0912eb497b9cd918768a477f2c84179ec003e688d94f4b47beba7b8483d05e57fd05b2e9349cf8760d8cf19bcdd2bd056c395a102d87988059a3acbe895 WHIRLPOOL fcc5d19a3d5db51abb574288dd77da2b954c2c62170104b5657cbd0d29c3db0e365c489094957dcb3008608cbb9652a6c61586570d651ded3cf54d23b152ccc3
|
||||
EBUILD qlcplus-4.9.1.ebuild 2536 SHA256 d6d40950976c3b570d46221402a2f89d8ac3f774a4544ca11d0a2cf8de625dda SHA512 76905077cdd9675d723be41a19d1c4e5e2221f8e84e120f0de0b597bb8c5dabbc1079bce3e2ecfa52d49ed9063aa15a238b3ee94140d3fd583481816f047b2e3 WHIRLPOOL 7695ca4859d27bf21a2597ac1ec72f401eaf162e8407122e9798cdc48b33656c1594e6eb10217323acc96a04e766f3bfd8102b0154a7980cfee6b28ccebb7fee
|
||||
37
app-misc/qlcplus/files/qlcplus-4.9.1_fix-desktop-files.patch
Normal file
37
app-misc/qlcplus/files/qlcplus-4.9.1_fix-desktop-files.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
diff -dNur a/etc/qlcplus-fixtureeditor.desktop b/etc/qlcplus-fixtureeditor.desktop
|
||||
--- a/etc/qlcplus-fixtureeditor.desktop 2015-07-07 12:08:51.000000000 +0000
|
||||
+++ b/etc/qlcplus-fixtureeditor.desktop 2015-08-28 15:47:19.019183076 +0000
|
||||
@@ -9,4 +9,4 @@
|
||||
Exec=qlcplus-fixtureeditor --open %f
|
||||
Icon=qlcplus-fixtureeditor
|
||||
MimeType=application/x-qlc-fixture;
|
||||
-Categories=Lighting;Art;Qt;AudioVideo;
|
||||
+Categories=X-Lighting;X-Art;Qt;AudioVideo;
|
||||
diff -dNur a/etc/qlcplus.desktop b/etc/qlcplus.desktop
|
||||
--- a/etc/qlcplus.desktop 2015-07-07 12:08:51.000000000 +0000
|
||||
+++ b/etc/qlcplus.desktop 2015-08-28 15:47:08.955131286 +0000
|
||||
@@ -1,12 +1,12 @@
|
||||
-[Desktop Entry]
|
||||
-Type=Application
|
||||
-Name=Q Light Controller Plus
|
||||
-GenericName=Lighting control
|
||||
-GenericName[de]=Lichtsteuerung
|
||||
-GenericName[fi]=Valojen ohjaus
|
||||
-GenericName[fr]=Controlleur d'éclairages
|
||||
-GenericName[it]=Controllore di luci
|
||||
-Exec=qlcplus --open %f
|
||||
-Icon=qlcplus
|
||||
-MimeType=application/x-qlc-workspace;
|
||||
-Categories=Lighting;Art;Qt;AudioVideo;
|
||||
+[Desktop Entry]
|
||||
+Type=Application
|
||||
+Name=Q Light Controller Plus
|
||||
+GenericName=Lighting control
|
||||
+GenericName[de]=Lichtsteuerung
|
||||
+GenericName[fi]=Valojen ohjaus
|
||||
+GenericName[fr]=Controlleur d'éclairages
|
||||
+GenericName[it]=Controllore di luci
|
||||
+Exec=qlcplus --open %f
|
||||
+Icon=qlcplus
|
||||
+MimeType=application/x-qlc-workspace;
|
||||
+Categories=X-Lighting;X-Art;Qt;AudioVideo;
|
||||
50
app-misc/qlcplus/files/qlcplus-4.9.1_remove-webaccess.patch
Normal file
50
app-misc/qlcplus/files/qlcplus-4.9.1_remove-webaccess.patch
Normal file
@@ -0,0 +1,50 @@
|
||||
--- a/main/main.cpp 2015-08-28 12:49:44.462588456 +0000
|
||||
+++ b/main/main.cpp 2015-08-28 12:53:03.871565232 +0000
|
||||
@@ -40,7 +40,6 @@
|
||||
|
||||
#include "virtualconsole.h"
|
||||
#include "simpledesk.h"
|
||||
-#include "webaccess.h"
|
||||
#include "app.h"
|
||||
#include "doc.h"
|
||||
|
||||
@@ -68,9 +67,6 @@
|
||||
/** If true, adjusts the main window geometry instead of instructing the windowing system to "maximize" */
|
||||
bool fullScreenResize = false;
|
||||
|
||||
- /** If true, create and run a class to enable a web server for remote controlling */
|
||||
- bool enableWebAccess = false;
|
||||
-
|
||||
/** If true, enable a 5% of overscan when in fullscreen mode (Raspberry Only) */
|
||||
bool enableOverscan = false;
|
||||
|
||||
@@ -254,10 +250,6 @@
|
||||
{
|
||||
QLCArgs::operate = true;
|
||||
}
|
||||
- else if (arg == "-w" || arg == "--web")
|
||||
- {
|
||||
- QLCArgs::enableWebAccess = true;
|
||||
- }
|
||||
else if (arg == "-v" || arg == "--version")
|
||||
{
|
||||
/* Don't print anything, since version is always
|
||||
@@ -342,18 +334,5 @@
|
||||
if (QLCArgs::kioskMode == true && QLCArgs::closeButtonRect.isValid() == true)
|
||||
app.createKioskCloseButton(QLCArgs::closeButtonRect);
|
||||
|
||||
- if (QLCArgs::enableWebAccess == true)
|
||||
- {
|
||||
- WebAccess *webAccess = new WebAccess(app.doc(), VirtualConsole::instance(),
|
||||
- SimpleDesk::instance());
|
||||
-
|
||||
- QObject::connect(webAccess, SIGNAL(toggleDocMode()),
|
||||
- &app, SLOT(slotModeToggle()));
|
||||
- QObject::connect(webAccess, SIGNAL(loadProject(QString)),
|
||||
- &app, SLOT(slotLoadDocFromMemory(QString)));
|
||||
- QObject::connect(webAccess, SIGNAL(storeAutostartProject(QString)),
|
||||
- &app, SLOT(slotSaveAutostart(QString)));
|
||||
- }
|
||||
-
|
||||
return qapp.exec();
|
||||
}
|
||||
89
app-misc/qlcplus/qlcplus-4.9.1.ebuild
Normal file
89
app-misc/qlcplus/qlcplus-4.9.1.ebuild
Normal file
@@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qmake-utils multilib
|
||||
|
||||
DESCRIPTION="Free and cross-platform software to control DMX or analog lighting systems"
|
||||
HOMEPAGE="http://www.qlcplus.org"
|
||||
SRC_URI="http://www.qlcplus.org/downloads/${PV}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+fixtures-editor +httpd midi opendmx ola peperoni udmx"
|
||||
|
||||
LINGUAS="fr"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-4.6:4
|
||||
>=dev-qt/qtgui-4.6:4
|
||||
>=dev-qt/qttest-4.6:4
|
||||
>=media-libs/alsa-lib-1.0.23
|
||||
opendmx? ( >=dev-embedded/libftdi-0.17
|
||||
virtual/libusb:0 )
|
||||
ola? ( >=app-misc/ola-0.9.7 )
|
||||
peperoni? ( virtual/libusb:0 )
|
||||
udmx? ( virtual/libusb:0 )
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}_fix-desktop-files.patch"
|
||||
|
||||
sed -i -e 's#/etc/udev/rules\.d#'$(get_libdir)'/udev/rules.d#g' \
|
||||
plugins/dmxusb/src/src.pro \
|
||||
plugins/hid/hid.pro \
|
||||
plugins/spi/spi.pro \
|
||||
plugins/peperoni/unix/unix.pro \
|
||||
plugins/udmx/src/src.pro || die "Change udev rules path failed"
|
||||
|
||||
sed -i -e '/^unix:!macx:LIBSDIR =/s#lib#'$(get_libdir)'#1' variables.pri || die
|
||||
|
||||
if ! use fixtures-editor ; then
|
||||
sed -i -e '/SUBDIRS += fixtureeditor/d' qlc.pro || die
|
||||
sed -i -e '/desktop.files/s# qlcplus-fixtureeditor.desktop##g' etc/etc.pro || die
|
||||
sed -i -e '/icons.files/s# ../resources/icons/png/qlcplus-fixtureeditor.png##g' etc/etc.pro || die
|
||||
fi
|
||||
|
||||
if ! use httpd ; then
|
||||
sed -i -e '/SUBDIRS += webaccess/d' qlc.pro || die
|
||||
sed -i -e '/INCLUDEPATH += ..\/webaccess\/src/d' main/main.pro || die
|
||||
sed -i -e '/QMAKE_LIBDIR += ..\/webaccess\/src/d' main/main.pro || die
|
||||
sed -i -e '/LIBS += -lqlcpluswebaccess/d' main/main.pro || die
|
||||
sed -i -e '/INCLUDEPATH += ..\/..\/webaccess/d' ui/src/src.pro || die
|
||||
|
||||
epatch "${FILESDIR}/${P}_remove-webaccess.patch"
|
||||
fi
|
||||
|
||||
if ! use midi ; then
|
||||
sed -i -e '/SUBDIRS += midi/d' plugins/plugins.pro || die
|
||||
fi
|
||||
|
||||
if ! use opendmx ; then
|
||||
sed -i -e '/SUBDIRS += dmxusb/d' plugins/plugins.pro || die
|
||||
fi
|
||||
|
||||
if ! use ola ; then
|
||||
sed -i -e '/SUBDIRS += ola/d' plugins/plugins.pro || die
|
||||
fi
|
||||
|
||||
if ! use udmx ; then
|
||||
sed -i -e '/SUBDIRS += udmx/d' plugins/plugins.pro || die
|
||||
fi
|
||||
|
||||
if ! use peperoni ; then
|
||||
sed -i -e '/SUBDIRS += peperoni/d' plugins/plugins.pro || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
}
|
||||
Reference in New Issue
Block a user