From 8be542138b26674aac4c936e5a333f79bedd14dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Sun, 26 May 2024 01:15:16 +0900 Subject: [PATCH] =?utf8?q?NetBSD=E5=90=91=E3=81=91=E3=81=AE=E3=82=B9?= =?utf8?q?=E3=83=86=E3=83=83=E3=83=97=E3=81=AE=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- MISSING-STATIC-NETBSD.md | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/MISSING-STATIC-NETBSD.md b/MISSING-STATIC-NETBSD.md index c1ff748..6616157 100644 --- a/MISSING-STATIC-NETBSD.md +++ b/MISSING-STATIC-NETBSD.md @@ -3,20 +3,18 @@ SDL2からgayland対応を取り消す事が必要になります。 # libSDL2 ``` -odl https://www.libsdl.org/release/SDL2-2.30.3.tar.gz -tar zxfv SDL2-2.30.3.tar.gz -cd SDL2-2.30.3 -./configure --enable-static --enable-video-wayland=no --prefix=/usr/pkg -gmake -doas gmake install -``` - -# libSDL2_image -``` -odl https://github.com/libsdl-org/SDL_image/releases/download/release-2.8.2/SDL2_image-2.8.2.tar.gz -tar zxfv SDL2_image-2.8.2.tar.gz -cd SDL2_image-2.8.2 -cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/pkg -DCMAKE_INSTALL_LIBDIR=lib -ninja -C build -doas ninja -C build install +doas su +cd /usr +odl https://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc.tar.gz +tar zxfv pkgsrc.tar.gz +cd pkgsrc/bootstrap +./bootstrap +cd ../devel +rm -rf SDL2 +odl https://076.moe/repo/3rdparty/src/netbsd-SDL2-no-gayland.tar.gz +tar zxfv netbsd-SDL2-no-gayland.tar.gz +rm -rf netbsd-SDL2-no-gayland.tar.gz +cd SDL2 +make +make install ``` -- 2.43.0