diff options
-rw-r--r-- | development/arcan/arcan.SlackBuild | 22 | ||||
-rw-r--r-- | development/arcan/arcan.info | 2 |
2 files changed, 10 insertions, 14 deletions
diff --git a/development/arcan/arcan.SlackBuild b/development/arcan/arcan.SlackBuild index 14da55d29751..99bcc3761cf5 100644 --- a/development/arcan/arcan.SlackBuild +++ b/development/arcan/arcan.SlackBuild @@ -23,11 +23,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20241017 bkw: Modified by SlackBuilds.org, BUILD=2: build with luajit, +# since it won't build with lua 5.4, and since upstream supports luajit +# via the DISABLE_JIT cmake argument. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=arcan VERSION=${VERSION:-0.6.1.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,11 +76,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + # patch for fix library and man path patch -p1 < $CWD/gnu-install-dirs-3.diff @@ -88,9 +89,8 @@ patch -p1 < $CWD/gnu-install-dirs-3.diff -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_INSTALL_MANDIR=/usr/man \ -DSTATIC_LIBUVC=OFF \ - -DDISABLE_JIT=ON \ + -DDISABLE_JIT=OFF \ -DCMAKE_BUILD_TYPE=Release \ - -DLUA_INCLUDE_DIR=/usr/include/lua5.1 \ -DVIDEO_PLATFORM=egl-dri \ -DSHMIF_TUI_ACCEL=ON \ -DENABLE_LWA=ON \ @@ -100,11 +100,7 @@ patch -p1 < $CWD/gnu-install-dirs-3.diff make make install/strip DESTDIR=$PKG -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 - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +gzip -9 $PKG/usr/man/man*/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGELOG.md COPYING HACKING.md README.md $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/arcan/arcan.info b/development/arcan/arcan.info index 7d0bd13efd85..f46602d0fad5 100644 --- a/development/arcan/arcan.info +++ b/development/arcan/arcan.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/letoram/arcan/archive/0.6.1.1/arcan-0.6.1.1.tar.gz" MD5SUM="30ba84fe658f4136865756ece8b2e503" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="lua tesseract" +REQUIRES="luajit tesseract" MAINTAINER="Damian Perticone" EMAIL="mjolnirdam@gmail.com" |