From 04153bb866a2131c87c128ef1cfc424965185c53 Mon Sep 17 00:00:00 2001 From: John McQuah Date: Sat, 30 Dec 2023 12:58:37 +0000 Subject: [PATCH] sdl_gfx: update to 2.0.27 --- sdl_gfx/.footprint | 7 +++---- sdl_gfx/.signature | 8 ++++---- sdl_gfx/Pkgfile | 31 ++++++++++++++++--------------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/sdl_gfx/.footprint b/sdl_gfx/.footprint index d92ba65f0..6d82d0112 100644 --- a/sdl_gfx/.footprint +++ b/sdl_gfx/.footprint @@ -9,9 +9,8 @@ drwxr-xr-x root/root usr/include/SDL/ -rw-r--r-- root/root usr/include/SDL/SDL_rotozoom.h drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libSDL_gfx.a --rwxr-xr-x root/root usr/lib/libSDL_gfx.la -lrwxrwxrwx root/root usr/lib/libSDL_gfx.so -> libSDL_gfx.so.16.9.1 -lrwxrwxrwx root/root usr/lib/libSDL_gfx.so.16 -> libSDL_gfx.so.16.9.1 --rwxr-xr-x root/root usr/lib/libSDL_gfx.so.16.9.1 +lrwxrwxrwx root/root usr/lib/libSDL_gfx.so -> libSDL_gfx.so.17.9.1 +lrwxrwxrwx root/root usr/lib/libSDL_gfx.so.17 -> libSDL_gfx.so.17.9.1 +-rwxr-xr-x root/root usr/lib/libSDL_gfx.so.17.9.1 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/SDL_gfx.pc diff --git a/sdl_gfx/.signature b/sdl_gfx/.signature index 3c4cf1a9a..582e619eb 100644 --- a/sdl_gfx/.signature +++ b/sdl_gfx/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3wkrZeuvkV2B2nf5LzXCLicFMwckoVufrSLeK93eGRrqzfp+3eUJtzcOXlANVt8XU2kV24vB8jD2TAYDmY3iPwE= -SHA256 (Pkgfile) = d5845f0ca757658f8f9a7f9e2d7ed319ac31839bfb849150680f5229ba3df879 -SHA256 (.footprint) = 9b824efd118028aa2aa56b8a21fac690f567de47add470153e2884c01b28b592 -SHA256 (SDL_gfx-2.0.26.tar.gz) = 7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446 +RWSagIOpLGJF34Hc5uHMc4P2msQc4L/XVvnt9C0P7bYvCrX3nCfeddzkWG+PiDBFd+lrvIf9YYAX4hPeQtr6dYBbsJ4ZtnNQWAg= +SHA256 (Pkgfile) = 35d0420642c6eccdc2b362146cd608b526dfd2004aceeb9e1517ba430bfebcec +SHA256 (.footprint) = dc808096d7d943d6681fa6b85b8b1611a5074bb19fb8444825283f85d62257e6 +SHA256 (sdl_gfx-2.0.27.tar.gz) = dfb15ac5f8ce7a4952dc12d2aed9747518c5e6b335c0e31636d23f93c630f419 diff --git a/sdl_gfx/Pkgfile b/sdl_gfx/Pkgfile index 3648d3154..329e01e99 100644 --- a/sdl_gfx/Pkgfile +++ b/sdl_gfx/Pkgfile @@ -4,24 +4,25 @@ # Depends on: libsdl name=sdl_gfx -version=2.0.26 -release=2 -source=(https://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-$version.tar.gz) +version=2.0.27 +release=1 +source=(https://sourceforge.net/projects/sdlgfx/files/SDL_gfx-$version.tar.gz/download) +renames=($name-$version.tar.gz) build() { - cd SDL_gfx-$version + cd SDL_gfx-$version - # shipped configure was not regenerated since 2.0.25, resulting in bad soname - sed -i -e 's/-O //' configure.in - mv configure.in configure.ac - autoreconf -fvi + # shipped configure was not regenerated since 2.0.25, resulting in bad soname + sed -e 's/-O //' -e '/^MICRO_VERSION=/s/26/27/' -i configure.in + mv configure.in configure.ac + autoreconf -fvi - ./configure --prefix=/usr - make - make DESTDIR=$PKG install + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + rm $PKG/usr/lib/*.la - # not sure why this path is wrong, it breaks mjpegtools - sed \ - -e 's|^#include |#include |' \ - -i $PKG/usr/include/SDL/SDL_gfxPrimitives.h + # not sure why this path is wrong, it breaks mjpegtools + sed -e 's|^#include |#include |' \ + -i $PKG/usr/include/SDL/SDL_gfxPrimitives.h }