pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/librest



Module Name:    pkgsrc
Committed By:   vins
Date:           Sat May  9 13:03:12 UTC 2026

Added Files:
        pkgsrc/www/librest: DESCR Makefile PLIST buildlink3.mk distinfo
            options.mk

Log Message:
www/librest: initial import of librest-0.10.2

Bring back librest, replacing the now outdated www/librest07.
Delete the latter to prevent unnecessary conflicts and package naming
misunderstandings.

-----------------------------------------------------------------------

This library has been designed to make it easier to access web services that
claim to be "RESTful". A reasonable definition of what this means can be found
on Wikipedia [1]. However a reasonable description is that a RESTful service
should have urls that represent remote objects which methods can then be
called on.

------------------------------------------------------------------------

Noteworthy changes in recent librest releases:

0.10.2
=============================
* Rename Meson project to librest

0.10.1
=============================
* Allow to use the CI to publish the release
* Use G_DEFINE_QUARK when possible

0.10.0
=============================
* Handle some potential problems in parsing oauth2 access tokens
* Allow to use rest and rest-extras from a single header
* Fix the declaration of the RestOAuth2Error quark function
* Name the RestOAuth2Error enum
* Fixes several annotation issues

0.9.1
=============================
* removed RestAuth object
* added an demo application to showcase librest
* removed OAuth1 Proxy
* added soupapiversion to pkg-config file in order to check the which soup version
  this library got built with
* build against libsoup3 by default

0.9
===========================
* new oauth2 proxy to accomplish pkce workflow with api endpoints
* introduced meson as buildsystem
* introduced the possibility to build librest with soup-2.4 or soup-3.0


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 pkgsrc/www/librest/DESCR
cvs rdiff -u -r0 -r1.36 pkgsrc/www/librest/Makefile
cvs rdiff -u -r0 -r1.4 pkgsrc/www/librest/PLIST
cvs rdiff -u -r0 -r1.31 pkgsrc/www/librest/buildlink3.mk
cvs rdiff -u -r0 -r1.5 pkgsrc/www/librest/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/librest/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/librest/DESCR
diff -u /dev/null pkgsrc/www/librest/DESCR:1.3
--- /dev/null   Sat May  9 13:03:12 2026
+++ pkgsrc/www/librest/DESCR    Sat May  9 13:03:11 2026
@@ -0,0 +1,5 @@
+This library has been designed to make it easier to access web services that
+claim to be "RESTful". A reasonable definition of what this means can be found
+on Wikipedia [1]. However a reasonable description is that a RESTful service
+should have urls that represent remote objects which methods can then be
+called on.

