Files
guru/gui-libs/libdecor/libdecor-0.1.1.ebuild
Gonçalo Negrier Duarte 174629c695 gui-libs/libdecor: new package, add 0.1.1, 9999
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
2023-07-14 15:22:55 +01:00

43 lines
847 B
Bash

# 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
}