ports/sysutils/xfce4-power-manager/Makefile
Guido Falsi 939e8ca9ba Welcome XFCE 4.20 to the FreeBSD ports tree!
Announcement: https://xfce.org/about/news/?post=1734220800

This release has experimental Wayland support, but not all components
have been ported, YMMV. From upstream announcement:

Important Notice: Please be aware that the Wayland support in Xfce
4.20 is experimental. It is recommended for advanced users only,
as you may encounter bugs and experience incomplete functionality.
Proceed with caution!

Highlight of this commit:

- Adding new port x11/libxfce4windowing
- Changing some WWW links to XFCE project gitlab
- Cleaned up Makefiles
- Remove unneeded intltool dependencies
- Added WAYLAND option where applicable, enabled by default

Many thanks to Olivier Duchateau <duchateau.olivier@gmail.com> who
provided a set of patches I started work from.

PR:		283345
2024-12-21 21:39:17 +01:00

50 lines
1.2 KiB
Makefile

PORTNAME= xfce4-power-manager
PORTVERSION= 4.20.0
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Power manager for the Xfce Desktop
WWW= https://gitlab.xfce.org/xfce/xfce4-power-manager
LICENSE= GPLv2
BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
libnotify.so:devel/libnotify \
libpolkit-gobject-1.so:sysutils/polkit \
libupower-glib.so:sysutils/upower
USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
tar:bzip2 xfce xorg
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
USE_XFCE= libmenu panel xfconf
USE_XORG= ice sm x11 xext xrandr xscrnsaver xtst
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-network-manager \
--enable-polkit \
--enable-x11 \
--enable-xfce4panel
INSTALL_TARGET= install-strip
PORTSCOUT= limitw:1,even
OPTIONS_DEFINE= NLS WAYLAND
OPTIONS_DEFAULT= WAYLAND
OPTIONS_SUB= yes
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
WAYLAND_CONFIGURE_ENABLE= wayland
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
.include <bsd.port.post.mk>