summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdl_gfx/.signature4
-rw-r--r--sdl_gfx/Pkgfile9
2 files changed, 10 insertions, 3 deletions
diff --git a/sdl_gfx/.signature b/sdl_gfx/.signature
index e2884df53..632790c69 100644
--- a/sdl_gfx/.signature
+++ b/sdl_gfx/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3zBfgYIqAuYyd9PMnmD4IUKzsL64GyszCXZ/Tr58/e5gbIWz0jWJP91acHYs4bSmqCd70AzJQlKi0DhZQ/GVUAE=
-SHA256 (Pkgfile) = 64e7d7fa1808559fd7520aa0defe2eddc0081e6e1d5dd8717aa6f07fd89c2e3b
+RWSagIOpLGJF30B7Tnw0NrgzUvZlx88vgDjsXOOfJkM0JHVYgIYJMzIzgUdb+ZCQC1BzOc3L6zeUxV+8re57Pp/T5SQWLkh91AU=
+SHA256 (Pkgfile) = 32402f254e726a3772bc1be76bff52d81d5bfcb6384267664c0296e87d075e73
SHA256 (.footprint) = 9b824efd118028aa2aa56b8a21fac690f567de47add470153e2884c01b28b592
SHA256 (SDL_gfx-2.0.26.tar.gz) = 7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446
diff --git a/sdl_gfx/Pkgfile b/sdl_gfx/Pkgfile
index b1ff38236..8d1442608 100644
--- a/sdl_gfx/Pkgfile
+++ b/sdl_gfx/Pkgfile
@@ -5,16 +5,23 @@
name=sdl_gfx
version=2.0.26
-release=1
+release=2
source=(https://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-$version.tar.gz)
build() {
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
./configure --prefix=/usr
make
make DESTDIR=$PKG install
+
+ # 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
}

Generated by cgit