Index: pkgsrc/www/librest/Makefile
diff -u /dev/null pkgsrc/www/librest/Makefile:1.36
--- /dev/null   Sat May  9 13:03:12 2026
+++ pkgsrc/www/librest/Makefile Sat May  9 13:03:11 2026
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.36 2026/05/09 13:03:11 vins Exp $
+
+DISTNAME=      librest-0.10.2
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://gitlab.gnome.org/GNOME/librest
+COMMENT=       Library for "RESTful" web services
+LICENSE=       gnu-lgpl-v2.1
+
+CONFLICTS+=    librest07-[0-9]*
+SUPERSEDES+=   librest07-[0-9]*
+PREV_PKGPATH=  www/librest07
+
+USE_TOOLS+=    msgfmt msgmerge pkg-config xgettext
+
+.include "../../security/openssl/buildlink3.mk"
+
+# see pkgsrc/security/mozilla-rootcerts
+MESON_ARGS=    -Dca_certificates=true \
+               -Dca_certificates_path=${SSLDIR}/certs/ca-certificates.crt
+
+.include "options.mk"
+
+PKGCONFIG_OVERRIDE_STAGE=      pre-install
+PKGCONFIG_OVERRIDE+=           output/meson-private/rest-1.0.pc \
+                               output/meson-private/rest-extras-1.0.pc
+
+BUILDLINK_DEPMETHOD.gobject-introspection=     build
+
+.include "../../devel/gettext-tools/msgfmt-desktop.mk"
+.include "../../devel/libadwaita/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../net/libsoup3/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtksourceview5/buildlink3.mk"
+
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/librest/PLIST
diff -u /dev/null pkgsrc/www/librest/PLIST:1.4
--- /dev/null   Sat May  9 13:03:12 2026
+++ pkgsrc/www/librest/PLIST    Sat May  9 13:03:11 2026
@@ -0,0 +1,231 @@
+@comment $NetBSD: PLIST,v 1.4 2026/05/09 13:03:11 vins Exp $
+bin/librest-demo
+include/rest-1.0/rest-extras/flickr-proxy-call.h
+include/rest-1.0/rest-extras/flickr-proxy.h
+include/rest-1.0/rest-extras/lastfm-proxy-call.h
+include/rest-1.0/rest-extras/lastfm-proxy.h
+include/rest-1.0/rest-extras/rest-extras.h
+include/rest-1.0/rest-extras/youtube-proxy.h
+include/rest-1.0/rest/rest-enum-types.h
+include/rest-1.0/rest/rest-oauth2-proxy-call.h
+include/rest-1.0/rest/rest-oauth2-proxy.h
+include/rest-1.0/rest/rest-param.h
+include/rest-1.0/rest/rest-params.h
+include/rest-1.0/rest/rest-pkce-code-challenge.h
+include/rest-1.0/rest/rest-proxy-auth.h
+include/rest-1.0/rest/rest-proxy-call.h
+include/rest-1.0/rest/rest-proxy.h
+include/rest-1.0/rest/rest-utils.h
+include/rest-1.0/rest/rest-xml-node.h
+include/rest-1.0/rest/rest-xml-parser.h
+include/rest-1.0/rest/rest.h
+lib/girepository-1.0/Rest-1.0.typelib
+lib/girepository-1.0/RestExtras-1.0.typelib
+lib/librest-1.0.so
+lib/librest-1.0.so.0
+lib/librest-1.0.so.0.0.0
+lib/librest-extras-1.0.so
+lib/librest-extras-1.0.so.0
+lib/librest-extras-1.0.so.0.0.0
+lib/pkgconfig/rest-1.0.pc
+lib/pkgconfig/rest-extras-1.0.pc
+share/applications/org.gnome.RestDemo.desktop
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Black.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Black.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-BlackItalic.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-BlackItalic.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Bold.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Bold.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-BoldItalic.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-BoldItalic.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Italic.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Italic.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Medium.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Medium.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-MediumItalic.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-MediumItalic.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Regular.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatDisplay-Regular.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatText-Bold.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatText-Bold.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatText-BoldItalic.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatText-BoldItalic.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatText-Italic.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatText-Italic.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatText-Medium.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatText-Medium.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatText-MediumItalic.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatText-MediumItalic.woff2
+${PLIST.doc}share/doc/librest-1.0/RedHatText-Regular.woff
+${PLIST.doc}share/doc/librest-1.0/RedHatText-Regular.woff2
+${PLIST.doc}share/doc/librest-1.0/SourceCodePro-It.ttf.woff
+${PLIST.doc}share/doc/librest-1.0/SourceCodePro-Regular.ttf.woff
+${PLIST.doc}share/doc/librest-1.0/SourceCodePro-Semibold.ttf.woff
+${PLIST.doc}share/doc/librest-1.0/callback.ProxyCallAsyncCallback.html
+${PLIST.doc}share/doc/librest-1.0/callback.ProxyCallContinuousCallback.html
+${PLIST.doc}share/doc/librest-1.0/callback.ProxyCallUploadCallback.html
+${PLIST.doc}share/doc/librest-1.0/class.OAuth2Proxy.html
+${PLIST.doc}share/doc/librest-1.0/class.OAuth2ProxyCall.html
+${PLIST.doc}share/doc/librest-1.0/class.Proxy.html
+${PLIST.doc}share/doc/librest-1.0/class.ProxyAuth.html
+${PLIST.doc}share/doc/librest-1.0/class.ProxyCall.html
+${PLIST.doc}share/doc/librest-1.0/class.XmlParser.html
+${PLIST.doc}share/doc/librest-1.0/classes_hierarchy.html
+${PLIST.doc}share/doc/librest-1.0/ctor.OAuth2Proxy.new.html
+${PLIST.doc}share/doc/librest-1.0/ctor.Param.new_full.html
+${PLIST.doc}share/doc/librest-1.0/ctor.Param.new_string.html
+${PLIST.doc}share/doc/librest-1.0/ctor.Param.new_with_owner.html
+${PLIST.doc}share/doc/librest-1.0/ctor.Params.new.html
+${PLIST.doc}share/doc/librest-1.0/ctor.PkceCodeChallenge.new_random.html
+${PLIST.doc}share/doc/librest-1.0/ctor.Proxy.new.html
+${PLIST.doc}share/doc/librest-1.0/ctor.Proxy.new_with_authentication.html
+${PLIST.doc}share/doc/librest-1.0/ctor.XmlParser.new.html
+${PLIST.doc}share/doc/librest-1.0/enum.MemoryUse.html
+${PLIST.doc}share/doc/librest-1.0/error.OAuth2Error.html
+${PLIST.doc}share/doc/librest-1.0/error.ProxyCallError.html
+${PLIST.doc}share/doc/librest-1.0/error.ProxyError.html
+${PLIST.doc}share/doc/librest-1.0/fonts.css
+${PLIST.doc}share/doc/librest-1.0/func.oauth2_error_quark.html
+${PLIST.doc}share/doc/librest-1.0/func.random_string.html
+${PLIST.doc}share/doc/librest-1.0/fzy.js
+${PLIST.doc}share/doc/librest-1.0/go-up-symbolic.png
+${PLIST.doc}share/doc/librest-1.0/index.html
+${PLIST.doc}share/doc/librest-1.0/index.json
+${PLIST.doc}share/doc/librest-1.0/librest-1.0.devhelp2
+${PLIST.doc}share/doc/librest-1.0/main.js
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.build_authorization_url.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.fetch_access_token_async.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.fetch_access_token_finish.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.get_access_token.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.get_auth_url.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.get_client_id.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.get_client_secret.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.get_expiration_date.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.get_redirect_uri.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.get_refresh_token.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.get_token_url.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.refresh_access_token.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.refresh_access_token_async.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.refresh_access_token_finish.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.set_access_token.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.set_auth_url.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.set_client_id.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.set_client_secret.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.set_expiration_date.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.set_redirect_uri.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.set_refresh_token.html
+${PLIST.doc}share/doc/librest-1.0/method.OAuth2Proxy.set_token_url.html
+${PLIST.doc}share/doc/librest-1.0/method.Param.get_content.html
+${PLIST.doc}share/doc/librest-1.0/method.Param.get_content_length.html
+${PLIST.doc}share/doc/librest-1.0/method.Param.get_content_type.html
+${PLIST.doc}share/doc/librest-1.0/method.Param.get_file_name.html
+${PLIST.doc}share/doc/librest-1.0/method.Param.get_name.html
+${PLIST.doc}share/doc/librest-1.0/method.Param.is_string.html
+${PLIST.doc}share/doc/librest-1.0/method.Param.ref.html
+${PLIST.doc}share/doc/librest-1.0/method.Param.unref.html
+${PLIST.doc}share/doc/librest-1.0/method.Params.add.html
+${PLIST.doc}share/doc/librest-1.0/method.Params.are_strings.html
+${PLIST.doc}share/doc/librest-1.0/method.Params.as_string_hash_table.html
+${PLIST.doc}share/doc/librest-1.0/method.Params.copy.html
+${PLIST.doc}share/doc/librest-1.0/method.Params.get.html
+${PLIST.doc}share/doc/librest-1.0/method.Params.ref.html
+${PLIST.doc}share/doc/librest-1.0/method.Params.remove.html
+${PLIST.doc}share/doc/librest-1.0/method.Params.unref.html
+${PLIST.doc}share/doc/librest-1.0/method.ParamsIter.init.html
+${PLIST.doc}share/doc/librest-1.0/method.ParamsIter.next.html
+${PLIST.doc}share/doc/librest-1.0/method.PkceCodeChallenge.copy.html
+${PLIST.doc}share/doc/librest-1.0/method.PkceCodeChallenge.free.html
+${PLIST.doc}share/doc/librest-1.0/method.PkceCodeChallenge.get_challenge.html
+${PLIST.doc}share/doc/librest-1.0/method.PkceCodeChallenge.get_verifier.html
+${PLIST.doc}share/doc/librest-1.0/method.Proxy.add_soup_feature.html
+${PLIST.doc}share/doc/librest-1.0/method.Proxy.bind.html
+${PLIST.doc}share/doc/librest-1.0/method.Proxy.bind_valist.html
+${PLIST.doc}share/doc/librest-1.0/method.Proxy.get_user_agent.html
+${PLIST.doc}share/doc/librest-1.0/method.Proxy.new_call.html
+${PLIST.doc}share/doc/librest-1.0/method.Proxy.set_user_agent.html
+${PLIST.doc}share/doc/librest-1.0/method.Proxy.simple_run.html
+${PLIST.doc}share/doc/librest-1.0/method.Proxy.simple_run_valist.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyAuth.cancel.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyAuth.pause.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyAuth.unpause.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.add_header.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.add_headers.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.add_headers_from_valist.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.add_param.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.add_param_full.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.add_params.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.add_params_from_valist.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.cancel.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.continuous.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.get_function.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.get_method.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.get_params.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.get_payload.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.get_payload_length.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.get_response_headers.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.get_status_code.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.get_status_message.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.invoke_async.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.invoke_finish.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.lookup_header.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.lookup_param.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.lookup_response_header.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.remove_header.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.remove_param.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.serialize_params.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.set_function.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.set_method.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.sync.html
+${PLIST.doc}share/doc/librest-1.0/method.ProxyCall.upload.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlNode.add_attr.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlNode.add_child.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlNode.find.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlNode.get_attr.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlNode.print.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlNode.ref.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlNode.set_content.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlNode.unref.html
+${PLIST.doc}share/doc/librest-1.0/method.XmlParser.parse_from_data.html
+${PLIST.doc}share/doc/librest-1.0/migration.html
+${PLIST.doc}share/doc/librest-1.0/opensearch.xml
+${PLIST.doc}share/doc/librest-1.0/property.OAuth2Proxy.access-token.html
+${PLIST.doc}share/doc/librest-1.0/property.OAuth2Proxy.auth-url.html
+${PLIST.doc}share/doc/librest-1.0/property.OAuth2Proxy.client-id.html
+${PLIST.doc}share/doc/librest-1.0/property.OAuth2Proxy.client-secret.html
+${PLIST.doc}share/doc/librest-1.0/property.OAuth2Proxy.expiration-date.html
+${PLIST.doc}share/doc/librest-1.0/property.OAuth2Proxy.redirect-uri.html
+${PLIST.doc}share/doc/librest-1.0/property.OAuth2Proxy.refresh-token.html
+${PLIST.doc}share/doc/librest-1.0/property.OAuth2Proxy.token-url.html
+${PLIST.doc}share/doc/librest-1.0/property.Proxy.binding-required.html
+${PLIST.doc}share/doc/librest-1.0/property.Proxy.disable-cookies.html
+${PLIST.doc}share/doc/librest-1.0/property.Proxy.password.html
+${PLIST.doc}share/doc/librest-1.0/property.Proxy.ssl-ca-file.html
+${PLIST.doc}share/doc/librest-1.0/property.Proxy.ssl-strict.html
+${PLIST.doc}share/doc/librest-1.0/property.Proxy.url-format.html
+${PLIST.doc}share/doc/librest-1.0/property.Proxy.user-agent.html
+${PLIST.doc}share/doc/librest-1.0/property.Proxy.username.html
+${PLIST.doc}share/doc/librest-1.0/property.ProxyCall.proxy.html
+${PLIST.doc}share/doc/librest-1.0/search.js
+${PLIST.doc}share/doc/librest-1.0/solarized-dark.css
+${PLIST.doc}share/doc/librest-1.0/solarized-light.css
+${PLIST.doc}share/doc/librest-1.0/struct.Param.html
+${PLIST.doc}share/doc/librest-1.0/struct.Params.html
+${PLIST.doc}share/doc/librest-1.0/struct.ParamsIter.html
+${PLIST.doc}share/doc/librest-1.0/struct.PkceCodeChallenge.html
+${PLIST.doc}share/doc/librest-1.0/struct.XmlNode.html
+${PLIST.doc}share/doc/librest-1.0/style.css
+${PLIST.doc}share/doc/librest-1.0/type_func.ProxyCallError.quark.html
+${PLIST.doc}share/doc/librest-1.0/type_func.ProxyError.quark.html
+${PLIST.doc}share/doc/librest-1.0/vfunc.OAuth2Proxy.parse_access_token.html
+${PLIST.doc}share/doc/librest-1.0/vfunc.Proxy.authenticate.html
+${PLIST.doc}share/doc/librest-1.0/vfunc.Proxy.bind_valist.html
+${PLIST.doc}share/doc/librest-1.0/vfunc.Proxy.new_call.html
+${PLIST.doc}share/doc/librest-1.0/vfunc.Proxy.simple_run_valist.html
+${PLIST.doc}share/doc/librest-1.0/vfunc.ProxyCall.prepare.html
+${PLIST.doc}share/doc/librest-1.0/vfunc.ProxyCall.serialize_params.html
+share/gir-1.0/Rest-1.0.gir
+share/gir-1.0/RestExtras-1.0.gir
+${PLIST.vapi}share/vala/vapi/rest-1.0.deps
+${PLIST.vapi}share/vala/vapi/rest-1.0.vapi
+${PLIST.vapi}share/vala/vapi/rest-extras-1.0.deps
+${PLIST.vapi}share/vala/vapi/rest-extras-1.0.vapi

