From nobody Tue Dec 13 11:32:11 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NWbtz39D2z4krPB; Tue, 13 Dec 2022 11:32:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NWbtz2c7yz3HGp; Tue, 13 Dec 2022 11:32:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670931131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d0E4J0Z46SIWG+OFjpncZG+R4DC2FE3EIlQDEf4xrRg=; b=eqjidoUf3tRnGKne7yIfLhpRdIrh2RgDl6wDUXwJTSHLWLkSY65fCas/24YJWoyRlRuM3Q ZxmXb2qNO9B+fTGWzSEraRRc/StBArGVlXIcdcwLXUagnkrAcsb/ALYvLgSq9P9KDMisEh FDjEv6Hq75CC3fVKrkEQbhY5NGX8EJipazmzdHphMaBVU+ayabzfgDXpM8kTp0VzCZK/21 +Y+y2Tp6uu9+rrdbftMifjnT4t4oYGuhiJ/8qtmQ6/2lORgyUoaNaNZVJDJi198MFzXw9b yRtXtbcz3UJ/GTWQRkBdQPGgXiJeiwpxhSCEPcNJ3oDimRlEw8vHPJT5NIrh0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670931131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d0E4J0Z46SIWG+OFjpncZG+R4DC2FE3EIlQDEf4xrRg=; b=vDxLHL5XvS1smTdmqYTqgzRe7MhsPQDUrqbtoO3AV/3TsGagTYIuiUkj0RrrBAA5xlOIvL gI5+bxp9r+jKpv6zyf3btflp7pwgrNf7VlgSNW1p0+7x/5XrUAuuNytSkG9/fbibyru7BK 8ZeQml166xhc0S87wcn2kEy7J5uATFP4xf+VHMG/I/OIWUtW6Q3alEfVaKqcjC7btNYUuR HzpsLdOc8uDLhX1btO2OnyQuqqwco5xqo5D/cXBC2QrCeHOLFSWriedh9t/0ON4d1ENRnd WNtsDLCOFIHrh3EcQgSG27Csa/eF+DKn8WGX2ZAHe79RHuN5/yFrHITyk4qieg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670931131; a=rsa-sha256; cv=none; b=FrC1L5/7Xic3BMEKDEUwIIjzWvweGYMBXoF9Dt27iPITqZ0ASQUHtpbiR+sxOkTOPFwy5p 53vucOU1yt4TLUaKJsbBvms1I0g2N/mcmw+OtFv/bxbMXI8yuXYUHJPtvAMRptFPOzhiZD 6jULTwMXH6fAbongOeuCgYI8d4DNc1hp/DZb6oUPJdVsa/FiugafdWx+B4bwNSbOmr1shb wiJJImPpGqf7JClR9cwxIJ2JaJqscoGqolek6z1TRTBxgwR1LH3cTxm++w7ks8KIHMy9p6 t+eFmRiX7iChH/hpZWr6ZCznwSo+2a1hK6TuiB47iBl7FVZdX1FctJHy2UzScQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NWbtz1gqvz1C0x; Tue, 13 Dec 2022 11:32:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BDBWB1w074591; Tue, 13 Dec 2022 11:32:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BDBWBEe074590; Tue, 13 Dec 2022 11:32:11 GMT (envelope-from git) Date: Tue, 13 Dec 2022 11:32:11 GMT Message-Id: <202212131132.2BDBWBEe074590@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: e2c09e62c2c4 - main - x11/hyprpaper: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e2c09e62c2c48beed1ae13b25d4d62c8d59b9f8d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2c09e62c2c48beed1ae13b25d4d62c8d59b9f8d commit e2c09e62c2c48beed1ae13b25d4d62c8d59b9f8d Author: Jan Beich AuthorDate: 2022-11-28 11:43:08 +0000 Commit: Jan Beich CommitDate: 2022-12-13 11:30:38 +0000 x11/hyprpaper: add new port Hyprpaper is a blazing fast wallpaper utility for Hyprland with the ability to dynamically change wallpapers through sockets. It will work on all wlroots-based compositors, though. https://github.com/hyprwm/hyprpaper --- x11/Makefile | 1 + x11/hyprpaper/Makefile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ x11/hyprpaper/distinfo | 3 +++ x11/hyprpaper/pkg-descr | 3 +++ 4 files changed, 55 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 9a3bcf90cfe0..f52ac9a06571 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -110,6 +110,7 @@ SUBDIR += hhpc SUBDIR += hs-xmobar SUBDIR += hsetroot + SUBDIR += hyprpaper SUBDIR += i3blocks SUBDIR += i3lock-color SUBDIR += iceauth diff --git a/x11/hyprpaper/Makefile b/x11/hyprpaper/Makefile new file mode 100644 index 000000000000..29fac561ec81 --- /dev/null +++ b/x11/hyprpaper/Makefile @@ -0,0 +1,48 @@ +PORTNAME= hyprpaper +PORTVERSION= s20221128 +CATEGORIES= x11 wayland + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Blazing fast Wayland wallpaper utility with IPC controls +WWW= https://github.com/hyprwm/hyprpaper + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= gmake:devel/gmake \ + wayland-protocols>0:graphics/wayland-protocols +LIB_DEPENDS= libwayland-client.so:graphics/wayland + +USES= compiler:c++11-lib cmake gnome jpeg pkgconfig +USE_GCC= yes:build # C++23 +USE_GNOME= cairo +USE_GITHUB= yes +GH_ACCOUNT= hyprwm +GH_TAGNAME= ab85578 +LDFLAGS+= -static-libstdc++ -static-libgcc # avoid libc++ conflict +PLIST_FILES= bin/${PORTNAME} + +post-patch: +# Extract (snapshot) version from the port instead of Git + @${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^#$$/d' \ + -e 's/$${GIT_BRANCH}/main/' \ + -e 's/$${GIT_COMMIT_HASH}/${GH_TAGNAME}/' \ + -e 's/$${GIT_COMMIT_MESSAGE}//' \ + -e 's/$${GIT_DIRTY}/portbld/' \ + ${WRKSRC}/CMakeLists.txt +# Drop unused dependencies + @${REINPLACE_CMD} 's/ wlroots//' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's/ pango pangocairo//' \ + -e '/OpenGL/d; /GLESv2/d' \ + -e '/pthread/d; /CMAKE_THREAD_LIBS_INIT/d' \ + -e '/ rt)/d' \ + ${WRKSRC}/CMakeLists.txt + +pre-configure: + @${SETENV} ${MAKE_ENV} ${GMAKE} protocols -C${WRKSRC} + +do-install: + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/x11/hyprpaper/distinfo b/x11/hyprpaper/distinfo new file mode 100644 index 000000000000..7e90006e5470 --- /dev/null +++ b/x11/hyprpaper/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669635788 +SHA256 (hyprwm-hyprpaper-s20221128-ab85578_GH0.tar.gz) = 844dc2eb7af63f66508da11cc215595ff9ad190fabd375a2834c2cdfd7db97bf +SIZE (hyprwm-hyprpaper-s20221128-ab85578_GH0.tar.gz) = 22953 diff --git a/x11/hyprpaper/pkg-descr b/x11/hyprpaper/pkg-descr new file mode 100644 index 000000000000..85009939cfdf --- /dev/null +++ b/x11/hyprpaper/pkg-descr @@ -0,0 +1,3 @@ +Hyprpaper is a blazing fast wallpaper utility for Hyprland with the +ability to dynamically change wallpapers through sockets. It will work +on all wlroots-based compositors, though.