Skip to content

Commit

Permalink
sysutils/conky: enable Wayland support after 481978c
Browse files Browse the repository at this point in the history
See out_to_wayland in conky(1) manpage or

  $ fgrep -A3 wayland /usr/local/share/doc/conky/config_settings.yaml
    - name: out_to_wayland
      desc: |-
	Open a Wayland window to display output.
      default: no

PR:		268597
Inspired by:	Alpine Linux
Approved by:	madpilot (maintainer)
  • Loading branch information
jbeich committed Dec 27, 2022
1 parent d4c4ef7 commit cbe413c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 16 additions & 2 deletions sysutils/conky/Makefile
@@ -1,8 +1,12 @@
PORTNAME= conky
PORTVERSION= 1.16.1
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= sysutils

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 3fb6534eff30.patch:-p1 # https://github.com/brndnmtthws/conky/pull/1349

MAINTAINER= madpilot@FreeBSD.org
COMMENT?= Advanced, highly configurable system monitor for X11
WWW= https://github.com/brndnmtthws/conky
Expand Down Expand Up @@ -30,11 +34,11 @@ USE_GITHUB= yes
GH_ACCOUNT= brndnmtthws

OPTIONS_DEFINE= APCUPSD CURL DOCS EXAMPLES IPV6 MANPAGES METAR MOC MPD \
NCURSES RSS X11 XOAP
NCURSES RSS WAYLAND X11 XOAP

OPTIONS_GROUP?= X11
OPTIONS_GROUP_X11= ARGB DOUBLE_BUFFER IMLIB2 XFT XINERAMA LUA_CAIRO LUA_IMLIB2 LUA_RSVG
OPTIONS_DEFAULT?= X11 ARGB DOUBLE_BUFFER MANPAGES XFT LUA_CAIRO
OPTIONS_DEFAULT?= X11 ARGB DOUBLE_BUFFER MANPAGES WAYLAND XFT LUA_CAIRO

APCUPSD_DESC= Monitor APCUPSD
APCUPSD_CMAKE_BOOL= BUILD_APCUPSD
Expand Down Expand Up @@ -103,6 +107,16 @@ RSS_USES= gnome
RSS_USE= gnome=glib20,libxml2
RSS_IMPLIES= CURL

WAYLAND_CATEGORIES= wayland
WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.13:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libwayland-client.so:graphics/wayland \
libfontconfig.so:x11-fonts/fontconfig
WAYLAND_USES= gnome
WAYLAND_USE= gnome=cairo,pango
WAYLAND_CMAKE_BOOL= BUILD_WAYLAND
WAYLAND_LDFLAGS= -Wl,--as-needed # pangoft2 deps: glib20, freetype2, harfbuzz

X11_USES= xorg
X11_USE= xorg=x11,xext,xdamage,xfixes
X11_CMAKE_BOOL= BUILD_X11 OWN_WINDOW
Expand Down
2 changes: 2 additions & 0 deletions sysutils/conky/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1672086732
SHA256 (brndnmtthws-conky-v1.16.1_GH0.tar.gz) = a293530980bf5ec2250e6d52533cb3426de66c99477ae15430215b3e4b536593
SIZE (brndnmtthws-conky-v1.16.1_GH0.tar.gz) = 1696411
SHA256 (3fb6534eff30.patch) = 35af04a3feac07767da999fd18544d6b5d743a25ea150ac53c0afa284a75cc75
SIZE (3fb6534eff30.patch) = 1854

0 comments on commit cbe413c

Please sign in to comment.