1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

x11/i3lock-color: Add new port: Improved i3lock version

A modern version of i3lock with color functionality and other features.

https://github.com/Raymo111/i3lock-color

PR:		257664
This commit is contained in:
Fadel 2021-08-09 07:06:59 +02:00 committed by Rainer Hurling
parent 962be10550
commit 253114334f
5 changed files with 60 additions and 0 deletions

View File

@ -106,6 +106,7 @@
SUBDIR += hsetroot
SUBDIR += i3blocks
SUBDIR += i3lock
SUBDIR += i3lock-color
SUBDIR += i3status
SUBDIR += iceauth
SUBDIR += ico

50
x11/i3lock-color/Makefile Normal file
View File

@ -0,0 +1,50 @@
PORTNAME= i3lock-color
DISTVERSION= 2.13.c.4
CATEGORIES= x11
MAINTAINER= fjachuf@gmail.com
COMMENT= Enhanced i3lock with higher capacity
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/bin/pam_helper:security/pam_helper
LIB_DEPENDS= libcairo.so:graphics/cairo \
libev.so:devel/libev \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libjpeg.so:graphics/jpeg-turbo \
libxcb-image.so:x11/xcb-util-image \
libxcb-keysyms.so:x11/xcb-util-keysyms \
libxcb-util.so:x11/xcb-util \
libxcb-xrm.so:x11/xcb-util-xrm \
libxkbcommon.so:x11/libxkbcommon \
libxkbfile.so:x11/libxkbfile
USES= autoreconf gmake iconv jpeg localbase pkgconfig tar:bzip2 xorg
USE_CSTD= c99
USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= Raymo111
USE_XORG= x11 xcb xext xinerama xorgproto xrandr xt
GNU_CONFIGURE= yes
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
X11INC="${LOCALBASE}/include" CC="${CC}" \
MANDIR="${MANPREFIX}/man"
LDFLAGS+= ${ICONV_LIB}
CONFLICTS_INSTALL= i3lock-[0-9]*
BUILD_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
INSTALL_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
PLIST_FILES= "@(,,4755) bin/i3lock" \
man/man1/i3lock.1.gz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/i3lock
@${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1628201335
SHA256 (Raymo111-i3lock-color-2.13.c.4_GH0.tar.gz) = 5df4cd3d515d938630ced981a7f0a6e01344d1ec51d10fd3c3d131d19283df69
SIZE (Raymo111-i3lock-color-2.13.c.4_GH0.tar.gz) = 215078

View File

@ -0,0 +1,3 @@
An improved version of i3lock, with more capabilities.
WWW: https://github.com/Raymo111/i3lock-color

View File

@ -32,6 +32,9 @@ LDFLAGS+= ${ICONV_LIB}
USE_XORG= x11 xcb xt xorgproto xext
USE_CSTD= c99
GNU_CONFIGURE= yes
CONFLICTS_INSTALL= i3lock-color-[0-9]*
BUILD_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
INSTALL_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}