gui-libs/libdecor: A client-side decorations library for Wayland clients

This commit is contained in:
Yachen Wang 2023-04-07 20:18:53 +08:00 committed by 梁永祥
parent ce212d9317
commit 494aed3e52
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST libdecor-0.1.1.tar.bz2 37286 BLAKE2B 32a0ef9711fc0b830f2b2997a05e2ac8ce60ef6f972d8a4c17cebe987b49828c81f3888e42dde0627ce71dbc825ddfd336be3f591ca1f76168c3efd13c2e24ae SHA512 3a5a293a58d40a1d5377912c90ede7670caffbb6b4539ffb00f33667fd84ecaf8a90e05100ddc22c4af34482aac8d2deb67ba25ddbede67e7952b1054e359409

View File

@ -0,0 +1,42 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="A client-side decorations library for Wayland clients"
HOMEPAGE="https://gitlab.freedesktop.org/libdecor/libdecor"
SRC_URI="https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${PV}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+dbus examples"
DEPEND="
>=dev-libs/wayland-1.18
>=dev-libs/wayland-protocols-1.15
x11-libs/pango
dbus? ( sys-apps/dbus )
examples? (
virtual/opengl
media-libs/mesa[egl(+)]
x11-libs/libxkbcommon
)
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
local emesonargs=(
# Avoid auto-magic, built-in feature of meson
-Dauto_features=disabled
$(meson_feature dbus)
$(meson_use examples demo)
-Dinstall_demo=true
)
meson_src_configure
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="freedesktop-gitlab">libdecor/libdecor</remote-id>
</upstream>
<maintainer type="person">
<email>OriPoin@outlook.com</email>
<name>Yachen Wang</name>
</maintainer>
<use>
<flag name="dbus">Enable dbus to query current cursor theme </flag>
<flag name="examples">Build and install examples</flag>
</use>
</pkgmetadata>