Changeset View
Changeset View
Standalone View
Standalone View
x11-wm/picom/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= picom | PORTNAME= picom | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
DISTVERSION= 7.5 | DISTVERSION= Next-173 | ||||
DISTVERSIONSUFFIX= -gfe766b1 | |||||
CATEGORIES= x11-wm | CATEGORIES= x11-wm | ||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ | |||||
PATCHFILES+= bd5a5fb56812.patch:-p1 065f9ffd4d35.patch:-p1 | |||||
PATCHFILES+= 9657d52cd709.patch:-p1 de3db23e23be.patch:-p1 | |||||
PATCHFILES+= e54058fcc740.patch:-p1 | |||||
MAINTAINER= jbeich@FreeBSD.org | MAINTAINER= jbeich@FreeBSD.org | ||||
COMMENT= Lightweight X11 compositor | COMMENT= Lightweight X11 compositor | ||||
LICENSE= MIT MPL20 | LICENSE= MIT MPL20 | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT | LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT | ||||
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash | BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash | ||||
LIB_DEPENDS= libev.so:devel/libev \ | LIB_DEPENDS= libev.so:devel/libev \ | ||||
libxcb-image.so:x11/xcb-util-image \ | libxcb-image.so:x11/xcb-util-image \ | ||||
libxcb-render-util.so:x11/xcb-util-renderutil | libxcb-render-util.so:x11/xcb-util-renderutil | ||||
RUN_DEPENDS= xprop:x11/xprop \ | RUN_DEPENDS= xprop:x11/xprop \ | ||||
xwininfo:x11/xwininfo | xwininfo:x11/xwininfo | ||||
CONFLICTS_INSTALL= compton # bin/compton | CONFLICTS_INSTALL= compton # bin/compton | ||||
USES= compiler:c11 meson localbase pkgconfig python:3.4+,run \ | USES= compiler:c11 meson localbase pkgconfig xorg | ||||
shebangfix xorg | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
USE_XORG= x11 xcb xext pixman | USE_XORG= x11 xcb xext pixman | ||||
GH_ACCOUNT= yshui | GH_ACCOUNT= yshui | ||||
SHEBANG_FILES= bin/compton-convgen.py | |||||
MESON_ARGS= -Dunittest=true | MESON_ARGS= -Dunittest=true | ||||
TEST_TARGET= test | TEST_TARGET= test | ||||
OPTIONS_DEFINE= CONFIG DBUS DOCS DRM OPENGL PCRE | OPTIONS_DEFINE= CONFIG DBUS DOCS DRM OPENGL PCRE | ||||
OPTIONS_DEFAULT=CONFIG DBUS OPENGL PCRE | OPTIONS_DEFAULT=CONFIG DBUS OPENGL PCRE | ||||
CONFIG_DESC= Configuration file parsing support | CONFIG_DESC= Configuration file parsing support | ||||
CONFIG_LIB_DEPENDS= libconfig.so:devel/libconfig \ | CONFIG_LIB_DEPENDS= libconfig.so:devel/libconfig \ | ||||
Show All 10 Lines | |||||
OPENGL_USES= gl | OPENGL_USES= gl | ||||
OPENGL_USE= GL=gl | OPENGL_USE= GL=gl | ||||
OPENGL_MESON_TRUE= opengl | OPENGL_MESON_TRUE= opengl | ||||
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus | DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus | ||||
DBUS_MESON_TRUE= dbus | DBUS_MESON_TRUE= dbus | ||||
DOCS_BUILD_DEPENDS= a2x:textproc/asciidoc | DOCS_BUILD_DEPENDS= a2x:textproc/asciidoc | ||||
DOCS_MESON_TRUE= build_docs | DOCS_MESON_TRUE= with_docs | ||||
DOCS_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ | DOCS_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ | ||||
share/man/man1/${PORTNAME}-trans.1.gz | share/man/man1/${PORTNAME}-trans.1.gz | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e '/config_system_dir/s,/etc,${PREFIX}&,' \ | @${REINPLACE_CMD} -e '/config_system_dir/s,/etc,${PREFIX}&,' \ | ||||
${WRKSRC}/src/config_libconfig.c | ${WRKSRC}/src/config_libconfig.c | ||||
# Extract (snapshot) version from the port instead of meson.build | # Extract (snapshot) version from the port instead of meson.build | ||||
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ | @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ | ||||
Show All 9 Lines |