aboutsummaryrefslogtreecommitdiff
path: root/libraries/allegro4
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2020-12-25 11:10:12 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:07:52 -0500
commit95ca5545579fb1c02b9e18e1cb624f5315d10e66 (patch)
tree788cd44252d4b358579168f57ba12069be243a4e /libraries/allegro4
parent3c7db9e963e3e0570df82eef1f945bb0f213867d (diff)
libraries/allegro4: Updated for version 4.4.3.1.
Patch to allow building the docs with texinfo 6.7 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/allegro4')
-rw-r--r--libraries/allegro4/allegro4.SlackBuild6
-rw-r--r--libraries/allegro4/allegro4.info6
-rw-r--r--libraries/allegro4/texinfo-6.7.patch10
3 files changed, 16 insertions, 6 deletions
diff --git a/libraries/allegro4/allegro4.SlackBuild b/libraries/allegro4/allegro4.SlackBuild
index 27a3b21428a95..2c4ab236f4576 100644
--- a/libraries/allegro4/allegro4.SlackBuild
+++ b/libraries/allegro4/allegro4.SlackBuild
@@ -32,7 +32,7 @@
PRGNAM=allegro4
SRCNAM=allegro
-VERSION=${VERSION:-4.4.2}
+VERSION=${VERSION:-4.4.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,6 +79,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/build-dir.diff
+patch -p1 < $CWD/texinfo-6.7.patch
mkdir -p build
cd build
@@ -110,8 +111,7 @@ if [ -e /usr/share/sounds/eawpats/default.cfg ]; then
$PKG/usr/share/$SRCNAM/patches.dat
fi
-mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION
-cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$SRCNAM-$VERSION
+mv $PKG/usr/doc/$SRCNAM-* $PKG/usr/doc/$SRCNAM-$VERSION || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$SRCNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/allegro4/allegro4.info b/libraries/allegro4/allegro4.info
index ebe3d3df2478e..cdb82cbe35d15 100644
--- a/libraries/allegro4/allegro4.info
+++ b/libraries/allegro4/allegro4.info
@@ -1,8 +1,8 @@
PRGNAM="allegro4"
-VERSION="4.4.2"
+VERSION="4.4.3.1"
HOMEPAGE="https://www.allegro.cc/"
-DOWNLOAD="https://downloads.sourceforge.net/alleg/allegro-4.4.2.tar.gz"
-MD5SUM="4db71b0460fc99926ae91d223199c2e6"
+DOWNLOAD="https://github.com/liballeg/allegro5/releases/download/4.4.3.1/allegro-4.4.3.1.tar.gz"
+MD5SUM="d0435da87d4c157ad3620e1cc58b807e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/allegro4/texinfo-6.7.patch b/libraries/allegro4/texinfo-6.7.patch
new file mode 100644
index 0000000000000..23f3dc83d98da
--- /dev/null
+++ b/libraries/allegro4/texinfo-6.7.patch
@@ -0,0 +1,10 @@
+--- a/docs/src/allegro._tx 2020-12-24 17:20:47.460212662 -0600
++++ a/docs/src/allegro._tx 2020-12-24 17:22:03.453620793 -0600
+@@ -23,6 +23,7 @@
+ @man_shortdesc_force1=allegro
+ @man_shortdesc_force2=Allegro game programming library.
+ @$\input texinfo
++@$@documentencoding ISO-8859-1
+ @$@setfilename allegro.inf
+ @$@settitle Allegro Manual
+ @$@setchapternewpage odd