Index: pkgsrc/www/librest/buildlink3.mk
diff -u /dev/null pkgsrc/www/librest/buildlink3.mk:1.31
--- /dev/null   Sat May  9 13:03:12 2026
+++ pkgsrc/www/librest/buildlink3.mk    Sat May  9 13:03:11 2026
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.31 2026/05/09 13:03:11 vins Exp $
+
+BUILDLINK_TREE+=       librest
+
+.if !defined(LIBREST_BUILDLINK3_MK)
+LIBREST_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.librest+=        librest>=0.10
+BUILDLINK_ABI_DEPENDS.librest+=        librest>=0.10.2
+BUILDLINK_PKGSRCDIR.librest?=  ../../www/librest
+
+BUILDLINK_INCDIRS.librest?=    include/rest-1.0/rest \
+                               include/rest-1.0/rest-extras
+BUILDLINK_LIBNAME.librest=     tirpc
+BUILDLINK_LIBS.librest=        ${BUILDLINK_LIBNAME.librest:S/^/-l/:S/^-l$//}
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libadwaita/buildlink3.mk"
+.include "../../net/libsoup3/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtksourceview5/buildlink3.mk"
+.endif # LIBREST_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -librest

Index: pkgsrc/www/librest/distinfo
diff -u /dev/null pkgsrc/www/librest/distinfo:1.5
--- /dev/null   Sat May  9 13:03:12 2026
+++ pkgsrc/www/librest/distinfo Sat May  9 13:03:11 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.5 2026/05/09 13:03:11 vins Exp $
+
+BLAKE2s (librest-0.10.2.tar.xz) = 31b50e53a259508c24fe78afaa4aa82d9cce94b18a69c017995406b8f88117a7
+SHA512 (librest-0.10.2.tar.xz) = ef4080041953bd9d2264ffc533bd6a0f022a4c7fdea4494b3d5c313705f9c753fe75af78fdde2d75ef28402cc59b6ee40d73b7c4ee8d4b5620d8385763372f19
+Size (librest-0.10.2.tar.xz) = 71936 bytes

Index: pkgsrc/www/librest/options.mk
diff -u /dev/null pkgsrc/www/librest/options.mk:1.1
--- /dev/null   Sat May  9 13:03:12 2026
+++ pkgsrc/www/librest/options.mk       Sat May  9 13:03:11 2026
@@ -0,0 +1,31 @@
+# $NetBSD: options.mk,v 1.1 2026/05/09 13:03:11 vins Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.librest
+PKG_SUPPORTED_OPTIONS= doc vapi
+PKG_SUGGESTED_OPTIONS= vapi
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           doc vapi
+
+#
+# Build documentation
+#
+.if !empty(PKG_OPTIONS:Mdoc)
+MESON_ARGS+=   -Dgtk_doc=true
+.  include "../../devel/py-gi-docgen/buildlink3.mk"
+PLIST.doc=     yes
+.else
+MESON_ARGS+=   -Dgtk_doc=false
+.endif
+
+#
+# Generate Vala API file
+#
+.if !empty(PKG_OPTIONS:Mvapi)
+MESON_ARGS+=    -Dvapi=true
+.  include "../../lang/vala/buildlink3.mk"
+PLIST.vapi=              yes
+.else
+MESON_ARGS+=    -Dvapi=false
+.endif



Home | Main Index | Thread Index | Old Index