commit 37690d224d67500407960ad7c744a7d05562c853
parent e93c955ea0bac3e6de30d91183d96008da426f10
Author: finwo <finwo@pm.me>
Date: Mon, 16 Mar 2026 13:08:06 +0100
Convert kgabis/parson,webview/webview to new package format
Diffstat:
5 files changed, 2 insertions(+), 66 deletions(-)
diff --git a/MANIFEST b/MANIFEST
@@ -9,6 +9,7 @@ finwo/mindex https://git.finwo.net/lib/mindex.c/archives/heads/main.tar
finwo/resp https://git.finwo.net/lib/resp.c/archives/heads/main.tar.gz
finwo/url-parser https://git.finwo.net/lib/url-parser.c/archives/heads/main.tar.gz
graphitemaster/incbin https://git.finwo.net/misc/dep-repository/archives/heads/pkg/graphitemaster/incbin.tar.gz
+kgabis/parson https://git.finwo.net/misc/dep-repository/archives/heads/pkg/kgabis/parson.tar.gz
orlp/ed25519 https://git.finwo.net/misc/dep-repository/archives/heads/pkg/orlp/ed25519.tar.gz
rxi/log https://git.finwo.net/misc/dep-repository/archives/heads/pkg/rxi/log.tar.gz
rxi/microtar https://git.finwo.net/misc/dep-repository/archives/heads/pkg/rxi/microtar.tar.gz
@@ -22,4 +23,5 @@ tidwall/match https://git.finwo.net/misc/dep-repository/archives/heads/pk
tidwall/neco https://git.finwo.net/misc/dep-repository/archives/heads/pkg/tidwall/neco.tar.gz
tidwall/rand https://git.finwo.net/misc/dep-repository/archives/heads/pkg/tidwall/rand.tar.gz
tidwall/rtree https://git.finwo.net/misc/dep-repository/archives/heads/pkg/tidwall/rtree.tar.gz
+webview/webview https://git.finwo.net/misc/dep-repository/archives/heads/pkg/webview/webview.tar.gz
win32ports/sys_time_h https://git.finwo.net/misc/dep-repository/archives/heads/pkg/win32ports/sys_time_h.tar.gz
diff --git a/kgabis/parson/config.mk b/kgabis/parson/config.mk
@@ -1 +0,0 @@
-SRC+=__DIRNAME/parson.c
diff --git a/kgabis/parson/package.ini b/kgabis/parson/package.ini
@@ -1,9 +0,0 @@
-[repository]
-github=kgabis/parson
-
-[package]
-name=kgabis/parson
-
-[export]
-config.mk=config.mk
-include/kgabis/parson.h=parson.h
diff --git a/webview/webview/config.mk b/webview/webview/config.mk
@@ -1,41 +0,0 @@
-SRC+=__DIRNAME/core/src/webview.cc
-INCLUDES+=-I__DIRNAME/core/include
-
-ifeq ($(OS),Windows_NT)
- # CFLAGS += -D WIN32
- override CFLAGS+=
- override CPPFLAGS+=-I __DIRNAME/external/libs/Microsoft.Web.WebView2.1.0.1150.38/build/native/include
- override LDFLAGS+=-mwindows -ladvapi32 -lole32 -lshell32 -lshlwapi -luser32 -lversion
- ifeq ($(PROCESSOR_ARCHITEW6432),AMD64)
- # CFLAGS += -D AMD64
- else
- ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
- # CFLAGS += -D AMD64
- endif
- ifeq ($(PROCESSOR_ARCHITECTURE),x86)
- # CFLAGS += -D IA32
- endif
- endif
-else
- UNAME_S := $(shell uname -s)
- ifeq ($(UNAME_S),Linux)
- # CFLAGS += -D LINUX
- override CFLAGS+=$(shell pkg-config --cflags gtk+-3.0 webkit2gtk-4.0)
- override LDFLAGS+=$(shell pkg-config --libs gtk+-3.0 webkit2gtk-4.0)
- endif
- ifeq ($(UNAME_S),Darwin)
- # CFLAGS += -D OSX
- override CFLAGS+=-mmacosx-version-min=10.9
- override LDFLAGS+=-framework WebKit
- endif
- UNAME_P := $(shell uname -p)
- ifeq ($(UNAME_P),x86_64)
- # CFLAGS += -D AMD64
- endif
- ifneq ($(filter %86,$(UNAME_P)),)
- # CFLAGS += -D IA32
- endif
- ifneq ($(filter arm%,$(UNAME_P)),)
- # CFLAGS += -D ARM
- endif
-endif
diff --git a/webview/webview/package.ini b/webview/webview/package.ini
@@ -1,15 +0,0 @@
-[repository]
-github=webview/webview
-
-[package]
-name=webview/webview
-
-[export]
-config.mk=config.mk
-
-[build-win]
-0000=mkdir external
-0001=mkdir external/tools
-0002=mkdir external/libs
-0003=curl -sSLo "external/tools/nuget-win32.exe" https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
-0004=external/tools/nuget-win32 install Microsoft.Web.Webview2 -Verbosity quiet -Version "1.0.1150.38" -OutputDirectory "external/libs" || exit /b 1