forked from ports/contrib
sdl_gfx: update to 2.0.27
This commit is contained in:
parent
23ec6a676e
commit
04153bb866
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 <SDL.h>|#include <SDL/SDL.h>|' \
|
||||
-i $PKG/usr/include/SDL/SDL_gfxPrimitives.h
|
||||
# not sure why this path is wrong, it breaks mjpegtools
|
||||
sed -e 's|^#include <SDL.h>|#include <SDL/SDL.h>|' \
|
||||
-i $PKG/usr/include/SDL/SDL_gfxPrimitives.h
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user