34 lines
660 B
Bash
34 lines
660 B
Bash
# Copyright 2026 Shin'ya Minazuki
|
|
EAPI=8
|
|
|
|
inherit git-r3
|
|
|
|
DESCRIPTION="A hack to disable client-side decorations for GTK+3 programs"
|
|
HOMEPAGE="https://github.com/PCMan/gtk3-nocsd"
|
|
EGIT_REPO_URI="https://github.com/PCMan/gtk3-nocsd"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
|
|
DEPEND="
|
|
dev-libs/glib:2
|
|
dev-libs/gobject-introspection
|
|
x11-libs/gtk+:3
|
|
"
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
DOCS=( README.md )
|
|
|
|
src_compile() {
|
|
# The assorted script uses the value of libdir for LD_PRELOAD
|
|
emake libdir="${EPREFIX}/usr/$(get_libdir)"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="${EPREFIX}/usr/$(get_libdir)" install
|
|
}
|