summaryrefslogtreecommitdiff
path: root/sysutils/gnome-control-center/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-control-center/Makefile')
-rw-r--r--sysutils/gnome-control-center/Makefile47
1 files changed, 29 insertions, 18 deletions
diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile
index 5e5fb1cc44c1..2c09ab0fa2f2 100644
--- a/sysutils/gnome-control-center/Makefile
+++ b/sysutils/gnome-control-center/Makefile
@@ -1,22 +1,21 @@
PORTNAME= gnome-control-center
-PORTVERSION= 43.2
-PORTREVISION= 6
+PORTVERSION= 47.7
CATEGORIES= sysutils gnome
-MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
+MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Control center for the GNOME desktop
-WWW= https://www.gnome.org/
+WWW= https://apps.gnome.org/Settings/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= gnome-settings-daemon>=3.4.0:sysutils/gnome-settings-daemon \
- gsettings-desktop-schemas>=3.2.2:devel/gsettings-desktop-schemas # # docbook-xsl>=0:textproc/docbook-xsl
+BUILD_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \
+ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \
+ tecla>0:x11/tecla
LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice \
- libadwaita-1.so:x11-toolkits/libadwaita \
- libcolord-gtk.so:graphics/colord-gtk \
+ libcolord-gtk4.so:graphics/colord-gtk \
libcolord.so:graphics/colord \
libcups.so:print/cups \
libepoxy.so:graphics/libepoxy \
@@ -28,22 +27,29 @@ LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice \
libpulse.so:audio/pulseaudio \
libpwquality.so:security/libpwquality \
libsecret-1.so:security/libsecret \
- libsoup-2.4.so:devel/libsoup \
libudisks2.so:sysutils/libudisks \
- libupower-glib.so:sysutils/upower
+ libupower-glib.so:sysutils/upower \
+ libgudev-1.0.so:devel/libgudev \
+ libgcr-4.so:security/gcr \
+ libgnutls.so:security/gnutls
RUN_DEPENDS= cantarell-fonts>=0:x11-fonts/cantarell-fonts \
- gnome-settings-daemon>=3.4.0:sysutils/gnome-settings-daemon \
- gsettings-desktop-schemas>=3.2.2:devel/gsettings-desktop-schemas
+ gnome-settings-daemon>0:sysutils/gnome-settings-daemon \
+ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \
+ gnome-backgrounds>0:x11-themes/gnome-backgrounds \
+ tecla>0:x11/tecla \
+ cups-pk-helper>0:print/cups-pk-helper
-PORTSCOUT= limitw:1,even
-
-USES= compiler:c++11-lib gettext gnome gstreamer localbase:ldflags meson \
+USES= compiler:c++11-lib gettext gnome localbase:ldflags meson \
pkgconfig python:build samba:lib tar:xz xorg
-USE_GNOME= cairo gnomedesktop3 gsound libxml2
+USE_GNOME= cairo gdkpixbufextra gnomedesktop4 glib20 gtk40 gsound \
+ libadwaita libxml2
USE_XORG= x11 xi
-USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_VERSION}
+MESON_ARGS= -Dlocation-services=disabled \
+ -Dsnap=false \
+ -Dtests=false
+
GLIB_SCHEMAS= org.gnome.Settings.gschema.xml
OPTIONS_SUB= yes
@@ -52,6 +58,11 @@ OPTIONS_DEFINE= WAYLAND
OPTIONS_DEFAULT= WAYLAND
WAYLAND_MESON_TRUE= wayland
-WAYLAND_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev
+
+PORTSCOUT= limit:^47\.
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|' \
+ ${WRKSRC}/panels/printers/pp-host.c
.include <bsd.port.mk>