Собрал и установил в каталог по инструкции от автора OpenRGB:
Код: Выделить всё
Compiling
Install build dependencies
sudo apt install git build-essential qtcreator qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libusb-1.0-0-dev libhidapi-dev pkgconf libmbedtls-dev
git clone https://gitlab.com/CalcProgrammer1/OpenRGB
cd OpenRGB
qmake OpenRGB.pro
make -j$(nproc)
You can then run the application from the compile directory with ./openrgb or install with make install
You will also need to install the latest UDEV rules.
Код: Выделить всё
/tmp/package-openrgb
└── usr
├── bin
│ └── openrgb
├── lib
│ └── udev
│ └── rules.d
│ └── 60-openrgb.rules
└── share
├── applications
│ └── OpenRGB.desktop
├── icons
│ └── hicolor
│ └── 128x128
│ └── apps
│ └── OpenRGB.png
└── metainfo
└── org.openrgb.OpenRGB.metainfo.xml
Код: Выделить всё
Configure and Compile Sources
# Set configure options
# If your app is written in C++, you'll also need to add a line for CXXFLAGS
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-perl=/usr/bin/perl \
--enable-eps \
--enable-gif \
--enable-png \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
# compile the source, but exit if anything goes wrong
make || exit
# Install everything into the package directory, but exit if anything goes wrong
make install DESTDIR=$PKG || exit
Код: Выделить всё
CC = gcc
CXX = g++
DEFINES = -DVERSION_STRING=\""0.81\"" -DBUILDDATE_STRING=\""Sun, 15 Jan 2023 18:31:42 +0300\"" -DGIT_COMMIT_ID=\""915ecefd161a38552e48c9ec51eac37562c574d2\"" -DGIT_COMMIT_DATE=\""2023-01-14 03:26:22 +0000\"" -DGIT_BRANCH=\""master\"" -DUSE_HID_USAGE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
CFLAGS = -pipe -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC $(DEFINES)
CXXFLAGS = -pipe -Wno-implicit-fallthrough -O2 -O2 -fPIC -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC $(DEFINES)
Udev в slackware я так понимаю надо помещать в /etc/udev/rules.d?
И еще я не понял с зависимостями:
Код: Выделить всё
qtcreator qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
Код: Выделить всё
qt5-5.15.3_20220318_e507d3e5-x86_64-1_slack15.0
qt5-webkit-5.212.0_alpha4-x86_64-7