From nobody Tue Dec 13 11:32:13 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 4NWbv16YYjz4krlj; Tue, 13 Dec 2022 11:32:13 +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 4NWbv14BRkz3Hmq; Tue, 13 Dec 2022 11:32:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670931133; 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=p3IxJuFILudIq6WQEbR+RemWsoLTTeEI5LBKOb20sug=; b=EsWxmR84eF2xISH1dieKbrnao/WiFo9exm9enwqOEPi1cYUexlMKOae25OqHPJr++HKpBX R0Fv7HbEg32M2Xr/if7J3vjrXevdwK5KSiMvl+PCt8w/T6AMaErrxfc7OhO6Pg+VwkhFvQ Q6sNo+iQzgwnmKI4GcAckNePZgZ8xHqLmrZ3wTD2lanN/X4bDuUJFatgg0NPue92V+3IN1 BlH6CgHGWL2ilt9X1zg6CFtJIoJOC0kv+YFx9JYaMJmxX7Rllh1HmJvkRAmmZ/VziHvBT4 qD0aIJr+0JdY5677HHP8CK7nLoxw9NeGNWb/KbtkofWzdF7tnIBPWaeXonndyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670931133; 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=p3IxJuFILudIq6WQEbR+RemWsoLTTeEI5LBKOb20sug=; b=VPdYa+l1CfLkkVX3UfAq4Z3evjlTE3e3nTwGu44D/l3fdTK5lzKm7oqvHrclxlbxoKmcDk sehV4XwIYcHQ2RYr2FC6h/N4PYcDxmggg6yK53KxjGShJf3AJRhWSofxM0JSGR8eHNniaQ 2Dlt/sdqj0efRQThocVsQJg9gGe743pOiuHkpC2tgGI/kU4Pr/VzRpo5s1Csb7zuKUsZaE DVdksM6uCt/wnbe1A2o33ZdlE/6X3u0dlW60qPu+ZeS+2QRHU50hf7N1drq8iC3Fhek8bQ Zkpc4ws1nX2Xjar+hVQF4Nv51fuaiTGpfqjWiT/PgjK7vBXx614CBDy0w5E11w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670931133; a=rsa-sha256; cv=none; b=vEnISwhEW1lFymZyPKrdkw6wRmy+DASzQSWZuXU2c+qS2v4xgTS0xHlXWBAJ1KZ01usnIG mmpryHjg7FhZCBlMY5JIXWZxbgkPauDz3/Ek082GQdf9VshzBe5JUVituq+U/Gruc9VEp+ tvEcIEsV4u2eigQp6er5nRwCh1lpGeCM9FC3wTa00424cfcYJCe6Ius0vR2xa5hv3VEz5P 05tLbkVMWNS9rkjjxhNgQM6kSAmGNTg6nl2/F2ptZQYMDdx2FmyoubwEKho8kSoy1gmZJl YNEWcosXDMZkfqzdZk4Md/r/jj3hCVq3UuLqQiOkEDh9s1K5SBBmGMUqkefKDA== 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 4NWbv13JMzz1C6D; Tue, 13 Dec 2022 11:32:13 +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 2BDBWD4f074644; Tue, 13 Dec 2022 11:32:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BDBWDKI074643; Tue, 13 Dec 2022 11:32:13 GMT (envelope-from git) Date: Tue, 13 Dec 2022 11:32:13 GMT Message-Id: <202212131132.2BDBWDKI074643@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: 0afb6d6c2f6c - main - x11/xdg-desktop-portal-hyprland: 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: 0afb6d6c2f6c6a67bafd4c5dbe3732321f2a5470 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0afb6d6c2f6c6a67bafd4c5dbe3732321f2a5470 commit 0afb6d6c2f6c6a67bafd4c5dbe3732321f2a5470 Author: Jan Beich AuthorDate: 2022-12-13 00:55:12 +0000 Commit: Jan Beich CommitDate: 2022-12-13 11:30:39 +0000 x11/xdg-desktop-portal-hyprland: add new port Due to reasons explained in hyprland-protocols, we have a separate desktop portal impl for Hyprland. Although -wlr *does* work with Hyprland, -hyprland offers more features. --- x11/Makefile | 2 ++ x11/hyprland-share-picker/Makefile | 33 ++++++++++++++++++++++++++ x11/hyprland-share-picker/distinfo | 5 ++++ x11/hyprland-share-picker/pkg-descr | 1 + x11/xdg-desktop-portal-hyprland/Makefile | 39 +++++++++++++++++++++++++++++++ x11/xdg-desktop-portal-hyprland/distinfo | 5 ++++ x11/xdg-desktop-portal-hyprland/pkg-descr | 4 ++++ 7 files changed, 89 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 34345569ff43..7bed8e4f543d 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -110,6 +110,7 @@ SUBDIR += hhpc SUBDIR += hs-xmobar SUBDIR += hsetroot + SUBDIR += hyprland-share-picker SUBDIR += hyprpaper SUBDIR += hyprpicker SUBDIR += i3blocks @@ -470,6 +471,7 @@ SUBDIR += xconsole SUBDIR += xcursorgen SUBDIR += xcut + SUBDIR += xdg-desktop-portal-hyprland SUBDIR += xdg-desktop-portal-wlr SUBDIR += xdialog SUBDIR += xditview diff --git a/x11/hyprland-share-picker/Makefile b/x11/hyprland-share-picker/Makefile new file mode 100644 index 000000000000..904a000c896b --- /dev/null +++ b/x11/hyprland-share-picker/Makefile @@ -0,0 +1,33 @@ +PORTNAME= hyprland-share-picker +PORTVERSION= s20221213 +CATEGORIES= x11 wayland + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Share picker for xdg-desktop-portal-hyprland +WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC:H}/LICENSE + +FLAVORS= qt5 qt6 + +USES= compiler:c++11-lib cmake qt:5 +USE_GITHUB= yes +USE_QT= qmake:build buildtools:build core gui wayland:run widgets +GH_ACCOUNT= hyprwm +GH_PROJECT= xdg-desktop-portal-hyprland +GH_TAGNAME= 9fb4fae +WRKSRC_SUBDIR= ${PORTNAME} +LDFLAGS+= -Wl,--as-needed # GL +PLIST_FILES= bin/${PORTNAME} + +.if ${FLAVOR:U} == qt6 +PKGNAMESUFFIX= -${FLAVOR} +USES:= ${USES:S/qt:5/qt:6/} +USE_QT= base wayland:run +CONFLICTS_INSTALL= ${PORTNAME} +.else +CONFLICTS_INSTALL= ${PORTNAME}-qt6 +.endif + +.include diff --git a/x11/hyprland-share-picker/distinfo b/x11/hyprland-share-picker/distinfo new file mode 100644 index 000000000000..affe76e44189 --- /dev/null +++ b/x11/hyprland-share-picker/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1670892912 +SHA256 (hyprwm-xdg-desktop-portal-hyprland-s20221213-9fb4fae_GH0.tar.gz) = d845976ecd41be71562d29f408ca42101bf9890d2267a6ce21d5afde97a5eee1 +SIZE (hyprwm-xdg-desktop-portal-hyprland-s20221213-9fb4fae_GH0.tar.gz) = 44761 +SHA256 (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 3b3b4e948525f1d823313390b2551ea8969d0cbf82bd72e2a4a2ce2750552330 +SIZE (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 4852 diff --git a/x11/hyprland-share-picker/pkg-descr b/x11/hyprland-share-picker/pkg-descr new file mode 100644 index 000000000000..8ca48a6ed474 --- /dev/null +++ b/x11/hyprland-share-picker/pkg-descr @@ -0,0 +1 @@ +Share picker for xdg-desktop-portal-hyprland. diff --git a/x11/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile new file mode 100644 index 000000000000..13fdb7ca3dbf --- /dev/null +++ b/x11/xdg-desktop-portal-hyprland/Makefile @@ -0,0 +1,39 @@ +PORTNAME= xdg-desktop-portal-hyprland +PORTVERSION= s20221213 +CATEGORIES= x11 wayland + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= xdg-desktop-portal backend for hyprland +WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= wayland-protocols>=1.24:graphics/wayland-protocols +LIB_DEPENDS= libbasu.so:devel/basu \ + libinih.so:devel/inih \ + libepoll-shim.so:devel/libepoll-shim \ + libdrm.so:graphics/libdrm \ + libwayland-client.so:graphics/wayland \ + libpipewire-0.3.so:multimedia/pipewire +RUN_DEPENDS= grim:x11/grim \ + hyprland-share-picker:x11/hyprland-share-picker + +USES= compiler:c11 gl meson pkgconfig +USE_GITHUB= yes +USE_GL= gbm +GH_ACCOUNT= hyprwm +GH_TAGNAME= 9fb4fae +GH_TUPLE= hyprwm:hyprland-protocols:301733a:hyprland_protocols/protocols/hyprland-protocols +MESON_ARGS= -Dsd-bus-provider=basu +PLIST_FILES= libexec/${PORTNAME} \ + share/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service \ + share/xdg-desktop-portal/portals/hyprland.portal + +OPTIONS_DEFINE= SLURP +OPTIONS_DEFAULT=SLURP + +SLURP_DESC= Simple output chooser +SLURP_RUN_DEPENDS= slurp:x11/slurp + +.include diff --git a/x11/xdg-desktop-portal-hyprland/distinfo b/x11/xdg-desktop-portal-hyprland/distinfo new file mode 100644 index 000000000000..affe76e44189 --- /dev/null +++ b/x11/xdg-desktop-portal-hyprland/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1670892912 +SHA256 (hyprwm-xdg-desktop-portal-hyprland-s20221213-9fb4fae_GH0.tar.gz) = d845976ecd41be71562d29f408ca42101bf9890d2267a6ce21d5afde97a5eee1 +SIZE (hyprwm-xdg-desktop-portal-hyprland-s20221213-9fb4fae_GH0.tar.gz) = 44761 +SHA256 (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 3b3b4e948525f1d823313390b2551ea8969d0cbf82bd72e2a4a2ce2750552330 +SIZE (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 4852 diff --git a/x11/xdg-desktop-portal-hyprland/pkg-descr b/x11/xdg-desktop-portal-hyprland/pkg-descr new file mode 100644 index 000000000000..679d78190620 --- /dev/null +++ b/x11/xdg-desktop-portal-hyprland/pkg-descr @@ -0,0 +1,4 @@ +Due to reasons explained in hyprland-protocols, we have a separate +desktop portal impl for Hyprland. + +Although -wlr *does* work with Hyprland, -hyprland offers more features.