As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@

This commit is contained in:
purplerain 2024-05-26 03:08:12 +00:00
parent 83a0aaf92c
commit 9a3af55370
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
59377 changed files with 98673 additions and 4712155 deletions

View file

@ -1,12 +1,12 @@
COMMENT= cross-platform multimedia library
V= 2.28.3
V= 2.30.3
DISTNAME= SDL2-${V}
PKGNAME= sdl2-${V}
CATEGORIES= devel
SITES= https://www.libsdl.org/release/
SHARED_LIBS= SDL2 0.14 # 2.28.1
SHARED_LIBS= SDL2 0.15 # 2.30.0
HOMEPAGE= https://www.libsdl.org/
@ -17,12 +17,13 @@ DEBUG_PACKAGES= ${BUILD_PACKAGES}
# zlib
PERMIT_PACKAGE= Yes
WANTLIB+= X11 Xcursor Xext Xfixes Xi Xrandr Xrender Xss m pthread samplerate
WANTLIB+= sndio usbhid xcb
WANTLIB+= X11 Xcursor Xext Xfixes Xi Xrandr Xrender Xss iconv m pthread
WANTLIB+= samplerate sndio usbhid xcb
# GL library is dlopen'd
WANTLIB+= GL
LIB_DEPENDS= audio/libsamplerate
LIB_DEPENDS= audio/libsamplerate \
converters/libiconv
USE_GMAKE= Yes
SEPARATE_BUILD= Yes
@ -46,7 +47,8 @@ CONFIGURE_ARGS+= --disable-alsa \
--disable-wayland-shared \
--disable-x11-shared
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_header_linux_input_h=no
.if ${MACHINE_ARCH} == "hppa"
CONFIGURE_ARGS+= --disable-atomic