aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/allegro/README13
-rw-r--r--libraries/allegro/allegro.SlackBuild1
2 files changed, 14 insertions, 0 deletions
diff --git a/libraries/allegro/README b/libraries/allegro/README
index 920768e002218..6abdda452c907 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 7c4ca6c4df253..1c6d8c9db4afc 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -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