feat: ports - libnsutils, libnslog, libutf8proc, libnspsl, libnsgif, libnsbmp

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Ae69wJS7sueQMUwNxV3nX
This commit is contained in:
2026-08-07 20:28:37 +02:00
co-authored by Claude Opus 5
parent f1d17b62c1
commit d14c8565d3
16 changed files with 251 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# libnsbmp for MontaukOS
#
# Upstream: https://github.com/netsurf-browser/libnsbmp (official mirror of
# git.netsurf-browser.org) (submodule at
# upstream/, pinned, no local patches).
#
# BMP and ICO decoder. Self-contained.
UPSTREAM := upstream
PORT_NAME := libnsbmp
PORT_LIB := 1
PORT_ARCHIVE := libnsbmp.a
PORT_PC_IN := $(UPSTREAM)/libnsbmp.pc.in
PORT_PC_VERSION := 0.1.7
PORT_HEADER_ROOT := $(UPSTREAM)/include
PORT_HEADERS := $(shell find $(UPSTREAM)/include -name '*.h' 2>/dev/null)
include ../../mk/port.mk
.PHONY: all clean
all: install-lib
$(PORT_ARCHIVE): $(shell find $(UPSTREAM)/src $(UPSTREAM)/include -name '*.c' -o -name '*.h' 2>/dev/null)
$(call ns_build,$(UPSTREAM),nsbmp)
clean: clean-lib
@$(call ns_clean,$(UPSTREAM))
rm -rf $(UPSTREAM)/$(NS_BUILDDIR)
+29
View File
@@ -0,0 +1,29 @@
# libnsgif for MontaukOS
#
# Upstream: https://github.com/netsurf-browser/libnsgif (official mirror of
# git.netsurf-browser.org) (submodule at
# upstream/, pinned, no local patches).
#
# GIF decoder. Self-contained -- no zlib or libpng dependency.
UPSTREAM := upstream
PORT_NAME := libnsgif
PORT_LIB := 1
PORT_ARCHIVE := libnsgif.a
PORT_PC_IN := $(UPSTREAM)/libnsgif.pc.in
PORT_PC_VERSION := 1.0.0
PORT_HEADER_ROOT := $(UPSTREAM)/include
PORT_HEADERS := $(shell find $(UPSTREAM)/include -name '*.h' 2>/dev/null)
include ../../mk/port.mk
.PHONY: all clean
all: install-lib
$(PORT_ARCHIVE): $(shell find $(UPSTREAM)/src $(UPSTREAM)/include -name '*.c' -o -name '*.h' 2>/dev/null)
$(call ns_build,$(UPSTREAM),nsgif)
clean: clean-lib
@$(call ns_clean,$(UPSTREAM))
rm -rf $(UPSTREAM)/$(NS_BUILDDIR)