x11/xdg-desktop-portal-hyprland: switch to upstream patch

This commit is contained in:
Jan Beich 2023-09-09 03:24:17 +02:00
parent eb032111a3
commit ea74fe0de0
2 changed files with 5 additions and 7 deletions

View file

@ -3,6 +3,9 @@ DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0 DISTVERSION= 1.0.0
CATEGORIES= x11 wayland 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 MAINTAINER= jbeich@FreeBSD.org
COMMENT= xdg-desktop-portal backend for hyprland COMMENT= xdg-desktop-portal backend for hyprland
WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland
@ -38,13 +41,6 @@ PLIST_FILES= libexec/${PORTNAME} \
CXXFLAGS+= -D_LIBCPP_ENABLE_EXPERIMENTAL # std::vformat CXXFLAGS+= -D_LIBCPP_ENABLE_EXPERIMENTAL # std::vformat
.endif .endif
post-patch:
# Drop unused dependencies
@${REINPLACE_CMD} -e '/cairo/d' \
-e '/jpeg/d' \
-e '/pango/d' \
${WRKSRC}/src/meson.build
.ifdef GH_TUPLE .ifdef GH_TUPLE
post-configure: post-configure:
@${REINPLACE_CMD} 's/meson install/& \ @${REINPLACE_CMD} 's/meson install/& \

View file

@ -5,3 +5,5 @@ SHA256 (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 106cb189d0fbe4ec0ee11a12a17
SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342 SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342
SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271 SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271
SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803 SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803
SHA256 (676571b2c042.patch) = d08646a35d8c71c98c077e056e9d6d9313d95025bc51216aa7db83f2c26165ca
SIZE (676571b2c042.patch) = 2232