aboutsummaryrefslogtreecommitdiff
path: root/libraries/allegro
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2024-01-10 15:02:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-11 12:21:56 +0700
commit4b65d85c00869aa8077c8338e8156b0b42015d5a (patch)
tree87a1cfa880067d5cab1bb80f220d880529140272 /libraries/allegro
parent34fe5177f4c3eefa1cf656b980126a775c20f5ad (diff)
libraries/allegro: updated for version 5.2.9.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/allegro')
-rw-r--r--libraries/allegro/allegro.SlackBuild11
-rw-r--r--libraries/allegro/allegro.info6
2 files changed, 13 insertions, 4 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index 12434a75b631a..a3aafa710e714 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=allegro
SRCNAM=allegro5
-VERSION=${VERSION:-5.2.8.0}
+VERSION=${VERSION:-5.2.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,6 +63,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -95,6 +98,12 @@ cd build
make install DESTDIR=$PKG
cd ..
+# Better handling of /usr/lib${LIBDIRSUFFIX}
+[ ! -d "$PKG/usr/lib${LIBDIRSUFFIX}/cmake" ] && mv $PKG/usr/lib*/cmake $PKG/usr/lib${LIBDIRSUFFIX}/cmake
+[ ! -d "$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig" ] && mv $PKG/usr/lib*/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+# At least for x86_64 libs are copied into both usr/lib/ and usr/lib64/
+rm -rf $(ls -d $PKG/usr/lib* | grep -v "usr/lib${LIBDIRSUFFIX}") | true
+
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/libraries/allegro/allegro.info b/libraries/allegro/allegro.info
index b211fbcda7f0a..ffbc57ebcda8b 100644
--- a/libraries/allegro/allegro.info
+++ b/libraries/allegro/allegro.info
@@ -1,8 +1,8 @@
PRGNAM="allegro"
-VERSION="5.2.8.0"
+VERSION="5.2.9.0"
HOMEPAGE="https://liballeg.org/"
-DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.8.0/allegro5-5.2.8.0.tar.gz"
-MD5SUM="4da199c59af5e519b885f52efdd39bb5"
+DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.9.0/allegro5-5.2.9.0.tar.gz"
+MD5SUM="63e00a72f6986e439be6c092671d9460"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""