1
0

media-libs/glfw: treeclean

This commit is contained in:
Puqns67 2024-12-28 18:42:37 +08:00
parent ab785a7d25
commit b1b85e11a5
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
3 changed files with 0 additions and 57 deletions

View File

@ -1 +0,0 @@
DIST glfw-3.4.tar.gz 936948 BLAKE2B f8f93e15d96ffc3f5c49bef7336ac49ae5ed3d1d12f405d152e1d37cda0d2091f025812c99d617210690d2b1fbf3fda6b6d50d3569b81fcd54944a63afd258ab SHA512 39ad7a4521267fbebc35d2ff0c389a56236ead5fa4bdff33db113bd302f70f5f2869ff4e6db1979512e1542813292dff5a482e94dfce231750f0746c301ae9ed

View File

@ -1,41 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Portable OpenGL FrameWork"
HOMEPAGE="https://www.glfw.org/"
SRC_URI="https://github.com/glfw/glfw/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86"
IUSE="+wayland"
RDEPEND="
media-libs/libglvnd
wayland? ( dev-libs/wayland )
"
DEPEND="
${RDEPEND}
wayland? (
dev-libs/wayland-protocols
x11-libs/libxkbcommon
)
"
BDEPEND="
wayland? (
dev-util/wayland-scanner
kde-frameworks/extra-cmake-modules
)
"
src_configure() {
local mycmakeargs=(
-D GLFW_BUILD_X11=no
-D GLFW_BUILD_WAYLAND=$(usex wayland)
)
cmake_src_configure
}

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>me@puqns67.icu</email>
<name>Puqns67</name>
</maintainer>
<upstream>
<remote-id type="github">glfw/glfw</remote-id>
<changelog>https://www.glfw.org/changelog.html</changelog>
</upstream>
<use>
<flag name="wayland">Enable wayland support</flag>
</use>
</pkgmetadata>