summaryrefslogtreecommitdiffstats
path: root/libraries/allegro
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/allegro')
-rw-r--r--libraries/allegro/README13
-rw-r--r--libraries/allegro/allegro.SlackBuild3
-rw-r--r--libraries/allegro/allegro.info6
3 files changed, 18 insertions, 4 deletions
diff --git a/libraries/allegro/README b/libraries/allegro/README
index 920768e002..6abdda452c 100644
--- a/libraries/allegro/README
+++ b/libraries/allegro/README
@@ -12,3 +12,16 @@ 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
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index 6ad7d5af6c..1c6d8c9db4 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=allegro
SRCNAM=allegro5
-VERSION=${VERSION:-5.2.5.0}
+VERSION=${VERSION:-5.2.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +80,7 @@ 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
diff --git a/libraries/allegro/allegro.info b/libraries/allegro/allegro.info
index 8a79fab4ad..da048b802b 100644
--- a/libraries/allegro/allegro.info
+++ b/libraries/allegro/allegro.info
@@ -1,8 +1,8 @@
PRGNAM="allegro"
-VERSION="5.2.5.0"
+VERSION="5.2.6.0"
HOMEPAGE="https://liballeg.org/"
-DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.5.0/allegro5-5.2.5.0.tar.gz"
-MD5SUM="fc9313e929cbe80401d335be33b964c2"
+DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.6.0/allegro5-5.2.6.0.tar.gz"
+MD5SUM="ba218861ee98ee855213af3f602a6049"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""