blob: 87718a586671489371f87be48cc4df8329444bb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Graphical version of su written in C and GTK+ 2"
HOMEPAGE="https://github.com/nomius/ktsuss/"
SRC_URI="https://github.com/nomius/ktsuss/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~mips ppc ppc64 x86"
IUSE="sudo"
RDEPEND="
x11-libs/gtk+:2
dev-libs/glib:2
sudo? ( app-admin/sudo )
!sudo? (
|| (
sys-apps/util-linux[su]
sys-apps/shadow[su]
)
)"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( Changelog CREDITS README.md )
PATCHES=(
"${FILESDIR}"/${P}-clang16.patch
"${FILESDIR}"/${P}-no-which.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf $(use_enable sudo)
}
|