From nobody Tue Dec 13 11:32:12 2022 X-Original-To: dev-commits-ports-main@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 4NWbv03lM9z4krTh; Tue, 13 Dec 2022 11:32:12 +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 4NWbv03FyPz3HBG; Tue, 13 Dec 2022 11:32:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670931132; 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=CtUMgJw5I3hkGtrKKAsqL/xgAsTLBNTeqcUK1LRG6KU=; b=mWIRqYkBQEXHnj8N1iqHbsRY5b0wT5AHV5qne6Tfv6R8m5MUoj+36a0ZC6skATqPVs+nFO nP+KrOpVP8KCInVIJX0UKraq92PPU3PoRT7FS9ynYFScCcFY4lXrhikhGBtiH1zy2g/JA7 kP4xXM3OVxRJlAQRmY1do9BFywm9JDrHjbmmfwoAJ3szbsRxXcsOaod185yu4Ia3OgF1bk 6lZNgSYL8/OqH9AWhRAlYw6Y146tLhy4bKaHc/5koBubY6MqIB8sBffLfYFxOHKNg/TV9w lN0Kpq8GMMuZ9KQHGzoTRHydTK8ueI3FNN4oz7pipKtWQu905Su+juQUp1Rhdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670931132; 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=CtUMgJw5I3hkGtrKKAsqL/xgAsTLBNTeqcUK1LRG6KU=; b=viQ774M0yw6f89In02PmTTkkQIm/+6YkwLk3jH/z4QnHG9G0cVyO5aPr/M7dptgXLhThCs 8hgjaYBt+JPkGCzrJkACR+50it5Oi/A27kwOr7egTcjEyTNNUCXRO7WQcNpsQa2/paihOJ 58el66ffcQG1lGuzVquo7guRpqXOgeNBUgvogkqPEEwqI65qIRkKe9+ccGUAVjV5yRvKCo PI5iHSexvKcIPdGPK0XK3ZV5M6ki9hZxY4WfUyu9B9oCxZi41VioqHbFlZ94GX8mBVUlB3 RA93QCpLGGzSouoqSnaWAP512C5vShWEbfEXydOuXyQqTfQrZvfIwAivFXE3cQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670931132; a=rsa-sha256; cv=none; b=M5vxce6NJB0e9rJQJ17aGmssPDbQStyhSQPz11tORDoVeJOQGV3IssiFePI8VfF81x9sNR 2RfHZGM0t9p0YDzAqm/b/LoV/JegrVxwj/K5f3k6QIQsUVGDLzraEZr+L0gesuwETraFkh 2iRt9FewylVT0WngX3TbMHEhQYVWIa72rlH5gX2naYuyExvC5OV6mVjGqOWcnS0VFmRijq bHHPZPPOYX19l9hCeJcPX0YzXAY1Z/dNv1YB1q4sKopO6neYZSbwCV4A7mUXZkEg9fL4dh 0vIVYWF31/4t+uhgulogkO4Pa4AUVzAY6EgBhgXP0hgBgVjtYMWLcggQsiP7og== 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 4NWbv02Mwkz1C19; Tue, 13 Dec 2022 11:32:12 +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 2BDBWCsc074619; Tue, 13 Dec 2022 11:32:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BDBWCPr074618; Tue, 13 Dec 2022 11:32:12 GMT (envelope-from git) Date: Tue, 13 Dec 2022 11:32:12 GMT Message-Id: <202212131132.2BDBWCPr074618@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: 1f514820ca83 - main - x11/hyprpicker: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 1f514820ca83f1576f5097792993e43cd0dafda6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f514820ca83f1576f5097792993e43cd0dafda6 commit 1f514820ca83f1576f5097792993e43cd0dafda6 Author: Jan Beich AuthorDate: 2022-11-20 10:37:39 +0000 Commit: Jan Beich CommitDate: 2022-12-13 11:30:39 +0000 x11/hyprpicker: add new port A wlroots-compatible Wayland color picker that does not suck. https://github.com/hyprwm/hyprpicker --- x11/Makefile | 1 + x11/hyprpicker/Makefile | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ x11/hyprpicker/distinfo | 3 +++ x11/hyprpicker/pkg-descr | 1 + 4 files changed, 54 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index f52ac9a06571..34345569ff43 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -111,6 +111,7 @@ SUBDIR += hs-xmobar SUBDIR += hsetroot SUBDIR += hyprpaper + SUBDIR += hyprpicker SUBDIR += i3blocks SUBDIR += i3lock-color SUBDIR += iceauth diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile new file mode 100644 index 000000000000..d7a49b652a5e --- /dev/null +++ b/x11/hyprpicker/Makefile @@ -0,0 +1,49 @@ +PORTNAME= hyprpicker +PORTVERSION= s20221120 +CATEGORIES= x11 wayland + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= wlroots-compatible Wayland color picker that does not suck +WWW= https://github.com/hyprwm/hyprpicker + +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= f6c24d9 +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 's/ libjpeg//' \ + -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/hyprpicker/distinfo b/x11/hyprpicker/distinfo new file mode 100644 index 000000000000..144a79a83632 --- /dev/null +++ b/x11/hyprpicker/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1668940659 +SHA256 (hyprwm-hyprpicker-s20221120-f6c24d9_GH0.tar.gz) = 29f73fe0ef09735b815f7459aa8ad42aa905f618a926531fd23ffe330a8ab8bb +SIZE (hyprwm-hyprpicker-s20221120-f6c24d9_GH0.tar.gz) = 20984 diff --git a/x11/hyprpicker/pkg-descr b/x11/hyprpicker/pkg-descr new file mode 100644 index 000000000000..efb137e6a874 --- /dev/null +++ b/x11/hyprpicker/pkg-descr @@ -0,0 +1 @@ +A wlroots-compatible Wayland color picker that does not suck.