x11-misc/gtk3-nocsd - 9999 (haarp)

Search

Install

Install this version:

emerge -a =x11-misc/gtk3-nocsd-9999

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

autounmask =x11-misc/gtk3-nocsd-9999

Or alternatively:

emerge --autounmask-write -a =x11-misc/gtk3-nocsd-9999

Package Information

Description:
Hack to disable GTK+-3 client-side decorations (ZaWertun fork)
Homepage:
https://github.com/ZaWertun/gtk3-nocsd
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 7 ~amd64 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit multilib git-r3

DESCRIPTION="Hack to disable GTK+-3 client-side decorations (ZaWertun fork)"
HOMEPAGE="https://github.com/ZaWertun/gtk3-nocsd"

EGIT_REPO_URI="https://github.com/ZaWertun/gtk3-nocsd.git"

SLOT="0"
KEYWORDS="~amd64"
IUSE=""
LICENSE="GPL-2"

DEPEND="x11-libs/gtk+:3"
RDEPEND="${DEPEND}"

src_install() {
	# maybe also consider /debian/extra from Ubuntu pkg like the Unity overlay ebuild?

	emake prefix="${D}/usr" libdir="${D}/usr/$(get_libdir)" install

	einfo "Add to your ~/.profile and re-login:"
	einfo "    export GTK_CSD=0"
	einfo "    export LD_PRELOAD=\"${EROOT%/}/usr/$(get_libdir)/libgtk3-nocsd.so.0 \$LD_PRELOAD\""
	einfo "Or prefix your commands with:"
	einfo "    gtk3-nocsd"
	einfo "Use GTK3NOCSD_SHOW_HEADER to control whether headers are shown."
}

Inherited Eclasses

Dependencies

DEPEND

x11-libs/gtk+:3

RDEPEND

x11-libs/gtk+:3