From 2b6ea3935ada340308b5ecbec9264eb925e3523f Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 18 Feb 2019 03:15:25 -0300 Subject: [PATCH] allegro4: update to 4.4.3. --- .../fix_building_with_newer_mesa.patch | 28 ------------------- srcpkgs/allegro4/template | 10 +++---- 2 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/allegro4/patches/fix_building_with_newer_mesa.patch diff --git a/srcpkgs/allegro4/patches/fix_building_with_newer_mesa.patch b/srcpkgs/allegro4/patches/fix_building_with_newer_mesa.patch deleted file mode 100644 index f62de1b07d6..00000000000 --- a/srcpkgs/allegro4/patches/fix_building_with_newer_mesa.patch +++ /dev/null @@ -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 - #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 -+#undef __glx_glxext_h_ - #undef __glxext_h_ - - #ifndef GLX_VERSION_1_3 diff --git a/srcpkgs/allegro4/template b/srcpkgs/allegro4/template index 146d0c52555..b6a350d4be3 100644 --- a/srcpkgs/allegro4/template +++ b/srcpkgs/allegro4/template @@ -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 " 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 }