allegro4: update to 4.4.3.

This commit is contained in:
maxice8 2019-02-18 03:15:25 -03:00 committed by maxice8
parent 25894508c3
commit 2b6ea3935a
2 changed files with 5 additions and 33 deletions

View File

@ -1,28 +0,0 @@
--- addons/allegrogl/include/alleggl.h
+++ addons/allegrogl/include/alleggl.h
@@ -62,10 +62,14 @@
/* HACK: Prevent both Mesa and SGI's broken headers from screwing us */
#define __glext_h_
+#define __gl_glext_h_
#define __glxext_h_
+#define __glx_glxext_h_
#include <GL/gl.h>
#undef __glext_h_
+#undef __gl_glext_h_
#undef __glxext_h_
+#undef __glx_glxext_h_
#endif /* ALLEGRO_MACOSX */
--- addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h
+++ addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h
@@ -1,6 +1,8 @@
/* HACK: Prevent both Mesa and SGI's broken headers from screwing us */
#define __glxext_h_
+#define __glx_glxext_h_
#include <GL/glx.h>
+#undef __glx_glxext_h_
#undef __glxext_h_
#ifndef GLX_VERSION_1_3

View File

@ -1,7 +1,7 @@
# Template file for 'allegro4'
pkgname=allegro4
version=4.4.2
revision=6
version=4.4.3
revision=1
wrksrc="allegro-${version}"
build_style=cmake
configure_args="-DWANT_DOCS=OFF"
@ -14,8 +14,9 @@ short_desc="Portable library mainly aimed at video game and multimedia programmi
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="Allegro License (MIT alike)"
homepage="http://alleg.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/alleg/allegro-$version.tar.gz"
checksum=1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc
homepage="https://liballeg.org"
distfiles="https://github.com/liballeg/allegro5/releases/download/${version}/allegro-${version}.tar.gz"
checksum=1e096e435e49e2dfd924d9c54ed7325caa1b06cecd28c3307146dd0de3d0bcb4
nocross=yes
post_install() {
@ -28,7 +29,6 @@ allegro4-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/bin/allegro-config
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}