From eb562ec7f3be1266ffb3fe02631921d0e7a5f1ae Mon Sep 17 00:00:00 2001 From: bugcrazy Date: Wed, 5 Jul 2023 04:27:14 -0300 Subject: [PATCH] agg: update to 2.6.1 Update patch for agg version 2.6.x --- ....4-depends.patch => agg-2.6-depends.patch} | 14 ++++++------- srcpkgs/agg/template | 20 +++++++++++-------- 2 files changed, 19 insertions(+), 15 deletions(-) rename srcpkgs/agg/patches/{agg-2.4-depends.patch => agg-2.6-depends.patch} (79%) diff --git a/srcpkgs/agg/patches/agg-2.4-depends.patch b/srcpkgs/agg/patches/agg-2.6-depends.patch similarity index 79% rename from srcpkgs/agg/patches/agg-2.4-depends.patch rename to srcpkgs/agg/patches/agg-2.6-depends.patch index 8f3fd6f377a9..db0f4841cc2f 100644 --- a/srcpkgs/agg/patches/agg-2.4-depends.patch +++ b/srcpkgs/agg/patches/agg-2.6-depends.patch @@ -21,9 +21,9 @@ +libaggplatformsdl_la_LIBADD = ../../libagg.la @SDL_LIBS@ endif ---- a/configure.in 2006-10-09 05:06:36.000000000 +0100 -+++ b/configure.in 2007-01-07 14:07:39.000000000 +0000 -@@ -122,7 +122,8 @@ +--- a/configure.ac 2023-04-01 07:28:38.000000000 -0300 ++++ b/configure.ac 2023-07-05 02:14:00.092376054 -0300 +@@ -123,7 +123,8 @@ fi AM_CONDITIONAL(ENABLE_X11,[test x$no_x = x -a xno != x$enable_platform -a x$win32_host != xyes]) AC_SUBST(x_includes) @@ -33,16 +33,16 @@ dnl ############################################### dnl Settung up library version ---- a/src/platform/X11/Makefile.am 2006-12-11 00:59:45.000000000 +0000 -+++ b/src/platform/X11/Makefile.am 2007-01-07 14:07:39.000000000 +0000 +--- a/src/platform/X11/Makefile.am 2023-04-01 07:28:38.000000000 -0300 ++++ b/src/platform/X11/Makefile.am 2023-07-05 01:49:38.771562173 -0300 @@ -1,8 +1,8 @@ if ENABLE_X11 lib_LTLIBRARIES = libaggplatformX11.la --libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ -L@x_libraries@ +-libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ +libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @X_LDFLAGS@ libaggplatformX11_la_SOURCES = agg_platform_support.cpp - libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include -I@x_includes@ + libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include @x_includes@ -libaggplatformX11_la_LIBADD = -lX11 +libaggplatformX11_la_LIBADD = ../../libagg.la -lX11 endif diff --git a/srcpkgs/agg/template b/srcpkgs/agg/template index 2069096d4cdf..1678bf1d7ec7 100644 --- a/srcpkgs/agg/template +++ b/srcpkgs/agg/template @@ -1,21 +1,21 @@ # Template file for 'agg' pkgname=agg -version=2.5 -revision=5 +version=2.6.1 +revision=1 build_style=gnu-configure configure_args="--disable-examples" hostmakedepends="SDL-devel automake gettext-devel libtool pkg-config" makedepends="SDL-devel freetype-devel" short_desc="High Quality Rendering Engine for C++" -maintainer="Orphaned " -license="GPL-2.0-or-later" -homepage="https://agg.sourceforge.net/antigrain.com/" -distfiles="http://www.antigrain.com/agg-${version}.tar.gz" -checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f +maintainer="MarcoAPC " +license="custom:Anti-Grain Geometry Public License, custom:Modified BSD License" +homepage="https://github.com/aggeom/agg-2.6" +distfiles="https://github.com/aggeom/agg-2.6/archive/agg-${version}.tar.gz" +checksum=685966f880f1c2aae19479b60525fafba8cbd88e4c62d1947767780df8f6a3d0 disable_parallel_build=yes pre_configure() { - sed -e '/AM_C_PROTOTYPES/d' -i configure.in + sed -e '/AM_C_PROTOTYPES/d' -i configure.ac touch NEWS README AUTHORS autoreconf -fi } @@ -31,3 +31,7 @@ agg-devel_package() { vmove usr/share } } + +post_install() { + vlicense copying +}