MFH: r560269

Correctly wrap Gobject Introspection support in an option for garcon.

PR:		252355
Submitted by:	rozhuk.im@gmail.com
This commit is contained in:
Guido Falsi 2021-01-04 08:57:54 +00:00
parent 760f7a164e
commit f1bfcaade9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=560272
2 changed files with 13 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= garcon
PORTVERSION= 0.8.0
PORTREVISION= 1
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE
DIST_SUBDIR= xfce4
@ -29,9 +30,16 @@ CONFIGURE_ARGS= --without-html-dir
PORTSCOUT= limitw:1,even
OPTIONS_DEFINE= NLS
OPTIONS_DEFINE= GIR NLS
OPTIONS_DEFAULT= GIR
OPTIONS_SUB= yes
GIR_DESC= Use Gobject Introspection
GIR_USE= gnome=introspection:build
GIR_CONFIGURE_ON= --enable-introspection=yes
GIR_CONFIGURE_OFF= --enable-introspection=no
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime

View File

@ -17,6 +17,8 @@ include/garcon-1/garcon/garcon-menu.h
include/garcon-1/garcon/garcon.h
include/garcon-gtk3-1/garcon-gtk/garcon-gtk-menu.h
include/garcon-gtk3-1/garcon-gtk/garcon-gtk.h
%%GIR%%lib/girepository-1.0/Garcon-1.0.typelib
%%GIR%%lib/girepository-1.0/GarconGtk-1.0.typelib
lib/libgarcon-1.so
lib/libgarcon-1.so.0
lib/libgarcon-1.so.0.0.0
@ -39,6 +41,8 @@ share/desktop-directories/xfce-personal.directory
share/desktop-directories/xfce-screensavers.directory
share/desktop-directories/xfce-settings.directory
share/desktop-directories/xfce-system.directory
%%GIR%%share/gir-1.0/Garcon-1.0.gir
%%GIR%%share/gir-1.0/GarconGtk-1.0.gir
share/icons/hicolor/32x32/apps/org.xfce.garcon.png
%%NLS%%share/locale/am/LC_MESSAGES/garcon.mo
%%NLS%%share/locale/ar/LC_MESSAGES/garcon.mo