1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/x11/polybar/Makefile
Tobias Kortkamp 0786140fcf New port: x11/polybar
The main purpose of Polybar is to help users create awesome status
bars.  It has built-in functionality to display information about the
most commonly used services.  Some of the services included so far:

    Systray icons
    Window title
    Playback controls and status display for MPD using libmpdclient
    ALSA volume controls
    Workspace and desktop panel for bspwm and i3
    Workspace module for EWMH compliant window managers
    Keyboard layout and indicator status
    CPU and memory load indicator
    Battery display
    Network connection details
    Backlight level
    Date and time label
    Time-based shell script execution
    Command output tailing
    User-defined menu tree
    Inter-process messaging
    And more...

WWW: https://github.com/jaagr/polybar

https://forums.freebsd.org/threads/62494/

Submitted by:		capt_redbeard@protonmail.com
Reviewed by:		6yearold_gmail.com, adridg, mat, lbdm@privacychain.ch, tobik
Differential Revision:	https://reviews.freebsd.org/D13634
2018-01-11 06:23:22 +00:00

61 lines
1.5 KiB
Makefile

# $FreeBSD$
PORTNAME= polybar
DISTVERSION= 3.1.0
CATEGORIES= x11
MAINTAINER= capt_redbeard@protonmail.com
COMMENT= Fast and easy-to-use status bar
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libxcb-xrm.so:x11/xcb-util-xrm \
libxcb-cursor.so:x11/xcb-util-cursor \
libxcb-ewmh.so:x11/xcb-util-wm \
libxcb-icccm.so:x11/xcb-util-wm \
libxcb-util.so:x11/xcb-util \
libxcb-image.so:x11/xcb-util-image \
libinotify.so:devel/libinotify
USES= cmake:outsource localbase:ldflags pkgconfig python:2.7,build
USE_GITHUB= yes
GH_ACCOUNT= jaagr
GH_TUPLE= jaagr:i3ipcpp:v0.7.1:i3ipcpp/lib/i3ipcpp \
jaagr:xpp:1.4.0-1-g64bd576:xpp/lib/xpp
USE_GNOME= cairo
USE_XORG= xcb
OPTIONS_DEFINE= ALSA CURL EXAMPLES I3 IPC MPD
OPTIONS_DEFAULT= ALSA CURL I3 IPC MPD
OPTIONS_SUB= yes
ALSA_DESC= Volume control
CURL_DESC= Github support
I3_DESC= i3wm support
MPD_DESC= Support for controlling MPD
IPC_DESC= i3 IPC support
ALSA_CMAKE_BOOL= ENABLE_ALSA
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
CURL_CMAKE_BOOL= ENABLE_CURL
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
I3_BUILD_DEPENDS= ${LOCALBASE}/include/i3/ipc.h:x11-wm/i3
I3_CMAKE_BOOL= ENABLE_I3
I3_LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp
IPC_CMAKE_BOOL= BUILD_IPC_MSG
MPD_CMAKE_BOOL= ENABLE_MPD
MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient
post-patch:
@${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}|g' ${WRKSRC_xpp}/CMakeLists.txt
.include <bsd.port.mk>