Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2024 15:53:41 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3c053ec3ddd7 - main - x11-toolkits/libadwaita: add examples option
Message-ID:  <202410081553.498Frf04053554@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c053ec3ddd7eaed90a16e6f083680e3b3b6a6bf

commit 3c053ec3ddd7eaed90a16e6f083680e3b3b6a6bf
Author:     Жунёва Мария Михайловна <zhunyova@mts.ru>
AuthorDate: 2024-10-08 10:26:00 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-10-08 15:53:15 +0000

    x11-toolkits/libadwaita: add examples option
    
    Sponsored by: Future Crew, LLC
    
    Pull Request:   https://github.com/freebsd/freebsd-ports/pull/308
---
 x11-toolkits/libadwaita/Makefile  | 3 ++-
 x11-toolkits/libadwaita/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/x11-toolkits/libadwaita/Makefile b/x11-toolkits/libadwaita/Makefile
index 3294c72e032c..6cf106f233cf 100644
--- a/x11-toolkits/libadwaita/Makefile
+++ b/x11-toolkits/libadwaita/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libadwaita
 PORTVERSION=	1.6.0
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	GNOME
 
@@ -18,7 +19,7 @@ LIB_DEPENDS=	libappstream.so:devel/appstream \
 USES=		gettext gnome meson ninja pkgconfig tar:xz vala:build
 USE_GNOME=	cairo gdkpixbuf2 gtk40 introspection:build
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 DOCS_BUILD_DEPENDS=	gi-docgen:textproc/py-gi-docgen
 DOCS_MESON_TRUE=	gtk_doc
diff --git a/x11-toolkits/libadwaita/pkg-plist b/x11-toolkits/libadwaita/pkg-plist
index f8ac0c34ead6..ac2ea30c8b6b 100644
--- a/x11-toolkits/libadwaita/pkg-plist
+++ b/x11-toolkits/libadwaita/pkg-plist
@@ -1,4 +1,4 @@
-bin/adwaita-1-demo
+%%PORTEXAMPLES%%bin/adwaita-1-demo
 include/libadwaita-1/adw-about-dialog.h
 include/libadwaita-1/adw-about-window.h
 include/libadwaita-1/adw-accent-color.h
@@ -84,7 +84,7 @@ lib/libadwaita-1-internal.so.0
 lib/libadwaita-1.so
 lib/libadwaita-1.so.0
 libdata/pkgconfig/libadwaita-1.pc
-share/applications/org.gnome.Adwaita1.Demo.desktop
+%%PORTEXAMPLES%%share/applications/org.gnome.Adwaita1.Demo.desktop
 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Black.woff
 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Black.woff2
 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-BlackItalic.woff
@@ -2126,6 +2126,6 @@ share/locale/uk/LC_MESSAGES/libadwaita.mo
 share/locale/vi/LC_MESSAGES/libadwaita.mo
 share/locale/zh_CN/LC_MESSAGES/libadwaita.mo
 share/locale/zh_TW/LC_MESSAGES/libadwaita.mo
-share/metainfo/org.gnome.Adwaita1.Demo.metainfo.xml
+%%PORTEXAMPLES%%share/metainfo/org.gnome.Adwaita1.Demo.metainfo.xml
 share/vala/vapi/libadwaita-1.deps
 share/vala/vapi/libadwaita-1.vapi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410081553.498Frf04053554>