diff options
author | M.Dinslage <daedra1980@gmail.com> | 2023-05-05 20:12:09 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-06 08:28:27 +0700 |
commit | 795bcbbfd021e36f5835d317c4ceba623795d03c (patch) | |
tree | cf1923391d3e05b3c4f28b91f381bd447160001a /system | |
parent | c1495a90f4929ac2d56dc04f746162bb698e9217 (diff) |
system/razergenie: Updated for version 1.0.0.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/razergenie/razergenie.SlackBuild | 24 | ||||
-rw-r--r-- | system/razergenie/razergenie.info | 8 |
2 files changed, 21 insertions, 11 deletions
diff --git a/system/razergenie/razergenie.SlackBuild b/system/razergenie/razergenie.SlackBuild index abdd410ecb5b..aeac8b1b1385 100644 --- a/system/razergenie/razergenie.SlackBuild +++ b/system/razergenie/razergenie.SlackBuild @@ -25,11 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=razergenie -VERSION=${VERSION:-0.9.0_fa4e466} +VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=RazerGenie + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -69,9 +71,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +tar -xvf $CWD/libopenrazer-0.1.0.tar.gz --one-top-level=subprojects/libopenrazer --strip-components=1 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -93,12 +96,17 @@ cd build --sysconfdir=/etc ninja DESTDIR=$PKG ninja install +cd ../ -# we have to manually install this required library -install -Dm755 subprojects/libopenrazer/libopenrazer.so.0.0.1 \ -$PKG/usr/lib${LIBDIRSUFFIX}/libopenrazer.so.0.0.1 +mkdir subprojects/libopenrazer/build +cd subprojects/libopenrazer/build +meson .. +ninja +cd ../../../ -cd .. +# we have to manually install this required library +install -Dm755 subprojects/libopenrazer/build/libopenrazer.so.0.1.0 \ +$PKG/usr/lib${LIBDIRSUFFIX}/libopenrazer.so.0.1.0 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/razergenie/razergenie.info b/system/razergenie/razergenie.info index 9052253a3b4e..35c826169823 100644 --- a/system/razergenie/razergenie.info +++ b/system/razergenie/razergenie.info @@ -1,8 +1,10 @@ PRGNAM="razergenie" -VERSION="0.9.0_fa4e466" +VERSION="1.0.0" HOMEPAGE="https://github.com/z3ntu/RazerGenie" -DOWNLOAD="https://www.dropbox.com/s/28nbrcnozb2aavv/razergenie-0.9.0_fa4e466.tar.gz" -MD5SUM="f142d3ec3dca9d8714636179cc3ddcd6" +DOWNLOAD="https://github.com/z3ntu/RazerGenie/archive/v1.0.0/RazerGenie-1.0.0.tar.gz \ + https://github.com/z3ntu/libopenrazer/archive/v0.1.0/libopenrazer-0.1.0.tar.gz" +MD5SUM="83b98a6e97b98cd997919a7edb61d4a5 \ + 5c4af17ddce7ebc9bf781a7d5d78f30a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="openrazer-daemon" |