# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 UVER= UREV=1 inherit ubuntu-versionator DESCRIPTION="Library to disable GTK client side decorations" HOMEPAGE="https://codeberg.org/MorsMortium/gtk-nocsd" SRC_URI="${SRC_URI} ${UURL}-${UREV}.debian.tar.xz" LICENSE="LGPL-2.1+ GPL-3+" SLOT="0" KEYWORDS="~amd64" RESTRICT="test" RDEPEND=" >=dev-libs/glib-2.54.0:2 >=sys-libs/glibc-2.34 " DEPEND=">=gui-libs/libadwaita-1.5" S="${WORKDIR}/${PN}" src_install() { emake \ DESTDIR="${D}" \ PREFIX=/usr \ DOCDIR=/usr/share/doc/"${PF}" \ NOOPT=1 \ install einstalldocs exeinto /etc/X11/xinit/xinitrc.d doexe "${FILESDIR}"/51-gtk-nocsd }