[openrgb] sync with SBo

This commit is contained in:
Gwenhael Le Moine 2024-09-02 13:58:57 +02:00
parent 16811275da
commit 93bce15491
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -10,7 +10,7 @@ PRGNAM=$(basename "$CWD")
PKG=$TMP/pkg-$PRGNAM
ARCH=$(uname -m)
BUILD=1
BUILD=2
VERSION=${VERSION:-latest}
REPOSITORY=/home/installs/SlackBuilds/_repositories/$PRGNAM
@ -30,6 +30,15 @@ cd "$TMP"/"$PRGNAM"/ || exit 1
[ "$VERSION" == "" ] && VERSION=trunk
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" #|| git checkout $VERSION
# Override default udev rule location since it would put it in a
# non-standard location in Slackware
sed -i 's|$$PREFIX/lib/udev/|/lib/udev/|g' OpenRGB.pro
sed -i 's|/usr/lib/udev/|/lib/udev/|' README.md ResourceManager.cpp
# This fixes breakage if someone is running experimental versions (master branch)
# It does not affect the current release
sed -i '/.*certs\.h/'d dependencies/hueplusplus-1.?.0/src/EntertainmentMode.cpp
qmake6 DOCS_DIR=/usr/doc/"$PRGNAM" MAN_DIR=/usr/man/man1 OpenRGB.pro
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \