libraries/allegro: Removing workaround for 14.2, and updated for version 5.2.7.0

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2021-04-17 11:11:52 +02:00 committed by Willy Sudiarto Raharjo
parent ed36fb57e4
commit 04aec59083
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 4 additions and 18 deletions

View File

@ -12,16 +12,3 @@ contributions from all over the world! Some of its key features include:
* Open Source - anyone can contribute, including you!
* Free - it won't cost you a dime, and there are no restrictions on
its usage
You can disable native_dialog addon by passing this option :
ALLEGRO_NATIVE_DIALOG=off ./allegro.Slackbuild
Since it depends on gtk3, and slackware-14.2's gtk3 is too old, this addon
prevents allegro 5.2.7+ to build on slackware-14.2.
So if you want, or need, to build allegro 5.2.7.0 on slackware-14.2 you have
to disable this addon by running this command :
VERSION=2.5.7.0 ALLEGRO_NATIVE_DIALOG=off ./allegro.Slackbuild
On slackware-current, the simple version bump is enough, and the native_dialog
addon works pretty fine :
VERSION=2.5.7.0 ./allegro.Slackbuild

View File

@ -25,7 +25,7 @@
PRGNAM=allegro
SRCNAM=allegro5
VERSION=${VERSION:-5.2.6.0}
VERSION=${VERSION:-5.2.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -80,7 +80,6 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DWANT_NATIVE_DIALOG=${ALLEGRO_NATIVE_DIALOG:-on} \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="allegro"
VERSION="5.2.6.0"
VERSION="5.2.7.0"
HOMEPAGE="https://liballeg.org/"
DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.6.0/allegro5-5.2.6.0.tar.gz"
MD5SUM="ba218861ee98ee855213af3f602a6049"
DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.7.0/allegro5-5.2.7.0.tar.gz"
MD5SUM="0485609b34225ec796e9ce908938bdd5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""