Skip to content

Commit

Permalink
x11/waylock: back to GitHub except WWW
Browse files Browse the repository at this point in the history
As the mirror is no longer archived switch back to facilitate updating
submodules until USE_GITEA or similar appears.

This reverts commit 48c4495.
  • Loading branch information
jbeich committed Apr 16, 2024
1 parent 0435dde commit 3786df4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
14 changes: 4 additions & 10 deletions x11/waylock/Makefile
Expand Up @@ -2,12 +2,6 @@ PORTNAME= waylock
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
CATEGORIES= x11 wayland
MASTER_SITES= https://codeberg.org/ifreund/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ \
https://codeberg.org/ifreund/zig-wayland/archive/65475ba${EXTRACT_SUFX}?dummy=/:zig_wayland \
https://codeberg.org/ifreund/zig-xkbcommon/archive/7b188de${EXTRACT_SUFX}?dummy=/:zig_xkbcommon
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
zig-wayland-65475ba${EXTRACT_SUFX}:zig_wayland \
zig-xkbcommon-7b188de${EXTRACT_SUFX}:zig_xkbcommon

MAINTAINER= jbeich@FreeBSD.org
COMMENT= Small screenlocker for Wayland compositors
Expand All @@ -23,7 +17,10 @@ LIB_DEPENDS= libwayland-client.so:graphics/wayland \
RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper

USES= pkgconfig
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= ifreund
GH_TUPLE= ifreund:zig-wayland:65475ba:zig_wayland/deps/zig-wayland \
ifreund:zig-xkbcommon:7b188de:zig_xkbcommon/deps/zig-xkbcommon
MAKE_ENV= DESTDIR="${STAGEDIR}"
CONFIGURE_ARGS= --prefix "${PREFIX}" \
${WITH_DEBUG:D:U-Doptimize=ReleaseFast} \
Expand All @@ -43,9 +40,6 @@ MANPAGES_CONFIGURE_ON= -Dman-pages=true
MANPAGES_CONFIGURE_OFF= -Dman-pages=false
MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz

post-extract:
@${MV} ${WRKDIR}/zig-* ${WRKSRC}/deps

do-build:
@(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS})

Expand Down
12 changes: 6 additions & 6 deletions x11/waylock/distinfo
@@ -1,7 +1,7 @@
TIMESTAMP = 1713267102
SHA256 (waylock-v1.0.0.tar.gz) = e6d6dc92580b8ba23735f05241a9a166111641804c5d34bf402bffe21dda087f
SIZE (waylock-v1.0.0.tar.gz) = 19869
SHA256 (zig-wayland-65475ba.tar.gz) = b9f4d8b481bbcbee53b27333d4474b0cda1d5746036f23e9eca84f00e984d552
SIZE (zig-wayland-65475ba.tar.gz) = 56234
SHA256 (zig-xkbcommon-7b188de.tar.gz) = ff71b52b8f9c106981ec92db265ef155dd4543aee4c4a0c60f37eab72aa6a208
SIZE (zig-xkbcommon-7b188de.tar.gz) = 21739
SHA256 (ifreund-waylock-v1.0.0_GH0.tar.gz) = 243730ab9488aaff0969e8d4940218d201dae5f9463bcccfdf9f98260e602ec9
SIZE (ifreund-waylock-v1.0.0_GH0.tar.gz) = 19777
SHA256 (ifreund-zig-wayland-65475ba_GH0.tar.gz) = 51c3f10e44ddc829d259b96e01ce135ccb564f1851f1f8bb0552516aa3b3f9c2
SIZE (ifreund-zig-wayland-65475ba_GH0.tar.gz) = 56249
SHA256 (ifreund-zig-xkbcommon-7b188de_GH0.tar.gz) = 2c55d221c7a3483b38669cd19f7ccbc16a6429fc365e497aff4cd23b762317f5
SIZE (ifreund-zig-xkbcommon-7b188de_GH0.tar.gz) = 21749

0 comments on commit 3786df4

Please sign in to comment.