summaryrefslogtreecommitdiff
path: root/net/librest1
diff options
context:
space:
mode:
Diffstat (limited to 'net/librest1')
-rw-r--r--net/librest1/Makefile24
-rw-r--r--net/librest1/distinfo6
-rw-r--r--net/librest1/pkg-plist8
3 files changed, 22 insertions, 16 deletions
diff --git a/net/librest1/Makefile b/net/librest1/Makefile
index c7881b8c8ac5..c8bddb4c4703 100644
--- a/net/librest1/Makefile
+++ b/net/librest1/Makefile
@@ -1,33 +1,35 @@
PORTNAME= librest
-PORTVERSION= 0.9.1
-PORTREVISION= 2
+PORTVERSION= 0.10.2
CATEGORIES= net devel gnome
+MASTER_SITES= GNOME
PKGNAMESUFFIX= 1
-MASTER_SITES= https://gitlab.gnome.org/GNOME/librest/-/archive/${PORTVERSION}/
+DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME REST library
WWW= https://gitlab.gnome.org/GNOME/librest
-LICENSE= LGPL21
+LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita \
- libjson-glib-1.0.so:devel/json-glib \
+LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libsoup-3.0.so:devel/libsoup3
PORTSCOUT= limitw:1,even
-USES= gettext gnome localbase meson pkgconfig python tar:bz2
-USE_GNOME= glib20 gtksourceview5 introspection:build
+USES= gettext-tools gnome localbase meson pkgconfig python tar:xz
+USE_GNOME= glib20 introspection:build libadwaita libxml2
USE_LDCONFIG= yes
MESON_ARGS= -Dca_certificates=true \
- -Dca_certificates_path=/etc/ssl/cert.pem \
- -Dgtk_doc=false
+ -Dca_certificates_path=/etc/ssl/cert.pem
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_SUB= yes
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR}
DOCS_MESON_TRUE= gtk_doc
+EXAMPLES_USE= gnome=gtksourceview5
+EXAMPLES_MESON_TRUE= examples
+
.include <bsd.port.mk>
diff --git a/net/librest1/distinfo b/net/librest1/distinfo
index 0486a8168cb4..baedbb9de9c9 100644
--- a/net/librest1/distinfo
+++ b/net/librest1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674961047
-SHA256 (librest-0.9.1.tar.bz2) = 5c39f6696b271194546880e0f360e21496b2882f72e4bb85433125de98fce03a
-SIZE (librest-0.9.1.tar.bz2) = 72128
+TIMESTAMP = 1754757598
+SHA256 (gnome/librest-0.10.2.tar.xz) = 7b6cb912bb3a22cfa7dcf005925dcb62883024db0c09099486e7d6851185c9b8
+SIZE (gnome/librest-0.10.2.tar.xz) = 71936
diff --git a/net/librest1/pkg-plist b/net/librest1/pkg-plist
index 4bc982e29909..f274d7b1ebb7 100644
--- a/net/librest1/pkg-plist
+++ b/net/librest1/pkg-plist
@@ -1,8 +1,9 @@
-bin/librest-demo
+%%EXAMPLES%%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
@@ -27,7 +28,7 @@ lib/librest-extras-1.0.so.0
lib/librest-extras-1.0.so.0.0.0
libdata/pkgconfig/rest-1.0.pc
libdata/pkgconfig/rest-extras-1.0.pc
-share/applications/org.gnome.RestDemo.desktop
+%%EXAMPLES%%share/applications/org.gnome.RestDemo.desktop
%%PORTDOCS%%%%DOCSDIR%%-1.0/RedHatDisplay-Black.woff
%%PORTDOCS%%%%DOCSDIR%%-1.0/RedHatDisplay-Black.woff2
%%PORTDOCS%%%%DOCSDIR%%-1.0/RedHatDisplay-BlackItalic.woff
@@ -79,6 +80,7 @@ share/applications/org.gnome.RestDemo.desktop
%%PORTDOCS%%%%DOCSDIR%%-1.0/ctor.Proxy.new_with_authentication.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/ctor.XmlParser.new.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/enum.MemoryUse.html
+%%PORTDOCS%%%%DOCSDIR%%-1.0/error.OAuth2Error.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/error.ProxyCallError.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/error.ProxyError.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/fonts.css
@@ -183,6 +185,8 @@ share/applications/org.gnome.RestDemo.desktop
%%PORTDOCS%%%%DOCSDIR%%-1.0/method.XmlNode.set_content.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/method.XmlNode.unref.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/method.XmlParser.parse_from_data.html
+%%PORTDOCS%%%%DOCSDIR%%-1.0/migration.html
+%%PORTDOCS%%%%DOCSDIR%%-1.0/opensearch.xml
%%PORTDOCS%%%%DOCSDIR%%-1.0/property.OAuth2Proxy.access-token.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/property.OAuth2Proxy.auth-url.html
%%PORTDOCS%%%%DOCSDIR%%-1.0/property.OAuth2Proxy.client-id.html