mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-cpp/waylandpp: Depend on libglvnd rather than mesa[wayland]
I can find no evidence that this depends specifically on Mesa. It depends on EGL/egl.h in one place, not counting the examples, which we don't build. You'll probably need Mesa in practise, but leave that to the compositor. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
41
dev-cpp/waylandpp/waylandpp-1.0.1-r1.ebuild
Normal file
41
dev-cpp/waylandpp/waylandpp-1.0.1-r1.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Wayland C++ bindings"
|
||||
HOMEPAGE="https://github.com/NilsBrause/waylandpp"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
IUSE="doc"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/NilsBrause/waylandpp.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/NilsBrause/waylandpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/pugixml-1.9-r1
|
||||
>=dev-libs/wayland-1.11.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
media-libs/libglvnd
|
||||
doc? (
|
||||
app-text/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DOCUMENTATION=$(usex doc)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -9,23 +9,23 @@ DESCRIPTION="Wayland C++ bindings"
|
||||
HOMEPAGE="https://github.com/NilsBrause/waylandpp"
|
||||
|
||||
LICENSE="MIT"
|
||||
IUSE="doc"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
IUSE="doc"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/NilsBrause/waylandpp.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/NilsBrause/waylandpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/wayland-1.11.0
|
||||
media-libs/mesa[wayland]
|
||||
>=dev-libs/pugixml-1.9-r1
|
||||
>=dev-libs/wayland-1.11.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
media-libs/libglvnd
|
||||
doc? (
|
||||
app-text/doxygen
|
||||
media-gfx/graphviz
|
||||
|
||||
Reference in New Issue
Block a user