mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
gui-libs/xdg-desktop-portal-hyprland: add 1.3.11
Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST xdg-desktop-portal-hyprland-1.3.11.tar.gz 51615 BLAKE2B e03677226d820b93a55c92dda96a717f0141262f3f74cb2a90b2e11b6fc7407f70e06786e3b4798e3178b16565d122c27c793e21b9647422d7839de3fd87a022 SHA512 cb2ac4372172f3a222efdf92061158e5d6092508a3113d8e9bb24e226199251f2e3d9e707f9445a00e7603e7210d2752dc7fc449aa0abc08c5fb4a827921c028
|
||||
DIST xdg-desktop-portal-hyprland-1.3.9.tar.gz 50667 BLAKE2B 581013bd3bfc2c38f17624cee3a6bc759c88db50d67e0de7031d1ee7cf4cf906238a176f26d12a8f2ae5a88caf983dfdd119d7919bfe2481c9a140d3f8b9ebd8 SHA512 2a157d406b63371b0594a679622e113379a326ef68a02163aa5c0b14703c2472f972d080ff146d401c87e084bbfdbc4133768792d4996c2d2ad45ca6db8ccc1e
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
DESCRIPTION="xdg-desktop-portal backend for Hyprland"
|
||||
HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/hyprwm/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="elogind systemd"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-cpp/sdbus-c++-2.0.0
|
||||
dev-libs/hyprlang:=
|
||||
dev-libs/inih
|
||||
dev-libs/wayland
|
||||
dev-qt/qtbase:6[gui,widgets]
|
||||
dev-qt/qtwayland:6
|
||||
gui-libs/hyprutils:=
|
||||
media-libs/mesa
|
||||
>=media-video/pipewire-1.2.0:=
|
||||
x11-libs/libdrm
|
||||
|| (
|
||||
sys-libs/basu
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-apps/xdg-desktop-portal
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-libs/hyprland-protocols
|
||||
>=dev-libs/wayland-protocols-1.24
|
||||
>=dev-util/hyprwayland-scanner-0.4.2
|
||||
virtual/pkgconfig
|
||||
|| ( >=sys-devel/gcc-14:* >=llvm-core/clang-17:* )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if tc-is-gcc && ver_test $(gcc-version) -lt 14 ; then
|
||||
eerror "XDPH needs >=gcc-14 or >=clang-17 to compile."
|
||||
eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
|
||||
die "GCC version is too old to compile XDPH!"
|
||||
elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
|
||||
eerror "XDPH needs >=gcc-14 or >=clang-17 to compile."
|
||||
eerror "Please upgrade Clang: emerge -v1 llvm-core/clang"
|
||||
die "Clang version is too old to compile XDPH!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
Reference in New Issue
Block a user