diff --git a/graphics/colord/Makefile b/graphics/colord/Makefile index f8cca8403ebc..cf0db17a155d 100644 --- a/graphics/colord/Makefile +++ b/graphics/colord/Makefile @@ -3,6 +3,7 @@ PORTNAME= colord PORTVERSION= 1.3.5 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://www.freedesktop.org/software/colord/releases/ @@ -40,12 +41,18 @@ INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.freedesktop.ColorHelper.gschema.xml OPTIONS_SUB= yes -OPTIONS_DEFINE= MANPAGES PPROFILES +OPTIONS_DEFINE= MANPAGES PPROFILES VALA +OPTIONS_DEFAULT=VALA -MANPAGES_BUILD_DEPENDS= docbook2html:textproc/docbook-utils \ - docbook-sgml>0:textproc/docbook-sgml -PPROFILES_DESC= Build extra print profiles (long build time) +PPROFILES_DESC= Build extra print profiles (long build time) +VALA_DESC= Build Vala language bindings + +MANPAGES_BUILD_DEPENDS= docbook2html:textproc/docbook-utils \ + docbook-sgml>0:textproc/docbook-sgml PPROFILES_CONFIGURE_ENABLE= print-profiles +VALA_CONFIGURE_ENABLE= vala +VALA_BUILD_DEPENDS= vapigen:lang/vala +MAKE_ENV= PYTHONDONTWRITEBYTECODE=1 .include diff --git a/graphics/colord/pkg-plist b/graphics/colord/pkg-plist index 15d0129f0457..71a98d4399ee 100644 --- a/graphics/colord/pkg-plist +++ b/graphics/colord/pkg-plist @@ -201,5 +201,6 @@ share/locale/uk/LC_MESSAGES/colord.mo share/locale/zh_CN/LC_MESSAGES/colord.mo share/locale/zh_TW/LC_MESSAGES/colord.mo share/polkit-1/actions/org.freedesktop.color.policy +%%VALA%%share/vala/vapi/colord.vapi @dir(colord,colord,0755) /var/db/colord/icc @dir(colord,colord,0755) /var/db/colord