1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/boomer: new port had been added (+)

Boomer is a screen zoomer for X11, written using OpenGL shaders
for fast screen grab and drag, enlighten a portion of the screen
with a variable radius (flashlight effect), etc.

Written in Nim language, it compiles into small executable that
only needs OpenGL and X11 libraries at run-time.

WWW: https://github.com/tsoding/boomer
This commit is contained in:
Alexey Dokuchaev 2024-06-25 06:45:46 +00:00
parent e2deefe848
commit 7bd5500819
6 changed files with 117 additions and 0 deletions

View File

@ -27,6 +27,7 @@
SUBDIR += bgs
SUBDIR += bitmap
SUBDIR += bmpanel2
SUBDIR += boomer
SUBDIR += brisk-menu
SUBDIR += budgie
SUBDIR += budgie-desktop

41
x11/boomer/Makefile Normal file
View File

@ -0,0 +1,41 @@
PORTNAME= boomer
PORTVERSION= 0.0.1
CATEGORIES= x11
MAINTAINER= danfe@FreeBSD.org
COMMENT= Screen zoom and highlight program for X11
WWW= https://github.com/tsoding/boomer
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nimble:devel/nimble
RUN_DEPENDS= ${LOCALBASE}/lib/libGL.so:graphics/libglvnd \
${LOCALBASE}/lib/libX11.so:x11/libX11 \
${LOCALBASE}/lib/libXrandr.so:x11/libXrandr
USE_GITHUB= yes
GH_ACCOUNT= tsoding nim-lang:x11,opengl
GH_PROJECT= x11:x11 opengl:opengl
GH_TAGNAME= dfd4e1f 1.2:x11 1.2.9:opengl
GH_SUBDIR= nimbledeps/pkgs2/x11-1.2:x11 \
nimbledeps/pkgs2/opengl-1.2.9:opengl
PLIST_FILES= bin/${PORTNAME}
post-patch:
.for pkg in x11 opengl
${LN} -s ${FILESDIR}/${pkg}-nimblemeta.json \
${WRKSRC_${pkg}}/nimblemeta.json
.endfor
${MV} ${WRKSRC_opengl}/src/opengl* ${WRKSRC_opengl}
do-build:
cd ${BUILD_WRKSRC} && nimble build --nim=${LOCALBASE}/nim/bin/nim \
--localdeps --offline --reject --verbose -d:release -d:nimDebugDlOpen
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

7
x11/boomer/distinfo Normal file
View File

@ -0,0 +1,7 @@
TIMESTAMP = 1707424554
SHA256 (tsoding-boomer-0.0.1-dfd4e1f_GH0.tar.gz) = 1c061cc3d55513ace5b0848f883039263ffb65ea502d2903dd032ce44ac976c3
SIZE (tsoding-boomer-0.0.1-dfd4e1f_GH0.tar.gz) = 7074555
SHA256 (nim-lang-x11-1.2_GH0.tar.gz) = 40a04906a522faa1746babcc72a536f26cdeac646475ac8a297945bd7813fdcf
SIZE (nim-lang-x11-1.2_GH0.tar.gz) = 96522
SHA256 (nim-lang-opengl-1.2.9_GH0.tar.gz) = bb7a8a91da12f33b3b12564956e031cbc89633d4576d456412a0f26728eb335e
SIZE (nim-lang-opengl-1.2.9_GH0.tar.gz) = 102551

View File

@ -0,0 +1,25 @@
{
"version": 1,
"metaData": {
"url": "https://github.com/nim-lang/opengl",
"downloadMethod": "git",
"vcsRevision": "8e2e098f82dc5eefd874488c37b5830233cd18f4",
"files": [
"/opengl/private/types.nim",
"/opengl.nim",
"/opengl/glu.nim",
"/opengl/glut.nim",
"/opengl.nimble",
"/opengl/private/errors.nim",
"/opengl/private/prelude.nim",
"/opengl/wingl.nim",
"/opengl/private/constants.nim",
"/opengl/glx.nim",
"/opengl/private/procs.nim"
],
"binaries": [],
"specialVersions": [
"1.2.9"
]
}
}

View File

@ -0,0 +1,40 @@
{
"version": 1,
"metaData": {
"url": "https://github.com/nim-lang/x11",
"downloadMethod": "git",
"vcsRevision": "29aca5e519ebf5d833f63a6a2769e62ec7bfb83a",
"files": [
"/x11/xinput.nim",
"/x11/xf86vmode.nim",
"/x11/keysym.nim",
"/x11/cursorfont.nim",
"/x11/xinput2.nim",
"/x11/xinerama.nim",
"/x11.nimble",
"/x11/xi.nim",
"/x11/xf86dga.nim",
"/x11/xkb.nim",
"/x11/xrender.nim",
"/x11/xutil.nim",
"/x11/xi2.nim",
"/x11/x11pragma.nim",
"/x11/xlib.nim",
"/x11/x.nim",
"/x11/xresource.nim",
"/x11/xv.nim",
"/x11/xrandr.nim",
"/x11/xkblib.nim",
"/x11/xvlib.nim",
"/x11/xft.nim",
"/x11/xatom.nim",
"/x11/xcms.nim",
"/x11/xtst.nim",
"/x11/xshm.nim"
],
"binaries": [],
"specialVersions": [
"1.2"
]
}
}

3
x11/boomer/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Boomer is a screen zoomer for X11, written using OpenGL shaders for
fast screen grab and drag, enlighten the portion of the screen with
a variable radius (flashlight effect), etc.