From 12532e580b5c5bce465a36d152fca8eefbf49a82 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 27 Aug 2023 17:56:02 +0200 Subject: [PATCH] libsoup3: moved from opt; marked unmaintained --- libsoup3/.footprint | 57 +++++++++++++++++++++++++++++++++++++++++++++ libsoup3/.signature | 5 ++++ libsoup3/Pkgfile | 31 ++++++++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 libsoup3/.footprint create mode 100644 libsoup3/.signature create mode 100644 libsoup3/Pkgfile diff --git a/libsoup3/.footprint b/libsoup3/.footprint new file mode 100644 index 000000000..56ff5d343 --- /dev/null +++ b/libsoup3/.footprint @@ -0,0 +1,57 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/libsoup-3.0/ +drwxr-xr-x root/root usr/include/libsoup-3.0/libsoup/ +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-auth-domain-basic.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-auth-domain-digest.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-auth-domain.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-auth-manager.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-auth.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-cache.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-content-decoder.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-content-sniffer.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-cookie-jar-db.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-cookie-jar-text.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-cookie-jar.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-cookie.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-date-utils.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-enum-types.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-form.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-headers.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-hsts-enforcer-db.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-hsts-enforcer.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-hsts-policy.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-logger.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-message-body.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-message-headers.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-message-metrics.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-message.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-method.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-multipart-input-stream.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-multipart.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-server-message.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-server.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-session-feature.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-session.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-status.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-tld.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-types.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-uri-utils.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-version.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-websocket-connection.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-websocket-extension-deflate.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-websocket-extension-manager.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-websocket-extension.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup-websocket.h +-rw-r--r-- root/root usr/include/libsoup-3.0/libsoup/soup.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/girepository-1.0/ +-rw-r--r-- root/root usr/lib/girepository-1.0/Soup-3.0.typelib +lrwxrwxrwx root/root usr/lib/libsoup-3.0.so -> libsoup-3.0.so.0 +lrwxrwxrwx root/root usr/lib/libsoup-3.0.so.0 -> libsoup-3.0.so.0.7.0 +-rwxr-xr-x root/root usr/lib/libsoup-3.0.so.0.7.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libsoup-3.0.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/gir-1.0/ +-rw-r--r-- root/root usr/share/gir-1.0/Soup-3.0.gir diff --git a/libsoup3/.signature b/libsoup3/.signature new file mode 100644 index 000000000..0517fbd34 --- /dev/null +++ b/libsoup3/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF36Lg+0aG/k2OQIZ4G4WurylxjsAXYYmuRHA4HD4n6x1l1lEj+jBEaC5nVB5IBFTDOqI0tKAHJORoFGZgd9DhUQk= +SHA256 (Pkgfile) = 69e780d0b514ff5fcd2935c8ba072242bd8ea4f461635e0c77a10f42b61f2bc8 +SHA256 (.footprint) = cfb8d4f6b0ae74df6d23f2830ed3380be0e60300d399b586e1f552168807921d +SHA256 (libsoup-3.4.2.tar.xz) = 78c8fa37cb152d40ec8c4a148d6155e2f6947f3f1602a7cda3a31ad40f5ee2f3 diff --git a/libsoup3/Pkgfile b/libsoup3/Pkgfile new file mode 100644 index 000000000..314308300 --- /dev/null +++ b/libsoup3/Pkgfile @@ -0,0 +1,31 @@ +# Description: HTTP library implementation in C. +# URL: https://wiki.gnome.org/action/show/Projects/libsoup +# Maintainer: unmaintained +# Depends on: glib-networking libnghttp2 libpsl libxml2 +# Optional: brotli gobject-introspection krb5 vala + +name=libsoup3 +version=3.4.2 +release=1 +source=(https://download.gnome.org/sources/libsoup/${version%.*}/libsoup-$version.tar.xz) + +build() { + prt-get isinst brotli && PKGMK_LIBSOUP3+=' -D brotli=enabled' + prt-get isinst gobject-introspection && PKGMK_LIBSOUP3+=' -D introspection=enabled' + prt-get isinst vala && PKGMK_LIBSOUP3+=' -D vapi=enabled' + + meson setup build libsoup-$version ${PKGMK_LIBSOUP3} \ + --prefix=/usr \ + --buildtype=plain \ + -D b_lto=true \ + -D b_pie=true \ + --wrap-mode nodownload \ + --auto-features disabled + + sed -i 's|-R/usr/lib||g' build/build.ninja + + meson compile -C build -j ${JOBS:-1} + DESTDIR=$PKG meson install -C build + + rm -r $PKG/usr/share/locale +}