Changeset View
Changeset View
Standalone View
Standalone View
x11/polybar/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= polybar | PORTNAME= polybar | ||||
DISTVERSION= 3.1.0 | DISTVERSION= 3.1.0 | ||||
PORTREVISION= 1 | PORTREVISION= 2 | ||||
CATEGORIES= x11 | CATEGORIES= x11 | ||||
MAINTAINER= capt_redbeard@protonmail.com | MAINTAINER= capt_redbeard@protonmail.com | ||||
COMMENT= Fast and easy-to-use status bar | COMMENT= Fast and easy-to-use status bar | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto | BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto | ||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ | LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ | ||||
libfreetype.so:print/freetype2 \ | libfreetype.so:print/freetype2 \ | ||||
libxcb-xrm.so:x11/xcb-util-xrm \ | libinotify.so:devel/libinotify \ | ||||
libxcb-cursor.so:x11/xcb-util-cursor \ | libxcb-cursor.so:x11/xcb-util-cursor \ | ||||
libxcb-ewmh.so:x11/xcb-util-wm \ | libxcb-ewmh.so:x11/xcb-util-wm \ | ||||
libxcb-icccm.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 \ | libxcb-image.so:x11/xcb-util-image \ | ||||
libinotify.so:devel/libinotify | libxcb-util.so:x11/xcb-util \ | ||||
libxcb-xrm.so:x11/xcb-util-xrm | |||||
USES= cmake:outsource localbase:ldflags pkgconfig python:2.7,build | USES= cmake:outsource localbase:ldflags pkgconfig python:2.7,build | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= jaagr | GH_ACCOUNT= jaagr | ||||
GH_TAGNAME= 0edaead | |||||
GH_TUPLE= jaagr:i3ipcpp:v0.7.1:i3ipcpp/lib/i3ipcpp \ | GH_TUPLE= jaagr:i3ipcpp:v0.7.1:i3ipcpp/lib/i3ipcpp \ | ||||
jaagr:xpp:1.4.0-1-g64bd576:xpp/lib/xpp | jaagr:xpp:1.4.0-1-g64bd576:xpp/lib/xpp | ||||
USE_GNOME= cairo | USE_GNOME= cairo | ||||
USE_XORG= xcb | USE_XORG= xcb | ||||
OPTIONS_DEFINE= ALSA CURL EXAMPLES I3 IPC MPD | OPTIONS_DEFINE= ALSA CURL EXAMPLES I3 IPC MPD TESTS | ||||
OPTIONS_DEFAULT= ALSA CURL I3 IPC MPD | OPTIONS_DEFAULT= CURL I3 IPC MPD | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
ALSA_DESC= Volume control | ALSA_DESC= Volume control | ||||
CURL_DESC= Github support | CURL_DESC= Github support | ||||
I3_DESC= i3wm support | I3_DESC= i3wm support | ||||
IPC_DESC= Built-in IPC support | |||||
MPD_DESC= Support for controlling MPD | MPD_DESC= Support for controlling MPD | ||||
IPC_DESC= i3 IPC support | TESTS_DESC= Build testsuite | ||||
ALSA_CMAKE_BOOL= ENABLE_ALSA | ALSA_CMAKE_BOOL= ENABLE_ALSA | ||||
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib | ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib | ||||
CURL_CMAKE_BOOL= ENABLE_CURL | CURL_CMAKE_BOOL= ENABLE_CURL | ||||
CURL_LIB_DEPENDS= libcurl.so:ftp/curl | CURL_LIB_DEPENDS= libcurl.so:ftp/curl | ||||
I3_BUILD_DEPENDS= ${LOCALBASE}/include/i3/ipc.h:x11-wm/i3 | I3_BUILD_DEPENDS= ${LOCALBASE}/include/i3/ipc.h:x11-wm/i3 | ||||
I3_CMAKE_BOOL= ENABLE_I3 | I3_CMAKE_BOOL= ENABLE_I3 | ||||
I3_LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp | I3_LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp | ||||
tobik: This seems like a bogus change? Please keep the options helpers sorted. | |||||
IPC_CMAKE_BOOL= BUILD_IPC_MSG | IPC_CMAKE_BOOL= BUILD_IPC_MSG | ||||
MPD_CMAKE_BOOL= ENABLE_MPD | MPD_CMAKE_BOOL= ENABLE_MPD | ||||
MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient | MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient | ||||
TESTS_CMAKE_BOOL= BUILD_TESTS | |||||
Not Done Inline ActionsHow are the tests run? Does it happen automatically during the build or are you missing TESTS_TEST_TARGET? tobik: How are the tests run? Does it happen automatically during the build or are you missing… | |||||
Not Done Inline ActionsThey are automatic, the instructions are set on the CMakeLists.txt file. Here is another CMakeLists.txt with the option to enable it. rigoletto: They are automatic, the instructions are set on the [[ https://github.com/jaagr/polybar/blob/3. | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}|g' ${WRKSRC_xpp}/CMakeLists.txt | @${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}|g' ${WRKSRC_xpp}/CMakeLists.txt | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
This seems like a bogus change? Please keep the options helpers sorted.