diff --git a/xap/OpenRGB/SlackBuild b/xap/openrgb/SlackBuild similarity index 83% rename from xap/OpenRGB/SlackBuild rename to xap/openrgb/SlackBuild index cc4e065d..26e37288 100755 --- a/xap/OpenRGB/SlackBuild +++ b/xap/openrgb/SlackBuild @@ -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" \