Skip to content

Commit

Permalink
x11/xdg-desktop-portal-hyprland: switch to upstream patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich committed Sep 9, 2023
1 parent eb03211 commit ea74fe0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 3 additions & 7 deletions x11/xdg-desktop-portal-hyprland/Makefile
Expand Up @@ -3,6 +3,9 @@ DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
CATEGORIES= x11 wayland

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 676571b2c042.patch:-p1 # https://github.com/hyprwm/xdg-desktop-portal-hyprland/pull/84

MAINTAINER= jbeich@FreeBSD.org
COMMENT= xdg-desktop-portal backend for hyprland
WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland
Expand Down Expand Up @@ -38,13 +41,6 @@ PLIST_FILES= libexec/${PORTNAME} \
CXXFLAGS+= -D_LIBCPP_ENABLE_EXPERIMENTAL # std::vformat
.endif

post-patch:
# Drop unused dependencies
@${REINPLACE_CMD} -e '/cairo/d' \
-e '/jpeg/d' \
-e '/pango/d' \
${WRKSRC}/src/meson.build

.ifdef GH_TUPLE
post-configure:
@${REINPLACE_CMD} 's/meson install/& \
Expand Down
2 changes: 2 additions & 0 deletions x11/xdg-desktop-portal-hyprland/distinfo
Expand Up @@ -5,3 +5,5 @@ SHA256 (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 106cb189d0fbe4ec0ee11a12a17
SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342
SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271
SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803
SHA256 (676571b2c042.patch) = d08646a35d8c71c98c077e056e9d6d9313d95025bc51216aa7db83f2c26165ca
SIZE (676571b2c042.patch) = 2232

0 comments on commit ea74fe0

Please sign in to comment.