diff --git a/devel/sdl12-compat/Makefile b/devel/sdl12-compat/Makefile index 789606f73b4a..01319f4cbeca 100644 --- a/devel/sdl12-compat/Makefile +++ b/devel/sdl12-compat/Makefile @@ -1,70 +1,70 @@ PORTNAME= sdl12-compat DISTVERSIONPREFIX= release- -DISTVERSION= 1.2.70 +DISTVERSION= 1.2.72 CATEGORIES= devel wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes WWW= https://github.com/libsdl-org/sdl12-compat LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake:testing localbase sdl USE_GITHUB= yes USE_LDCONFIG= yes USE_SDL= sdl2 CMAKE_OFF= SDL12DEVEL CMAKE_OFF+= ${CMAKE_TESTING_ON} CMAKE_TESTING_ON= SDL12TESTS CMAKE_TESTING_TARGET= # post-test GH_ACCOUNT= libsdl-org SUFFIX= -${PORTNAME:C/.*-//} PLIST_FILES= etc/libmap.d/${PORTNAME}.conf \ lib/libSDL-1.2${SUFFIX}.so \ lib/libSDL-1.2${SUFFIX}.so.0 \ lib/libSDL-1.2${SUFFIX}.so.${DISTVERSION:C/-*//} \ "@comment lib/libSDLmain.a" post-patch: # Add library suffix to co-exist with sdl12 package @${REINPLACE_CMD} -e '/OUTPUT_NAME/s/")$$/${SUFFIX}&/' \ ${WRKSRC}/CMakeLists.txt # Drop unused dependency on libGLU @${REINPLACE_CMD} -e '/glu\.h/d' \ ${WRKSRC}/include/SDL/SDL_opengl.h post-install: # Replace sdl12 with sdl12-compat at runtime @${ECHO_CMD} ${PLIST_FILES:T:M*.so.?:_:S/${SUFFIX}//} $_ \ >${STAGEDIR}${PREFIX}/etc/libmap.d/${PORTNAME}.conf pre-test: # Enable RPATH for test executables to avoid LD_LIBRARY_PATH @${REINPLACE_CMD} -i.tests -e '/CMAKE_SKIP_RPATH/d' \ ${WRKSRC}/CMakeLists.txt post-test: # subset known to work .for t in ver error file platform thread timer (cd ${TEST_WRKSRC} && ./test$t) .endfor (cd ${TEST_WRKSRC} && ./testloadso libpthread.so pthread_create) (cd ${TEST_WRKSRC} && ./torturethread) # (cd ${TEST_WRKSRC} && ./testiconv) # FAIL: UCS4 # (cd ${TEST_WRKSRC} && timeout 10 ./testlock) # hangs # (cd ${TEST_WRKSRC} && timeout -s ABRT 20 ./testsem mysem) # hangs .if exists(/dev/dsp) (cd ${TEST_WRKSRC} && timeout --preserve-status 10 ./loopwave) .endif .if defined(WAYLAND_DISPLAY) || defined(DISPLAY) || exists(/dev/dri/card0) # Text-only: finishes without interaction . for t in vidinfo joystick keys blitspeed (cd ${TEST_WRKSRC} && ./test$t) . endfor # Window: finishes via user input or timeout . for t in bitmap gl overlay overlay2 sprite win (cd ${TEST_WRKSRC} && timeout --preserve-status 3 ./test$t) . endfor .endif .include diff --git a/devel/sdl12-compat/distinfo b/devel/sdl12-compat/distinfo index 936889326de0..e67d26ca216a 100644 --- a/devel/sdl12-compat/distinfo +++ b/devel/sdl12-compat/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1761833505 -SHA256 (libsdl-org-sdl12-compat-release-1.2.70_GH0.tar.gz) = b8350cc400b9605dd5e319f451f09d5d6e70bb1dfc22cd67f718b3ffc16ebb7c -SIZE (libsdl-org-sdl12-compat-release-1.2.70_GH0.tar.gz) = 495180 +TIMESTAMP = 1764706421 +SHA256 (libsdl-org-sdl12-compat-release-1.2.72_GH0.tar.gz) = daf6726b89d71120395472dd3cbc16c7a3b0bcbe2c1495de90885d4c2b266d3e +SIZE (libsdl-org-sdl12-compat-release-1.2.72_GH0.tar.gz) = 495714