x11-misc/gtk-nocsd - 4.7 (gentoo-unity7)

Search

Install

Install this version:

emerge -a =x11-misc/gtk-nocsd-4.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-misc/gtk-nocsd-4.7

Or alternatively:

emerge --autounmask-write -a =x11-misc/gtk-nocsd-4.7

Package Information

Description:
Library to disable GTK client side decorations
Homepage:
https://codeberg.org/MorsMortium/gtk-nocsd
License:
LGPL-2.1+ GPL-3+

Ebuild Details

Version EAPI Keywords Slot
4.7 8 ~amd64 0
View Raw Ebuild
# 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}"

PATCHES=( "${FILESDIR}"/4da818c17b6923bbf2c736d3eb2eed063dc475af.patch )

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
}

Inherited Eclasses

Dependencies

DEPEND

>=gui-libs/libadwaita-1.5

RDEPEND

	>=dev-libs/glib-2.54.0:2
	>=sys-libs/glibc-2.34