summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-09-14 21:21:44 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-09-14 21:21:44 +0800
commite3afaff250f973bfd0b7de49cf8d95b1c784cfa7 (patch)
tree0c82e930ca0b362b92a8b7ee5478a73ae5de10da /x11-toolkits
parent49eec8fcf38b1a9e6f94e5584f8d699129bf5d37 (diff)
downloadmarcuscom-ports-e3afaff250f973bfd0b7de49cf8d95b1c784cfa7.tar.gz
marcuscom-ports-e3afaff250f973bfd0b7de49cf8d95b1c784cfa7.tar.zst
marcuscom-ports-e3afaff250f973bfd0b7de49cf8d95b1c784cfa7.zip
Add support for cloudprinting.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19867 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk30/Makefile6
-rw-r--r--x11-toolkits/gtk30/pkg-plist1
2 files changed, 6 insertions, 1 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index cfe0b7dee..8f1f8c8ed 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -51,7 +51,7 @@ GLIB_SCHEMAS= org.gtk.Demo.gschema.xml \
org.gtk.Settings.FileChooser.gschema.xml \
org.gtk.exampleapp.gschema.xml
-OPTIONS_DEFINE= CUPS COLORD DEBUG
+OPTIONS_DEFINE= CUPS CLOUDPRINT COLORD DEBUG
OPTIONS_DEFAULT=CUPS COLORD
OPTIONS_SUB= yes
COLORD_DESC= Color profile support
@@ -59,6 +59,10 @@ COLORD_LIB_DEPENDS= libcolord.so:${PORTSDIR}/graphics/colord
COLORD_CONFIGURE_ENABLE=colord
CUPS_LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client
CUPS_CONFIGURE_ENABLE= cups
+CLOUDPRINT_DESC= Cloud printing support
+CLOUDPRINT_CONFIGURE_ENABLE= cloudprint
+CLOUDPRINT_LIB_DEPENDS= librest-0.7.so:${PORTSDIR}/www/librest \
+ libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib
DEBUG_CONFIGURE_ENABLE=debug
# needed for the exists() check, booo
diff --git a/x11-toolkits/gtk30/pkg-plist b/x11-toolkits/gtk30/pkg-plist
index a5e364116..15341e786 100644
--- a/x11-toolkits/gtk30/pkg-plist
+++ b/x11-toolkits/gtk30/pkg-plist
@@ -364,6 +364,7 @@ lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-ti-er.so
lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-ti-et.so
lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-viqr.so
lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-xim.so
+%%CLOUDPRINT%%lib/gtk-3.0/%%GTK3_VERSION%%/printbackends/libprintbackend-cloudprint.so
%%CUPS%%lib/gtk-3.0/%%GTK3_VERSION%%/printbackends/libprintbackend-cups.so
lib/gtk-3.0/%%GTK3_VERSION%%/printbackends/libprintbackend-file.so
lib/gtk-3.0/%%GTK3_VERSION%%/printbackends/libprintbackend-lpr.so